Skip to main content

Products  >  IBM Systems  >  System z  >  z/OS  >  

Language Environment®

Decimal Floating-Point

An additional set of functions for decimal floating-point (DFP) is added to the z/OS XL C/C++ runtime library. These library interfaces are documented in z/OS C/C++ Run-Time Library Reference - Decimal Floating-Point Supplement (dfprtl.pdf). This support is provided with APAR PK54438.

The following Decimal Floating-Point functions are added:

acosd32() atanhd32() remainderd32()
acosd64() atanhd64() remainderd64()
acosd128() atanhd128() remainderd128()
acoshd32() __atanpid32() sinhd32()
acoshd64() __atanpid64() sinhd64()
acoshd128() __atanpid128() sinhd128()
asind32() coshd32() tand32()
asind64() coshd64() tand64()
asind128() coshd128() tand128()
asinhd32() erfd32() tanhd32()
asindh64() erfd64() tanhd64()
asinhd128() erfd128() tanhd128()
atand32() erfcd32() tgammad32()
atand64() erfcd64() tgammad64()
atand128() erfcd128() tgammad128()
atan2d32() lgammad32()
atan2d64() lgammad64()
atan2d128() lgammad128()

The following constants are added to float.h:

FLT_MAXDIG10
DBL_MAXDIG10
LDBL_MAXDIG10

To support these changes, the following update is made to z/OS Language Environment Vendor Interfaces: z/OS Language Environment Vendor Interfaces Supplement (visupp.pdf).

For more information on decimal floating-point, see the following:

To view PDF documents you must have the Adobe Acrobat Reader software installed. The software is free and can be installed by visiting the Adobe Acrobat Home Page at: http://www.adobe.com/prodindex/acrobat/readstep.html