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

Bug#210598: libc6.1: Operations on subnormal floating-point numbers generate a floating point exception



On 2003-09-12 14:39:40 -0400, Daniel Jacobowitz wrote:
> That's life on Alpha.  I believe you can get different behavior by
> compiling with -mieee, does that work?

That works, but IEEE-754 isn't the only standard. The ISO C standard
has its own requirements. In my case, there was neither an erroneous
arithmetic operation, nor a range error; therefore I shouldn't have
got a FPE signal.

(Note: I compiled with -std=c99.)

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA



Reply to: