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 XL C/C++ Run-Time Library Reference - Decimal Floating-Point Supplement (TGY03001USEN.pdf) (PDF, 349KB). This support is provided with APAR PK71899.

The following Decimal Floating-Point functions are added:

cbrtd32() hypotd32()  
cbrtd64() hypotd64()  
cbrtd128() hypotd128()  
expm1d32() log1pd32()  
expm1d64() log1pd64()  
expm1d128() log1pd128()  
exp2d32() log2d32()  
exp2d64() log2d64()  
exp2d128() log2d128()  
fmad32() quantexpd32()  
fmad64() quantexpd64()  
fmad128() quantexpd128()  
fmodd32() __remquod32()  
fmodd64() __remquod64()  
fmodd128() __remquod128()  

The following conversion specifiers are added to the fprintf() family for Decimal Floating-Point types:

%a
%A
 

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) (PDF, 271KB). 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) (PDF, 73,5KB).

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

Contact IBM

Browse z/OS