Editions Ideas

Walter Bright newshound2 at digitalmars.com
Thu Dec 18 05:04:27 UTC 2025


On 12/14/2025 8:02 PM, Timon Gehr wrote:
> To be fair, D does have a broken floating point implementation.

Only insofar as the x87's implementation.


> Which then by the D spec does not matter because D is actually allowed to 
> randomly use the wrong floating point types and introduce additional conversions 
> and rounding imprecision.

This was fixed a few years ago, excepting that we do what everyone else does 
with the x87.


> Here's another recent complaint:
> https://forum.dlang.org/thread/hvftxmrqvrmficcvlkqi@forum.dlang.org

Different compilers have different long double sizes.

None of that has anything to do with NaN behavior.


More information about the Digitalmars-d mailing list