OT: floats

Walter Bright newshound2 at digitalmars.com
Sat May 25 07:47:13 UTC 2024


On 5/24/2024 11:52 PM, Timon Gehr wrote:
> It was avoidable, as even the x87 allows controlling the mantissa size (which is 
> insufficient but "more" correct) or flushing floats and doubles to memory.

Flushing it to memory was correct but was terribly slow.


> D compilers are allowed by the spec e.g. to use 64-bit XMM registers to compute 
> with 32-bit float intermediates, with incorrect rounding behavior.

Nobody implemented that.



More information about the dip.development mailing list