Ask Your Question

Revision history [back]

Numpy integer are limited precision but not Sage integers:

sage: two = numpy.int64(2)
sage: sage: two ** 125
-9223372036854775808

sage: two = 2
sage: two ** 125
42535295865117307932921825928971026432

Numpy integer are limited precision but not Sage integers:

sage: two = numpy.int64(2)
sage: sage: two ** 125
-9223372036854775808

sage: two = 2
sage: two ** 125
42535295865117307932921825928971026432