Skip to content
Snippets Groups Projects
Commit c236ebfe authored by Damien George's avatar Damien George
Browse files

py/modbuiltins: Allow round() to return a big int if necessary.

Previous to this patch, if the result of the round function overflowed a
small int, or was inf or nan, then a garbage value was returned.  With
this patch the correct big-int is returned if necessary and exceptions are
raised for inf or nan.
parent 125eae1b
Branches
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment