Opened 14 years ago
Closed 14 years ago
#5980 closed defect (duplicate)
In sage-3.4.2.final on 32 bits there is a failure in prime_pi()
Reported by: | jsp | Owned by: | mabshoff |
---|---|---|---|
Priority: | blocker | Milestone: | sage-duplicate/invalid/wontfix |
Component: | basic arithmetic | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | N/A | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
On May 4, 9:07 am, Jaap Spies <j.sp...@hccnet.nl> 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
Change History (1)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|---|
Milestone: | sage-4.0 → sage-duplicate/invalid/wontfix |
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Ahh, I looked at the timeline to make sure there wasn't a ticket already, but Jaap did open this more or less at the same time. And he beat me to it, but since I attached a workaround patch to #5981 I am closing this one as a dupe ;)
Cheers,
Michael