#10195: Occasional doctest failure in libs/fplll/fplll.pyx
-----------------------+----------------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.1
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------+----------------------------------------------------
Changes (by drkirkby):
* cc: malb (added)
Comment:
I'm cc'ing Martin Albrecht on this, as he is the author of the library
interface.
I'll take a guess at what is happening here. I believe gcc uses the 387 by
default on 32-bit builds and the SSE instructions on 32-bit builds for
64-bit builds. So the precision of the results will be increased on 32-bit
builds, as the FPU is using 80 bits internally, not 64 as it does with the
SSE instructions.
I suspect recompiling libfpll with -mfpmath=387 on 64-bit builds would
solve this. See
http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html#i386
-and-x86_002d64-Options
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10195#comment:8>
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.