#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 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
}}}
--
Ticket URL: <http://trac.sagemath.org/ticket/19280#comment:5>
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.