Irix6 long doubles implemented wrong? (27_io/ostream_inserter_arith)

Alexandre Oliva aoliva@redhat.com
Wed Jan 8 17:20:00 GMT 2003


On Jan  7, 2003, Richard Henderson <rth@redhat.com> wrote:

>> * real.h (struct real_format): Add denorm_p, remove has_denorm.
>> * real.c: Adjust all formats and references to has_denorm.
>> * c-common.c (builtin_define_float_constants): Use denorm_p to
>> define DENORM_MIN.

> This one's sticky.  Strictly speaking, the double-double format
> isn't LIA-1 compliant (too few denormal bits)

I've no idea of what LIA-1 is, but it does have as many denormal bits
as normal bits, it's just that the minimum exponent for a denormal is
higher than that of a plain doubles, since denormals start with the
higher double still being normal.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Libstdc++ mailing list