#11666: Upgrade MPFR to 3.1.0
--------------------------------+-------------------------------------------
Reporter: leif | Owner: leif
Type: enhancement | Status: needs_info
Priority: major | Milestone: sage-5.0
Component: packages | Keywords: sd32 MPFR spkg wishlist
sd35.5
Work_issues: correct doctests | Upstream: N/A
Reviewer: Paul Zimmermann | Author: Mike Hansen, Jean-Pierre
Flori
Merged: | Dependencies: #12171
--------------------------------+-------------------------------------------
Comment(by jpflori):
Indeed.
When forcing the call to c_random(), I get
{{{
----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: mpfr
sage: R=RealField(65)
sage: set_random_seed(42)
sage: R.random_element()
0.9396630990748764761
sage: R.random_element()
0.2987261287446042432
}}}
And with "normal" behavior:
{{{
----------------------------------------------------------------------
| Sage Version 4.8, Release Date: 2012-01-20 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: mpfr
sage: R=RealField(65)
sage: set_random_seed(42)
sage: R.random_element()
0.7846023201112678858
sage: R.random_element()
0.3289891249716495404
}}}
So everything looks fine, except for the segfault you got.
Hopefully, I'll provide patches for removing the hackish section and
fixing the doctests tomorrow.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11666#comment:54>
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.