On Fri, Nov 29, 2019 at 8:30 AM Brandt Bucher <brandtbuc...@gmail.com>
wrote:

> 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!
>

Exactly -- while a tiny bit handy for ints, floats are where it is really
*needed*.

And back to Guido's point -- while called "math", the math module really is
a "float_math" module. It began as a wrapper around the C math library, and
while it has grown a number of Python specific functions, I'm pretty sure
all the ones that reflect C math functions are essentially unchanged, and
it should probably stay that way.

-CHB


-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/HGRTJR75V6JW2JZB2PEPW2TPKEB4MSRY/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to