News for hackers. Stuff that matters.
Re:GCC optimized code gives strange floating point results by Sharlin on Monday February 27, 2017 @04:07AM (#13742912)
I do wonder why they didn't special-case std::less for floats. They already did it for pointers - operator< for pointers isn't even defined, much less a strict weak order, if the operands do not point to the same object (region of storage). This is in order to facilitate non-flat addressing schemes. std::less, however, is explicitly specified to work with any pair of pointers.

There are no comments on this comment yet.