Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

from math import ceil imports ceil function from Python's math module. So this bug (probably related to an overflow in 3**38) has nothing to do with Sage.

If you want ceil function from Sage, use from sage.all import ceil instead.

from math import ceil imports ceil function from Python's math module. So this bug (probably related to an overflow in the float type resulting from division of 3**38) has nothing to do with Sage.

If you want ceil function from Sage, use from sage.all import ceil instead.

from math import ceil imports ceil function from Python's math module. So this bug (probably related to an overflow in insufficient precision of the float type number resulting from division of 3**38) has nothing to do with Sage.

If you want ceil function from Sage, use from sage.all import ceil instead.