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.

Beginning in V9.0, on selected hardware and operating system levels, the compiler also supports the following decimal floating-point formats: