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


> We need a standard for __float128. Otherwise, a program using
> __float128 may generate different results with different
> compilers on different platforms.
> 
> BTW, I had a __float128 patch for glibc. Because there is no
> __float128 standard, it wasn't accepted.
> 
> 
> H.J.

The HP compiler has an option that allows it to accept 'extended' as a
type that is equivalent to __float80 and 'quad' as equivalent to 'long
double' which is __float128 on HP-UX.  For the quad type it uses the Q
suffix for quad constants (and a lower case q for quad functions like
sqrtq).  I don't think this is a standard, but it is a precedent.

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]