__fp_level() — determine type of IEEE facilities available

Standards

Standards / Extensions C or C++ Dependencies
  Both OS/390® V2R6

Syntax

#include <_Ieee754.h>
int __fp_level(void);

General description

The system provides simulation of IEEE floating-point hardware (including additional floating-point registers in hexadecimal mode). The __fp_level() function determines the level of IEEE floating-point support available.

Return values

0
No IEEE floating-point support available.
1
IEEE floating-point simulation is available.
2
IEEE floating-point hardware is available.

Related information