This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Irix6 long doubles implemented wrong? (27_io/ostream_inserter_arith)
- From: Richard Henderson <rth at redhat dot com>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, oldham at codesourcery dot com, ro at TechFak dot Uni-Bielefeld dot DE
- Date: Thu, 9 Jan 2003 17:13:52 -0800
- Subject: Re: Irix6 long doubles implemented wrong? (27_io/ostream_inserter_arith)
- References: <200212170531.AAA15561@caip.rutgers.edu> <or4r97diei.fsf@free.redhat.lsd.ic.unicamp.br> <orisxmn2fv.fsf@free.redhat.lsd.ic.unicamp.br> <oradiw3e9k.fsf@free.redhat.lsd.ic.unicamp.br> <200212241434.JAA22361@caip.rutgers.edu> <orhed32l12.fsf@free.redhat.lsd.ic.unicamp.br> <orwulx34wh.fsf@free.redhat.lsd.ic.unicamp.br> <orptrn4lr0.fsf@free.redhat.lsd.ic.unicamp.br> <20030107221549.GR12992@redhat.com> <or4r8hlw18.fsf@free.redhat.lsd.ic.unicamp.br>
On Thu, Jan 09, 2003 at 09:53:55PM -0200, Alexandre Oliva wrote:
> I've just gone through the C++ Standard's numeric_limits definitions
> and the C99's float.h specification, and I couldn't find any reason
> to not use the definitions the way I've introduced them.
Irritatingly, I think my copy of LIA-1 is at home on a machine
that's powered off. But C++ references it, so I think you have
to look there and not in the C++ standard directly.
What I remember is that min denormal must be 2**-p below the
min normalized number. Which isn't satisfied in this case.
> The fact
> that they get the libstdc++-v3 testsuite to pass in cases it didn't
> before seems to be a good indication that it is good enough.
Feh. I wrote those test cases. Don't take them as definitive.
r~