Error of tan/tanf in libm.

Cliff Tsai clifftsai@minecard.com.tw
Fri Apr 6 04:25:00 GMT 2001


Hi:
    I'm testing libm on m68k 
platform.
    But I found that there are erros in some functions in 
libm.
    Like tan/tanf.For example,tanf(0.25) shoud be  
close to 0.2553419.
    But when I test tan/tanf in native platform(cygwin on 
x86)
    And tan/tanf on m68k platform.
    The return is 2.0.Why?
    Do anyone know other errors in libm?
 
    Thanks!
 
  
    
 



More information about the Newlib mailing list