You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is that Integer(2^40) is evaluated to 0 on 32 bit systems (maybe due to Cython folding constants?). The attached patch uses a long constant instead. Tested to work on 32 and 64 bit boxen.
./sage -t "devel/sage/sage/functions/prime_pi.pyx"
sage -t "devel/sage/sage/functions/prime_pi.pyx"
[48.1 s]
----------------------------------------------------------------------
All tests passed!
Total time for all tests: 48.1 seconds
Jaap
The issue is that
Integer(2^40)
is evaluated to 0 on 32 bit systems (maybe due to Cython folding constants?). The attached patch uses a long constant instead. Tested to work on 32 and 64 bit boxen.Cheers,
Michael
Component: doctest coverage
Issue created by migration from https://trac.sagemath.org/ticket/5981
The text was updated successfully, but these errors were encountered: