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

py/modmath: Allow trunc/ceil/floor to return a big int if necessary.

Previous to this patch, if the result of the trunc/ceil/floor functions
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 f64a3e29
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment