#19280: MPIR gives incorrect result on i386
-------------------------------------+-------------------------------------
       Reporter:  cheuberg           |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.9
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:  mpir               |    Reviewers:
        Authors:  Clemens Heuberger  |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/cheuberg/mpir-   |  0d48fb57205cb16d58380c9b022c39eb354c3a58
  bug                                |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by cheuberg):

 Replying to [comment:5 jdemeyer]:
 > Instead of patching all those tuning files, why not just
 > {{{
 > #!diff
 > diff -ru mpir-2.7.0/gmp-impl.h mpir-2.7.0-fixed/gmp-impl.h
 > --- mpir-2.7.0/gmp-impl.h       2015-06-10 23:02:35.000000000 +0200
 > +++ mpir-2.7.0-fixed/gmp-impl.h 2015-09-29 17:04:17.746919331 +0200
 > @@ -2040,11 +2040,11 @@
 >  #endif
 >
 >  #ifndef SB_DIVAPPR_Q_SMALL_THRESHOLD
 > -#define SB_DIVAPPR_Q_SMALL_THRESHOLD 11
 > +#define SB_DIVAPPR_Q_SMALL_THRESHOLD 0
 >  #endif
 >
 >  #ifndef SB_DIV_QR_SMALL_THRESHOLD
 > -#define SB_DIV_QR_SMALL_THRESHOLD 11
 > +#define SB_DIV_QR_SMALL_THRESHOLD 0
 >  #endif
 >
 >  #ifndef DC_DIVAPPR_Q_THRESHOLD
 > }}}
 Are we sure that we want to change the parameter on ''all'' architectures?

--
Ticket URL: <http://trac.sagemath.org/ticket/19280#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to