Floating-point formats

XL C/C++ supports the following binary floating-point formats:

Note that the long double type may represent either double-precision or extended-precision values, depending on the setting of the -qldbl128 compiler option. The default is 128 bits. For compatibility with older compilations, you can use -qnoldbl128 if you need long double to be 64 bits.