The NaN of types (in D)
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Mon Oct 12 14:19:07 UTC 2020
On Monday, 12 October 2020 at 14:11:22 UTC, Paul Backus wrote:
> By contrast, NaN will not crash your program if you forget to
> check for it before using it in an expression.
That depends. It is not uncommon to have two sets of floating
point operations with/without exceptions. You also have something
called signalling NaN (sNaN).
Anyway, the correctness issues in floating point expressions are
quiet complicated in reality.
More information about the Digitalmars-d
mailing list