#10285: Adding support to an ARM processor
----------------------+-----------------------------------------------------
   Reporter:  Snark   |       Owner:  GeorgSWeber
       Type:  defect  |      Status:  needs_info 
   Priority:  major   |   Milestone:             
  Component:  build   |    Keywords:  ARM        
     Author:          |    Upstream:  N/A        
   Reviewer:          |      Merged:             
Work_issues:          |  
----------------------+-----------------------------------------------------

Comment(by dimpase):

 Replying to [comment:35 Snark]:
 > Gasp! I thought I already checked my -lm for correctness, but now I
 tried :
 >
 > jpuydt@hecke:/tmp$ cat test.c
 > #include <stdio.h>
 > #include <math.h>
 >
 > int
 > main (int argc,
 >       char* argv[])
 > {
 >   long double x = 6.0;
 >   printf("tgammal (%.20Lf)=%.20Lf\n", x, tgammal(x));
 >   return 0;
 > }
 > jpuydt@hecke:/tmp$ ./test
 > tgammal (6.00000000000000000000)=119.99999999999997157829

 OK, so this is a libc bug -- well, assuming all the 53 bits of the
 fractional part of the IEEE double should be correct in this case
 (long double is the same as double on ARM, afaik). And we get only 34 bits
 right.
 Something to report upstream. Which version of libc do you run?

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