__chkbfp() — check IEEE facilities usage
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
z/OS® V1.8 (for DFP) |
Syntax
#include <_Ieee754.h>
int __chkbfp(void);
General description
The system sets a flag in the secondary task control block (STCB) when IEEE floating-point hardware facilities or simulated facilities (including additional floating-point (AFP) registers in hexadecimal floating-point) are first accessed by a task. The __chkbfp() function returns the state of this flag.
Return values
- 0
- IEEE floating-point facilities (including AFP registers in hexadecimal floating-point mode) have not been used by the task.
- 1
- IEEE floating-point facilities have been used by the task. (This includes both IEEE binary and decimal floating-points.)
Usage information
To use IEEE decimal floating-point, the hardware must have the Decimal Floating-Point Facility installed.