STINNER Victor <vstin...@python.org> added the comment:

I chose to make y mandatory in nextafter(x, y). Implement your own flavor if 
nextUp(x) if you want to omit y. I prefer to make y explicit, becauseit has 
been said in this discussion that "nextafter" name is ambiguous.

Thanks all for the constructive discussion. I merged my PR reviewed by Mark. 
Enjoy IEEE 754 and have fun with rounding!

----------
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to