Hi, guys,
I am using egcs-2.91.66 and found exp(-1.0/0.) gives "nan" if any
optimization is turned on. With no optimization, it gives 0.0000. On an IBM
RISC/6000 I have with gcc2.8.1, there is no problem with any level of
optimization. Could anybody tell me how I can let the compiler conform to
IEEE floating point standard but still have other optimizations done?
Where is the best place to find references for this kind of problems?
I am new here. Thanks in advance.
Geng