#5980: In sage-3.4.2.final on 32 bits there is a failure in prime_pi()
------------------------------+---------------------------------------------
Reporter: jsp | Owner: mabshoff
Type: defect | Status: new
Priority: blocker | Milestone: sage-4.0
Component: basic arithmetic | Keywords:
------------------------------+---------------------------------------------
{{{
On May 4, 9:07 am, Jaap Spies <[email protected]> wrote:
> > mabshoff wrote:
>> > > Hello folks,
<SNIP>
>> > > Please build, test and report issues as usual.
> >
> > On Fedora 9, 32 bit upgraded from alpha0 -> rc0-> sage-3.4.2
> > and on Fedora 10, 32 bit upgraded from rc0 I get tons
> > of failures with prime_pi, e.g.:
> >
> > sage -t "devel/sage/sage/functions/prime_pi.pyx"
> > **********************************************************************
> > File
"/home/jaap/Download/sage-3.4.2.rc0/devel/sage/sage/functions/prime_pi.pyx",
line 74:
> > sage: prime_pi(7)
> > Exception raised:
> > Traceback (most recent call last):
> > File
"/home/jaap/Download/sage-3.4.2.rc0/local/bin/ncadoctest.py", line 1231,
in run_one_test
> > self.run_one_example(test, example, filename, compileflags)
> > File
"/home/jaap/Download/sage-3.4.2.rc0/local/bin/sagedoctest.py", line 38, in
run_one_example
> > OrigDocTestRunner.run_one_example(self, test, example,
filename, compileflags)
> > File
"/home/jaap/Download/sage-3.4.2.rc0/local/bin/ncadoctest.py", line 1172,
in run_one_example
> > compileflags, 1) in test.globs
> > File "<doctest __main__.example_3[2]>", line 1, in <module>
> > prime_pi(Integer(7))###line 74:
> > sage: prime_pi(7)
> > File "prime_pi.pyx", line 175, in
sage.functions.prime_pi.PrimePi.__call__ (sage/functions/prime_pi.c:1101)
> > NotImplementedError: computation of prime_pi() greater 2**40 not
implemented
> >
Arrg, this is cause by Integer(2**40) on 32 bit systems being "0" in
Cython. I didn't use any long representation of 2^40 to avoid running
into 32 vs. 64 bit issues. Oh well, please open a ticket, I guess
there will be another "final" 3.4.2 tarball :(
> > Jaap
Cheers,
Michael
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5980>
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
-~----------~----~----~----~------~----~------~--~---