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: Suffix for __float128 FP constants


> BTW: IA64 has the same issues with two FP types (long double XFmode and 
> "longer double" TFmode). How is this solved for IA64?
> 
> Uros.

This is different on IA64 HP-UX and IA64 Linux.  On HP-UX, 128 bits is
the standard long double and 80 bits is __float80.  We use the 'W'
suffix for a __float80 constant on HP-UX.  HP-UX also uses a lower case
'w' in math names for functions (e.g.  sqrtw) for __float80 functions.

Since __float128 == long double on HP-UX we can just use 'L' and 'l' for
those.

None of which helps on Linux.

Steve Ellcey
sje@cup.hp.com


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