#5981: [with patch, positive review] Sage 3.4.2: prime_pi() broken on 32 bit
----------------------+-----------------------------------------------------
Reporter: mabshoff | Owner: mabshoff
Type: defect | Status: closed
Priority: blocker | Milestone: sage-3.4.2
Component: doctest | Resolution: fixed
Keywords: |
----------------------+-----------------------------------------------------
Description changed by mabshoff:
Old description:
> 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
New description:
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
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5981#comment:5>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---