Re: 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]

 



firstbt writes:

 > 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???

If you provide a test case that we can run which demonstrates the
problem we will try to help.  We need to know exactly which
arch/OS/etc you're running on.

Andrew.

[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