The CORE-MATH project

[FAQ] [git] [mailing list] [references]

CORE-MATH Mission: provide on-the-shelf open-source mathematical functions with correct rounding that can be integrated into current mathematical libraries (GNU libc, Intel Math Library, AMD Libm, Newlib, OpenLibm, Musl, Apple Libm, llvm-libc, CUDA libm, ROCm)

Available CORE-MATH functions:

functionbinary32binary64binary80binary128
acos full,perf full glibc glibc (1)
acosh full,perf
asin full,perf
asinh full,perf
atan full,perf
atan2 full,perf
atanh full,perf
cbrt full,perf full (proof) glibc glibc
cos full,perf
cosh full,perf
erf full,perf
erfc full,perf
exp full,perf full (p) (2)
exp10 full,perf
exp2 full,perf
expm1 full,perf
hypot full,perf reserved
log full,perf reserved
log10 full,perf
log1p full,perf
log2 full,perf
pow full,perf reserved
sin full,perf
sinh full,perf
tan full,perf
tanh full,perf

Caption:

Notes:

Other correctly-rounded implementations:

functionbinary32binary64binary80binary128
acos crlibm
acospi crlibm
asin crlibm
asinpi crlibm
atan crlibm
atanpi crlibm
cos crlibm
cosh rlibm-32 (2) rlibm-all crlibm
cospi rlibm-32 (2) rlibm-all crlibm
exp rlibm-32 (2) rlibm-all llvm crlibm
exp10 rlibm-32 (2) rlibm-all
exp2 rlibm-32 (2) rlibm-all llvm crlibm
expm1 llvm crlibm
hypot llvm llvm
log rlibm-32 (2) rlibm-all llvm (2) crlibm
log1p llvm crlibm
log10 rlibm-32 (2) rlibm-all llvm crlibm
log2 rlibm-32 (2) rlibm-all llvm crlibm
pow crlibm (2)
sin llvm crlibm
sinh rlibm-32 (2) rlibm-all crlibm
sinpi rlibm-32 (2) rlibm-all crlibm
tan crlibm
tanpi crlibm