This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]