[Python-ideas] math.nextafter

Chris Barker - NOAA Federal chris.barker at noaa.gov
Fri Feb 24 20:11:41 EST 2017

On Feb 24, 2017, at 10:28 AM, Mahmoud Hashemi <mahmoud at hatnote.com> wrote:

By the way, it looks like math doesn't have machine epsilon either:
> https://en.wikipedia.org/wiki/Machine_epsilon
> Pretty sure machine epsilon is in the sys module's float_info object.

Ahh, thanks! I though I remembered it was somewhere.

Or are you saying it would be handy to alias sys.float_info.epsilon over to
the math module too?

That might be a good idea, yes. Particularly if other related functions are
added as being discussed.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170224/579ee47f/attachment.html>

More information about the Python-ideas mailing list