On Tuesday, 12 January 2016 at 18:27:15 UTC, John Colvin wrote:
P.S. This is not just about floats!

This also affects any custom numeric type which should be comparable with float - while working on a checked integer type for Phobos, one of the (minor) problems I have run into is that it is impossible to reproduce the comparison behaviour of the built-in integers with respect to floating-point values - even though the latest version of my checked integer type actually has no "NaN" state of its own.

Reply via email to