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!
On Nov 28, 2019, at 21:36, Guido van Rossum firstname.lastname@example.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.