This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: long double format on I!64
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Steve Ellcey <sje at cup dot hp dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: 29 Aug 2002 17:24:35 +0200
- Subject: Re: long double format on I!64
- Organization: Integrable Solutions
- References: <200208291521.IAA06608@hpsje.cup.hp.com>
Steve Ellcey <sje@cup.hp.com> writes:
| > // While sizeof(long double) == 16, the format is the same as the x86.
| > #define __glibcpp_long_double_bits 80
|
| FYI: While Linux on IA64 uses the 80 bit format, HP-UX does not. It
| uses the full 128 bit format for long double. In gcc/config/ia64 the
| floating point format is determined by the macro
| INTEL_EXTENDED_IEEE_FORMAT. (1 for 80 bit format, 0 for 128 bit
| format). This is because the HP-UX C and C++ compilers also use 128
| bits for long double in order to be compatible with the HP-UX PA
| compilers.
Thanks, that is helpful.
-- Gaby