Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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:

Function Group

Function

IEEE standard equivalent

Homogeneous General-Computational Operations Functions

ilogb

logB

maxnum maxNum
maxnum_mag maxNumMag

minnum

minNum

minnum_mag minNumMag
next_down nextDown

next_up

nextUp

rem

remainder

round_integral_exact

roundToIntegralExact

round_integral_nearest_away roundToIntegralTiesToAway

round_integral_nearest_even

roundToIntegralTiesToEven

round_integral_negative roundToIntegralTowardNegative
round_integral_positive roundToIntegralTowardPositive
round_integral_zero roundToIntegralTowardZero

scalbn

scaleB

General-Computational Operations Functions

add

addition

binary32_to_binary64

binary64_to_binary32

convertFormat

div

division

fma

fusedMultiplyAdd

from_int32

from_uint32

from_int64

from_uint64

convert

from_hexstring convertFromHexCharacter
from_string convertFromDecimalCharacter

mul

multiplication

sqrt

squareRoot

sub

subtraction

to_hexstring

convertToHexCharacter

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_int

to_uint32_int

to_int64_int

to_uint64_int

convertToIntegerTowardZero

to_int32_rnint

to_uint32_rnint

to_int64_rnint

to_uint64_rnint

convertToIntegerTiesToEven

to_int32_xrnint

to_uint32_xrnint

to_int64_xrnint

to_uint64_xrnint

convertToIntegerExactTiesToEven

to_int32_rninta

to_uint32_rninta

to_int64_rninta

to_uint64_rninta

convertToIntegerTiesToAway

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_xint

to_uint32_xint

to_int64_xint

to_uint64_xint

convertToIntegerExactTowardZero

to_int32_xrninta

to_uint32_xrninta

to_int64_xrninta

to_uint64_xrninta

convertToIntegerExactTiesToAway

to_string

convertToDecimalCharacter

Quiet-Computational Operations Functions abs abs
copy copy

copysign

copySign

negate negate
Signaling-Computational Operations Functions quiet_equal compareQuietEqual
quiet_greater compareQuietGreater
quiet_greater_equal compareQuietGreaterEqual
quiet_greater_unordered compareQuietGreaterUnordered
quiet_less compareQuietLess
quiet_less_equal compareQuietLessEqual
quiet_less_unordered compareQuietLessUnordered
quiet_not_equal compareQuietNotEqual
quiet_not_greater compareQuietNotGreater
quiet_not_less compareQuietNotLess
quiet_ordered compareQuietOrdered
quiet_unordered compareQuietUnordered
signaling_equal compareSignalingEqual
signaling_greater compareSignalingGreater
signaling_greater_equal compareSignalingGreaterEqual
signaling_greater_unordered compareSignalingGreaterUnordered
signaling_less compareSignalingLess

signaling_less_equal

compareSignalingLessEqual

signaling_less_unordered compareSignalingLessUnordered
signaling_not_equal compareSignalingNotEqual
signaling_not_greater compareSignalingNotGreater
signaling_not_less compareSignalingNotLess
Non-Computational Operations Functions

class

class

defaultMode defaultModes
getBinaryRoundingDirection getBinaryRoundingDirection
is754version1985 is754version1985
is754version2008 is754version2008
isCanonical isCanonical
isFinite isFinite
isInfinite isInfinite
isNaN isNaN
isNormal isNormal
isSignaling isSignaling
isSignMinus isSignMinus
isSubnormal isSubnormal
isZero isZero
lowerFlags lowerFlags

radix

radix

raiseFlags raiseFlags
restoreFlags restoreFlags

restoreModes

restoreModes

saveFlags saveAllFlags

saveModes

saveModes

setBinaryRoundingDirection

setBinaryRoundingDirection

testFlags testFlags

testSavedFlags

testSavedFlags

totalOrder totalOrder

totalOrderMag

totalOrderMag