This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: IEEE 754 Compliance
- From: "D.Venkatasubramanian, Noida" <dvenkat at noida dot hcltech dot com>
- To: Erik Trulsson <ertr1013 at student dot uu dot se>, gcc at gcc dot gnu dot org
- Date: Wed, 18 Sep 2002 15:55:24 +0530
- Subject: RE: IEEE 754 Compliance
Hi,
>> The size of long double on h8300 targets is 4 bytes in contrast to 12 for
>> x86 targets.
>That sounds bad. The C standard requires a double to have at least 10
>decimal digits of precision. (A float only needs 6 digits of
>precision.) I don't think the requirements for a double can be
>fulfilled with only 32 bits. You need more than 40 bits for that. (The
>requirements for a long double are the same as for double and is indeed
>identical to double on most machines.)
Wouldn't it be a good idea that such test cases are unresolved for such
targets?
Regards,
Venky