On Jan 4, 2008 9:19 AM, Guido van Rossum <guido at python.org> wrote: > We should make sure inf and nan are treated correctly by the new > round(), floor() and ceil() in 3.0 -- it looks like right now > round(nan) returns 0, but it should raise ValueError. (Also, Jeffrey, > I thought math.floor() was to return an int? Or do I misremember?) That's correct. It's currently broken, but I was waiting to push on http://bugs.python.org/issue1656 until the backport was figured out. -- Namasté, Jeffrey Yasskin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4