I just compiled and tested sage on a machine that I haven't run it on
before, and got the following puzzling error:

sage -t  devel/sage-main/sage/rings/real_mpfr.pyx
**********************************************************************
File "real_mpfr.pyx", line 1471:
    sage: RealField(5)(-pi).exact_rational()
Expected:
    -25/8
Got:
    1610612736
**********************************************************************

It works fine now, by which I mean, the test passes if I manually run

./sage -t  devel/sage-main/sage/rings/real_mpfr.pyx

and the following also works correctly:

sage: RealField(5)(-pi)                 
-3.1
sage: RealField(5)(-pi).exact_rational()
-25/8


Perhaps the error indicates a hardware failure (this is an old, battered
laptop) but I thought I would report it anyway. For reference,
from /proc/cpuinfo:

processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 6
model name      : mobile AMD Athlon(tm) 4 1600+
stepping        : 2
cpu MHz         : 498.364
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca
cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips        : 997.70

I'm running 'make test' again, and might try to do some hardware tests.
I'll send another email if anything funny comes up.


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to