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

Re: SIGFPE error on exponential underflow in g77



> Code in C which performs the same mathematics, using gcc with the same 
> hardware, quietly sets the underflow from the exponential function 
> to zero. (No, I cannot rewrite all the code in C in a finite time).

This is a little different problem from usual. I suspect that g77 and
f2c are both using some kind of wrapper around the libm exp()
function, and this wrapper was compiled without -mieee, and it
does something stupid.

-- g



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