[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 18:35:21 -0400, Daniel Jacobowitz wrote:
> I.E. without -mieee denormalized numbers are not completely
> supported.

If they are not completely supported, the libc shouldn't generate
them (to avoid FPE signals when results of libc functions are used
in input of other operations).

> There's no way to fix this without using -mieee, and for some reason
> I can't remember at the moment the GCC maintainers do not want that
> to be the default. If you care about compliance of FP code, use
> -mieee.

I completely disagree. I care about the C standard, and I explicitely
say so with the -std=c99 option. Perhaps things like -std=c99 should
imply -mieee then, if no change is done in glibc (and __STDC__
shouldn't be defined if no such option is used).

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