Floating-Point arithmetic in dlang - Difference to other languages

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Dec 3 11:12:12 UTC 2019

On Tuesday, 3 December 2019 at 09:52:18 UTC, mipri wrote:
> Most other languages give you the double result for very
> reasonable historical reasons

Not only historical, it is also for numerical reasons. You can 
get very unpredictable results if you do compares and compiletime 
evalution is different from runtime evaluation.

More information about the Digitalmars-d-learn mailing list