Fw: About the precision of cos() sin() and tan() function differ from glibs and fdlibm.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks:

when i invoke glibc's cos(1.5707963267948972),it returns me 0xbcc5cb4000000000(8 bytes of the memory),but when i use fdlibm,it returns me 0xbcc5cb3b399d747f.
How can i get 0xbcc5cb3b399d747f only use glibc? Is there some gcc compiler options or flags like -single* can solve this problem???

Best wishes

firstbt
2006-12-22



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux