3 ms·
The NCEG (Numerical C Extensions Group) proposed a complete set of floating point operators for all combinations of NAN and <, ==, and >. I implemented them in
by WalterBright 9y ago
The NCEG (Numerical C Extensions Group) proposed a complete set of floating point operators for all combinations of NAN and <, ==, and >. I implemented them in Digital Mars C++, and nobody used them. I also implemented them in the D programming language, and there is simply no interest in it.
https://dlang.org/spec/expression.html#floating-point-comparisons https://dlang.org/spec/expression.html#floating-point-compar...
- jstimpfle 9y agoI researched a little bit into to this question - this might be interesting: https://stackoverflow.com/a/43773235/1073695 https://stackoverflow.com/a/43773235/1073695