Developer Guide and Reference

Contents

Non-Computational Operations Functions

Many routines in the
libbfp754
Library are more optimized for Intel® microprocessors than for non-Intel microprocessors.
The Intel® IEEE 754-2008 Binary Conformance Library supports the following functions for non-computational operations:

is754version1985

Description:
The function returns
1
, if and only if this programming environment conforms to IEEE Std. 754-1985, otherwise returns
0
.
Calling interface:
int __binary_is754version1985(void);
This function in this library always returns
0
.

is754version2008

Description:
The function returns
1
, if and only if this programming environment conforms to IEEE Std. 754-2008, otherwise returns
0
.
Calling interface:
int __binary_is754version2008(void);
This function in this library always returns
1
.

class

Description:
The function returns which class of the ten classes (
signalingNaN, quietNaN
,
negativeInfinity
,
negativeNormal
,
negativeSubnormal
,
negativeZero
,
positiveZero
,
positiveSubnormal
,
positiveNormal
,
positiveInfinity
) the input floating-point number
x
belongs.
Return value