IBM Support

Use GCC's long double representation for 128-bit quad precision floating point values

Technote (troubleshooting)


Problem(Abstract)

GCC versions 4.0 and higher support 128-bit quad precision floating point values. The XL compilers now provide the -qfloat=gcclongdouble option to be compatible with GCC's representation of 128-bit quad precision floating point values.

Resolving the problem

IBM XL compilers on Linux now support quad precision values just like GCC 4.0 and higher does.The -qfloat=gcclongdouble option is enabled only on systems that have GCC 4.0 and higher installed, or a GCC that supports 128-bit long doubles. For the XL C/C++ compiler, the default is -qfloat=gcclongdouble. For the XL Fortran compiler, the default is -qfloat=nogcclongdouble.

Cross Reference information
Segment Product Component Platform Version Edition
Software Development XL Fortran Compiler Linux 10.1.1 Advanced Edition

Document information

More support for: XL C/C++
Compiler

Software version: 8.0.1

Operating system(s): Linux

Reference #: 1245006

Modified date: 29 March 2010


Translate this page: