Re:Operator constraints in Go
by jeffbee on Monday May 23, 2022 @03:41PM
(#31483967)
The entire C++ STL is a huge footgun for this very reason. None of the algorithms work on floats unless you guarantee the absence of NaN (which the STL assumes without being terribly vocal about it).
[ Parent
| on HN ]
There are no comments on this comment yet.