29 Nov
2019
29 Nov
'19
9:56 p.m.
Yep. It’s also the only way that I know of to get the sign of a NaN. We can’t even parse the repr for that! Brandt
On Nov 28, 2019, at 21:36, Guido van Rossum <guido@python.org> wrote: I suspect the only reason it exists as a builtin is that it handles -0.0 correctly. But that's really only of interest to people doing serious floating point stuff.