IBM Support

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

Troubleshooting


Problem

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.

[{"Product":{"code":"SSJT9L","label":"XL C\/C++"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Compiler","Platform":[{"code":"PF016","label":"Linux"}],"Version":"8.0.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SSB259","label":"XL Fortran Advanced Edition for Linux"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Compiler","Platform":[{"code":"PF016","label":"Linux"}],"Version":"10.1.1","Edition":"Advanced Edition","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
24 February 2022

UID

swg21245006