# Function List

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 homogeneous general-computational operations:

Routine or Function Group | IEEE standard equivalent
--- | ---
`round_integral_nearest_even` `round_integral_nearest_away` `round_integral_zero` `round_integral_positive` `round_integral_negative` | `roundToIntegralTiesToEven` `roundToIntegralTiesToAway` `roundToIntegralTowardZero` `roundToIntegralTowardPositive` `roundToIntegralTowardNegative`
`round_integral_exact` | `roundToIntegralExact`
`next_up` `next_down` | `nextUp` `nextDown`
`rem` | `remainder`
`minnum` `maxnum` `minnum_mag` `maxnum_mag` | `minNum` `maxNum` `minNumMag` `maxNumMag`
`scalbn` | `scaleB`
`ilogb` | `logB`

The Intel® IEEE 754-2008 Binary Conformance Library supports the following functions for formatOf general-computational operations:

Routine or Function Group | IEEE standard equivalent
--- | ---
`add` | `addition`
`sub` | `subtraction`
`mul` | `multiplication`
`div` | `division`
`sqrt` | `squareRoot`
`fma` | `fusedMultiplyAdd`
`from_int32` `from_uint32` `from_int64` `from_uint64` | `convert`
`to_int32_rnint` `to_uint32_rnint` `to_int64_rnint` `to_uint64_rnint` | `convertToIntegerTiesToEven`
`to_int32_int` `to_uint32_int` `to_int64_int` `to_uint64_int` | `convertToIntegerTowardZero`
`to_int32_ceil` `to_uint32_ceil` `to_int64_ceil` `to_uint64_ceil` | `convertToIntegerTowardPositive`
`to_int32_floor` `to_uint32_floor` `to_int64_floor` `to_uint64_floor` | `convertToIntegerTowardNegative`
`to_int32_rninta` `to_uint32_rninta` `to_int64_rninta` `to_uint64_rninta` | `convertToIntegerTiesToAway`
`to_int32_xrnint` `to_uint32_xrnint` `to_int64_xrnint` `to_uint64_xrnint` | `convertToIntegerExactTiesToEven`
`to_int32_xint` `to_uint32_xint` `to_int64_xint` `to_uint64_xint` | `convertToIntegerExactTowardZero`
`to_int32_xceil` `to_uint32_xceil` `to_int64_xceil` `to_uint64_xceil` | `convertToIntegerExactTowardPositive`
`to_int32_xfloor` `to_uint32_xfloor` `to_int64_xfloor` `to_uint64_xfloor` | `convertToIntegerExactTowardNegative`
`to_int32_xrninta` `to_uint32_xrninta` `to_int64_xrninta` `to_uint64_xrninta` | `convertToIntegerExactTiesToAway`
`binary32_to_binary64` `binary64_to_binary32` | `convertFormat`
`from_string` `to_string` | `convertFromDecimalCharacter` `convertToDecimalCharacter`
`from_hexstring` `to_hexstring` | `convertFromHexCharacter` `convertToHexCharacter`

The Intel® IEEE 754-2008 Binary Conformance Library supports the following functions for quiet-computational operations:

Routine or Function Group | IEEE standard equivalent
--- | ---
`copy` `negate` `abs` | `copy` `negate` `abs`
`copysign` | `copySign`

The Intel® IEEE 754-2008 Binary Conformance Library supports the following functions for signaling-computational operations:

Routine or Function Group | IEEE standard equivalent
--- | ---
`quiet_equal` `quiet_not_equal` `signaling_equal` `signaling_greater` `signaling_greater_equal` `signaling_less` `signaling_less_equal` `signaling_not_equal` `signaling_not_greater` `signaling_less_unordered` `signaling_not_less` `signaling_greater_unordered` `quiet_greater` `quiet_greater_equal` `quiet_less` `quiet_less_equal` `quiet_unordered` `quiet_not_greater` `quiet_less_unordered` `quiet_not_less` `quiet_greater_unordered` `quiet_ordered` | `compareQuietEqual` `compareQuietNotEqual` `compareSignalingEqual` `compareSignalingGreater` `compareSignalingGreaterEqual` `compareSignalingLess` `compareSignalingLessEqual` `compareSignalingNotEqual` `compareSignalingNotGreater` `compareSignalingLessUnordered` `compareSignalingNotLess` `compareSignalingGreaterUnordered` `compareQuietGreater` `compareQuietGreaterEqual` `compareQuietLess` `compareQuietLessEqual` `compareQuietUnordered` `compareQuietNotGreater` `compareQuietLessUnordered` `compareQuietNotLess` `compareQuietGreaterUnordered` `compareQuietOrdered`

The Intel® IEEE 754-2008 Binary Conformance Library supports the following functions for non-computational operations:

Routine or Function Group | IEEE standard equivalent
--- | ---
`is754version1985` `is754version2008` | `is754version1985` `is754version2008`
`class` | `class`
`isSignMinus` `isNormal` `isFinite` `isZero` `isSubnormal` `isInfinite` `isNaN` `isSignaling` `isCanonical` | `isSignMinus` `isNormal` `isFinite` `isZero` `isSubnormal` `isInfinite` `isNaN` `isSignaling` `isCanonical`
`radix` | `radix`
`totalOrder` `totalOrderMag` | `totalOrder` `totalOrderMag`
`lowerFlags` `raiseFlags` `testFlags` `testSavedFlags` `restoreFlags` `saveFlags` | `lowerFlags` `raiseFlags` `testFlags` `testSavedFlags` `restoreFlags` `saveAllFlags`
`getBinaryRoundingDirection` `setBinaryRoundingDirection` | `getBinaryRoundingDirection` `setBinaryRoundingDirection`
`saveModes` `restoreModes` `defaultMode` | `saveModes` `restoreModes` `defaultModes`

Parent topic: IEEE 754-2008 Binary Floating-Point Conformance Library

- Homogeneous General-Computational Operations Functions
- General-Computational Operations Functions
- Quiet-Computational Operations Functions
- Signaling-Computational Operations Functions
- Non-Computational Operations Functions