Alexandr Druzhinin:

I'm not sure, but I suspect this is because of 80-bit intermediary float point operation result.

Maybe D uses higher precision FP values in some of those intermediate computations. In general float is useful if you have to store many of them, for storage reasons (reduce memory use, reduce cache pressure), but otherwise for computations in a functions it's better to use doubles.

Bye,
bearophile

Reply via email to