#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):

 The files randbui.c where gmp_urandomb_ui is defined are similar in GMP
 (5.04) and MPIR (2.1.3.p9 in Sage).

 They only call _gmp_rand defined in gmp-impl.h which looks quite similar
 as well (in fact I saw no diff but did not check completely, there could
 be some black magic somewhere deep enough).

 From what I see in integer_ring.pyx and more specifically in the
 _randomize_mpz function where c_random is called as well, there is no
 different sections for 32 and 64 bits, nor different doctest in
 randstate.pyx (only rgp from Pari does change), so I guess it is not that
 unsafe to assume that MPIR behaves the same for both.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11666#comment:52>
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.

Reply via email to