#12171: Update MPFI to 1.5.1
-------------------------------+--------------------------------------------
Reporter: mhansen | Owner: tbd
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-5.0
Component: packages | Keywords: sd35
Work_issues: | Upstream: N/A
Reviewer: François Bissey | Author: Mike Hansen, Paul Zimmermann,
Jean-Pierre Flori
Merged: | Dependencies: #12131
-------------------------------+--------------------------------------------
Comment(by fbissey):
I get (64 bit linux)
{{{
----------------------------------------------------------------------
| Sage Version 5.0.beta1, Release Date: 2012-01-22 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: RealIntervalField(53)(-1) > RR(1)
False
sage: RealIntervalField(54)(-1) > RR(1)
False
sage: (RealField(2000)(-19/3).gamma() -
RealIntervalField(1000)(-19/3).gamma())
0.?e-302
sage: 0 in (RealField(2000)(-19/3).gamma() -
RealIntervalField(1000)(-19/3).gamma())
True
}}}
On OS X 10.5.8 (32bit):
{{{
BlueFerniMac1:sage-5.0.beta1 frb15$ ./sage -t -long -force_lib
devel/sage/sage/rings/real_mpfi.pyx
sage -t -long -force_lib "devel/sage/sage/rings/real_mpfi.pyx"
**********************************************************************
File
"/Users/frb15/Desktop/sage-5.0.beta1/devel/sage/sage/rings/real_mpfi.pyx",
line 4143:
sage: 0 in (RealField(2000)(-19/3).gamma() -
RealIntervalField(1000)(-19/3).gamma())
Expected:
True
Got:
False
**********************************************************************
1 items had failures:
1 of 19 in __main__.example_117
***Test Failed*** 1 failures.
For whitespace errors, see the file
/Users/frb15/.sage//tmp/real_mpfi_78068.py
[2.9 s]
}}}
and
{{{
BlueFerniMac1:sage-5.0.beta1 frb15$ ./sage
----------------------------------------------------------------------
| Sage Version 5.0.beta1, Release Date: 2012-01-22 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
**********************************************************************
* *
* Warning: this is a prerelease version, and it may be unstable. *
* *
**********************************************************************
sage: RealIntervalField(53)(-1) > RR(1)
False
sage: RealIntervalField(54)(-1) > RR(1)
True
sage: (RealField(2000)(-19/3).gamma() -
RealIntervalField(1000)(-19/3).gamma())
1.1?e-303
sage: 0 in (RealField(2000)(-19/3).gamma() -
RealIntervalField(1000)(-19/3).gamma())
False
}}}
so there are differences of behavior between 32 and 64 bit naively.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12171#comment:62>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.