#10042: Doctest failure in sage/rings/polynomial/polynomial_element.pyx
-------------------------------+--------------------------------------------
Reporter: mpatel | Owner: mvngu
Type: defect | Status: needs_work
Priority: blocker | Milestone: sage-4.6
Component: doctest | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: report upstream |
-------------------------------+--------------------------------------------
Comment(by drkirkby):
I tried playing with the compiler flags on a noddy C program. My Fortran
is almost non-existant, but perhaps it's worth trying a Fortran program.
But I can't change the values of these parameters in my Noddy C program by
use of compiler flags.
{{{
drkir...@hawk:~$ cat test.c
#include <float.h>
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
volatile long double x=M_PI;
volatile long double y=-M_PI;
main(){
printf("+sqrt(pi)=%.70lf\n",sqrt(x));
printf("-sqrt(pi)=%.70lf\n",sqrt(fabs(y)));
}
drkir...@hawk:~$ gcc test.c -mfpmath=sse -lm
drkir...@hawk:~$ ./a.out
+sqrt(pi)=1.7724538509055158819194275565678253769874572753906250000000000000000000
-sqrt(pi)=1.7724538509055158819194275565678253769874572753906250000000000000000000
drkir...@hawk:~$ gcc test.c -mfpmath=387 -lm
drkir...@hawk:~$ ./a.out
+sqrt(pi)=1.7724538509055158819194275565678253769874572753906250000000000000000000
-sqrt(pi)=1.7724538509055158819194275565678253769874572753906250000000000000000000
}}}
{{{t2.math}}} is in rather a mess now, following William deleting all the
NFS file system that were shared to {{{t2.math}}}.
I'll create Dima an account on my !OpenSolaris machine. The problem exists
on that. I can't say for sure whether it does on my AIX server (PowerPC)
or HP-UX workstation (PA-RISC CPU). Both those systems have native
compilers, but neither can build Sage. Both are quite a bit slower than
the !OpenSolaris machine too.
Leave that with me.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10042#comment:64>
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.