This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]