cppreference.com
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
asin, asinf, asinl
From cppreference.com
<
c
|
numeric
|
math
C
Compiler support
Language
Headers
Type support
Program utilities
Variadic function support
Error handling
Dynamic memory management
Strings library
Algorithms
Numerics
Date and time utilities
Input/output support
Localization support
Concurrency support
(C11)
Technical Specifications
Symbol index
[edit]
Numerics
Common mathematical functions
Floating-point environment
(C99)
Pseudo-random number generation
Complex number arithmetic
(C99)
Type-generic math
(C99)
Bit manipulation
(C23)
Checked integer arithmetic
(C23)
[edit]
Common mathematical functions
Functions
Basic operations
abs
labs
llabs
imaxabs
(C99)
(C99)
fabs
div
ldiv
lldiv
imaxdiv
(C99)
(C99)
fmod
remainder
(C99)
remquo
(C99)
fma
(C99)
fdim
(C99)
nan
nanf
nanl
nand
N
(C99)
(C99)
(C99)
(C23)
Maximum/minimum operations
fmax
(C99)
fmin
(C99)
fmaximum
(C23)
fminimum
(C23)
fmaximum_mag
(C23)
fmaximum_num
(C23)
fminimum_mag
(C23)
fminimum_num
(C23)
fmaximum_mag_num
(C23)
fminimum_mag_num
(C23)
Exponential functions
exp
exp10
(C23)
exp2
(C99)
expm1
(C99)
exp10m1
(C23)
exp2m1
(C23)
log
log10
log2
(C99)
log1p
logp1
(C99)
(C23)
log10p1
(C23)
log2p1
(C23)
Power functions
sqrt
cbrt
(C99)
rootn
(C23)
rsqrt
(C23)
hypot
(C99)
compound
(C23)
pow
pown
(C23)
powr
(C23)
Trigonometric and hyperbolic functions
sin
cos
tan
asin
acos
atan
atan2
sinpi
(C23)
cospi
(C23)
tanpi
(C23)
asinpi
(C23)
acospi
(C23)
atanpi
(C23)
atan2pi
(C23)
sinh
cosh
tanh
asinh
(C99)
acosh
(C99)
atanh
(C99)
Nearest integer floating-point
ceil
floor
round
lround
llround
(C99)
(C99)
(C99)
roundeven
(C23)
trunc
(C99)
nearbyint
(C99)
rint
lrint
llrint
(C99)
(C99)
(C99)
fromfp
fromfpx
ufromfp
ufromfpx
(C23)
(C23)
(C23)
(C23)
Floating-point manipulation
ldexp
frexp
scalbn
scalbln
(C99)
(C99)
ilogb
llogb
(C99)
(C23)
logb
(C99)
modf
nextafter
nexttoward
(C99)
(C99)
nextup
nextdown
(C23)
(C23)
copysign
(C99)
canonicalize
(C23)
Narrowing operations
fadd
(C23)
fsub
(C23)
fmul
(C23)
fdiv
(C23)
ffma
(C23)
fsqrt
(C23)
Quantum and quantum exponent
quantized
N
(C23)