Math Function List

Many routines in the Intel® oneAPI DPC++/C++ Compiler Math Library are more optimized for Intel® microprocessors than for non-Intel microprocessors.

The mathimf.h header file includes prototypes for Intel® oneAPI DPC++/C++ Compiler Math Library functions.

The math functions are listed here by function type.

Note

FP16 Math Functions have the following requirements:

Function Type

Name

Trigonometric Functions

acos

acosd

acospi

asin

asind

asinpi

atan

atan2

atan2pi

atand

atan2d

atand2

atanpi

cos

cosd

cospi

cot

cotd

sin

sincos

sincosd

sind

sinpi

tan

tand

tanpi

Hyperbolic Functions

acosh

asinh

atanh

cosh

sinh

sinhcosh

tanh

Exponential Functions

cbrt

exp

exp10

exp2

expm1

frexp

hypot

invsqrt

ilogb

ldexp

log

log10

log1p

log2

logb

pow

pow2o3

pow3o2

powr

scalb

scalbln

scalbn

sqrt

Special Functions

annuity

cdfnorm

cdfnorminv

compound

erf

erfcx

erfc

erfcinv

erfinv

gamma

gamma_r

j0

j1

jn

lgamma

lgamma_r

tgamma

y0

y1

yn

Nearest Integer Functions

ceil

floor

llrint

llround

lrint

lround

modf

nearbyint

rint

round

trunc

Remainder Functions

fmod

remainder

remquo

Miscellaneous Functions

copysign

fabs

fdim

finite

fma

fmax

fmin

fpclassify

isfinite

isgreater

isgreaterequal

isinf

isless

islessequal

islessgreater

isnan

isnormal

isunordered

maxmag

minmag

nan

nextafter

nexttoward

signbit

significand

Complex Functions

cabs

cacos

cacosh

carg

casin

casinh

catan

catanh

ccos

cexp

cexp2

cimag

cis

clog

clog10

conj

ccosh

cpow

cproj

creal

csin

csinh

csqrt

ctan

ctanh