Crate core_math

Source
Expand description

§core-math

Build status Crates.io Documentation

Rusty API for CORE-MATH

CORE-MATH is a correctly rounded mathematical library in C. Correct rounding is the theoretical accuracy and beats most old C libraries such as glibc. Meanwhile, its speed is competitive with the most popular C libraries, even faster most of the time.

This crate provides a Rusty API to the CORE-MATH library via core-math-sys, the system crate.

Functions§

acos
acosf
acosh
acoshf
acospi
acospif
asin
asinf
asinh
asinhf
asinpi
asinpif
atan
atan2
atan2f
atan2pi
atan2pif
atanf
atanh
atanhf
atanpi
atanpif
cbrt
cbrtf
cos
cosf
cosh
coshf
cospi
cospif
erf
erfc
erfcf
erff
exp
exp2
exp2f
exp2m1
exp2m1f
exp10
exp10f
exp10m1
exp10m1f
expf
expm1
expm1f
hypot
hypotf
lgammaf
log
log2
log1p
log1pf
log2f
log2p1
log2p1f
log10
log10f
log10p1
log10p1f
logf
pow
powf
rsqrt
rsqrtf
sin
sincosf
sinf
sinh
sinhf
sinpi
sinpif
tan
tanf
tanh
tanhf
tanpi
tanpif
tgammaf