1.4. Interfaces for libm

Table 1-24 defines the library name and shared object name for the libm library

Table 1-24. libm Definition

Library:libm
SONAME:libm.so.6

The behavior of the interfaces in this library is specified by the following specifications:

ISO C (1999)
this specification
SUSv2
ISO POSIX (2003)

1.4.1. Math

1.4.1.1. Interfaces for Math

An LSB conforming implementation shall provide the architecture specific functions for Math specified in Table 1-25, with the full mandatory functionality as described in the referenced underlying specification.

Table 1-25. libm - Math Function Interfaces

__finite(GLIBC_2.1) [1]ccoshl(GLIBC_2.1) [2]exp(GLIBC_2.0) [2]j1l(GLIBC_2.0) [1]powl(GLIBC_2.0) [2]
__finitef(GLIBC_2.1) [1]ccosl(GLIBC_2.1) [2]exp2(GLIBC_2.1) [2]jn(GLIBC_2.0) [2]remainder(GLIBC_2.0) [2]
__finitel(GLIBC_2.1) [1]ceil(GLIBC_2.0) [2]exp2f(GLIBC_2.1) [2]jnf(GLIBC_2.0) [1]remainderf(GLIBC_2.0) [2]
__fpclassify(GLIBC_2.1) [3]ceilf(GLIBC_2.0) [2]exp2l(GLIBC_2.1) [2]jnl(GLIBC_2.0) [1]remainderl(GLIBC_2.0) [2]
__fpclassifyf(GLIBC_2.1) [3]ceill(GLIBC_2.0) [2]expf(GLIBC_2.0) [2]ldexp(GLIBC_2.0) [2]remquo(GLIBC_2.1) [2]
__fpclassifyl(GLIBC_2.1) [3]cexp(GLIBC_2.1) [2]expl(GLIBC_2.0) [2]ldexpf(GLIBC_2.0) [2]remquof(GLIBC_2.1) [2]
__signbit(GLIBC_2.1) [1]cexpf(GLIBC_2.1) [2]expm1(GLIBC_2.0) [2]ldexpl(GLIBC_2.0) [2]remquol(GLIBC_2.1) [2]
__signbitf(GLIBC_2.1) [1]cexpl(GLIBC_2.1) [2]expm1f(GLIBC_2.0) [2]lgamma(GLIBC_2.0) [2]rint(GLIBC_2.0) [2]
__signbitl(GLIBC_2.1) [1]cimag(GLIBC_2.1) [2]expm1l(GLIBC_2.0) [2]lgamma_r(GLIBC_2.0) [1]rintf(GLIBC_2.0) [2]
acos(GLIBC_2.0) [2]cimagf(GLIBC_2.1) [2]fabs(GLIBC_2.0) [2]lgammaf(GLIBC_2.0) [2]rintl(GLIBC_2.0) [2]
acosf(GLIBC_2.0) [2]cimagl(GLIBC_2.1) [2]fabsf(GLIBC_2.0) [2]lgammaf_r(GLIBC_2.0) [1]round(GLIBC_2.1) [2]
acosh(GLIBC_2.0) [2]clog(GLIBC_2.1) [2]fabsl(GLIBC_2.0) [2]lgammal(GLIBC_2.0) [2]roundf(GLIBC_2.1) [2]
acoshf(GLIBC_2.0) [2]clog10(GLIBC_2.1) [1]fdim(GLIBC_2.1) [2]lgammal_r(GLIBC_2.0) [1]roundl(GLIBC_2.1) [2]
acoshl(GLIBC_2.0) [2]clog10f(GLIBC_2.1) [1]fdimf(GLIBC_2.1) [2]llrint(GLIBC_2.1) [2]scalb(GLIBC_2.0) [2]
acosl(GLIBC_2.0) [2]clog10l(GLIBC_2.1) [1]fdiml(GLIBC_2.1) [2]llrintf(GLIBC_2.1) [2]scalbf(GLIBC_2.0) [1]
asin(GLIBC_2.0) [2]clogf(GLIBC_2.1) [2]feclearexcept(GLIBC_2.2) [2]llrintl(GLIBC_2.1) [2]scalbl(GLIBC_2.0) [1]
asinf(GLIBC_2.0) [2]clogl(GLIBC_2.1) [2]fegetenv(GLIBC_2.2) [2]llround(GLIBC_2.1) [2]scalbln(GLIBC_2.1) [2]
asinh(GLIBC_2.0) [2]conj(GLIBC_2.1) [2]fegetexceptflag(GLIBC_2.2) [2]llroundf(GLIBC_2.1) [2]scalblnf(GLIBC_2.1) [2]
asinhf(GLIBC_2.0) [2]conjf(GLIBC_2.1) [2]fegetround(GLIBC_2.1) [2]llroundl(GLIBC_2.1) [2]scalblnl(GLIBC_2.1) [2]
asinhl(GLIBC_2.0) [2]conjl(GLIBC_2.1) [2]feholdexcept(GLIBC_2.1) [2]log(GLIBC_2.0) [2]scalbn(GLIBC_2.0) [2]
asinl(GLIBC_2.0) [2]copysign(GLIBC_2.0) [2]feraiseexcept(GLIBC_2.2) [2]log10(GLIBC_2.0) [2]scalbnf(GLIBC_2.0) [2]
atan(GLIBC_2.0) [2]copysignf(GLIBC_2.0) [2]fesetenv(GLIBC_2.2) [2]log10f(GLIBC_2.0) [2]scalbnl(GLIBC_2.0) [2]
atan2(GLIBC_2.0) [2]copysignl(GLIBC_2.0) [2]fesetexceptflag(GLIBC_2.2) [2]log10l(GLIBC_2.0) [2]significand(GLIBC_2.0) [1]
atan2f(GLIBC_2.0) [2]cos(GLIBC_2.0) [2]fesetround(GLIBC_2.1) [2]log1p(GLIBC_2.0) [2]significandf(GLIBC_2.0) [1]
atan2l(GLIBC_2.0) [2]cosf(GLIBC_2.0) [2]fetestexcept(GLIBC_2.1) [2]log1pf(GLIBC_2.0) [2]significandl(GLIBC_2.0) [1]
atanf(GLIBC_2.0) [2]cosh(GLIBC_2.0) [2]feupdateenv(GLIBC_2.2) [2]log1pl(GLIBC_2.0) [2]sin(GLIBC_2.0) [2]
atanh(GLIBC_2.0) [2]coshf(GLIBC_2.0) [2]finite(GLIBC_2.0) [4]log2(GLIBC_2.1) [2]sincos(GLIBC_2.1) [1]
atanhf(GLIBC_2.0) [2]coshl(GLIBC_2.0) [2]finitef(GLIBC_2.0) [1]log2f(GLIBC_2.1) [2]sincosf(GLIBC_2.1) [1]
atanhl(GLIBC_2.0) [2]cosl(GLIBC_2.0) [2]finitel(GLIBC_2.0) [1]log2l(GLIBC_2.1) [2]sincosl(GLIBC_2.1) [1]
atanl(GLIBC_2.0) [2]cpow(GLIBC_2.1) [2]floor(GLIBC_2.0) [2]logb(GLIBC_2.0) [2]sinf(GLIBC_2.0) [2]
cabs(GLIBC_2.1) [2]cpowf(GLIBC_2.1) [2]floorf(GLIBC_2.0) [2]logbf(GLIBC_2.0) [2]sinh(GLIBC_2.0) [2]
cabsf(GLIBC_2.1) [2]cpowl(GLIBC_2.1) [2]floorl(GLIBC_2.0) [2]logbl(GLIBC_2.0) [2]sinhf(GLIBC_2.0) [2]
cabsl(GLIBC_2.1) [2]cproj(GLIBC_2.1) [2]fma(GLIBC_2.1) [2]logf(GLIBC_2.0) [2]sinhl(GLIBC_2.0) [2]
cacos(GLIBC_2.1) [2]cprojf(GLIBC_2.1) [2]fmaf(GLIBC_2.1) [2]logl(GLIBC_2.0) [2]sinl(GLIBC_2.0) [2]
cacosf(GLIBC_2.1) [2]cprojl(GLIBC_2.1) [2]fmal(GLIBC_2.1) [2]lrint(GLIBC_2.1) [2]sqrt(GLIBC_2.0) [2]
cacosh(GLIBC_2.1) [2]creal(GLIBC_2.1) [2]fmax(GLIBC_2.1) [2]lrintf(GLIBC_2.1) [2]sqrtf(GLIBC_2.0) [2]
cacoshf(GLIBC_2.1) [2]crealf(GLIBC_2.1) [2]fmaxf(GLIBC_2.1) [2]lrintl(GLIBC_2.1) [2]sqrtl(GLIBC_2.0) [2]
cacoshl(GLIBC_2.1) [2]creall(GLIBC_2.1) [2]fmaxl(GLIBC_2.1) [2]lround(GLIBC_2.1) [2]tan(GLIBC_2.0) [2]
cacosl(GLIBC_2.1) [2]csin(GLIBC_2.1) [2]fmin(GLIBC_2.1) [2]lroundf(GLIBC_2.1) [2]tanf(GLIBC_2.0) [2]
carg(GLIBC_2.1) [2]csinf(GLIBC_2.1) [2]fminf(GLIBC_2.1) [2]lroundl(GLIBC_2.1) [2]tanh(GLIBC_2.0) [2]
cargf(GLIBC_2.1) [2]csinh(GLIBC_2.1) [2]fminl(GLIBC_2.1) [2]matherr(GLIBC_2.0) [1]tanhf(GLIBC_2.0) [2]
cargl(GLIBC_2.1) [2]csinhf(GLIBC_2.1) [2]fmod(GLIBC_2.0) [2]modf(GLIBC_2.0) [2]tanhl(GLIBC_2.0) [2]
casin(GLIBC_2.1) [2]csinhl(GLIBC_2.1) [2]fmodf(GLIBC_2.0) [2]modff(GLIBC_2.0) [2]tanl(GLIBC_2.0) [2]
casinf(GLIBC_2.1) [2]csinl(GLIBC_2.1) [2]fmodl(GLIBC_2.0) [2]modfl(GLIBC_2.0) [2]tgamma(GLIBC_2.1) [2]
casinh(GLIBC_2.1) [2]csqrt(GLIBC_2.1) [2]frexp(GLIBC_2.0) [2]nan(GLIBC_2.1) [2]tgammaf(GLIBC_2.1) [2]
casinhf(GLIBC_2.1) [2]csqrtf(GLIBC_2.1) [2]frexpf(GLIBC_2.0) [2]nanf(GLIBC_2.1) [2]tgammal(GLIBC_2.1) [2]
casinhl(GLIBC_2.1) [2]csqrtl(GLIBC_2.1) [2]frexpl(GLIBC_2.0) [2]nanl(GLIBC_2.1) [2]trunc(GLIBC_2.1) [2]
casinl(GLIBC_2.1) [2]ctan(GLIBC_2.1) [2]gamma(GLIBC_2.0) [4]nearbyint(GLIBC_2.1) [2]truncf(GLIBC_2.1) [2]
catan(GLIBC_2.1) [2]ctanf(GLIBC_2.1) [2]gammaf(GLIBC_2.0) [1]nearbyintf(GLIBC_2.1) [2]truncl(GLIBC_2.1) [2]
catanf(GLIBC_2.1) [2]ctanh(GLIBC_2.1) [2]gammal(GLIBC_2.0) [1]nearbyintl(GLIBC_2.1) [2]y0(GLIBC_2.0) [2]
catanh(GLIBC_2.1) [2]ctanhf(GLIBC_2.1) [2]hypot(GLIBC_2.0) [2]nextafter(GLIBC_2.0) [2]y0f(GLIBC_2.0) [1]
catanhf(GLIBC_2.1) [2]ctanhl(GLIBC_2.1) [2]hypotf(GLIBC_2.0) [2]nextafterf(GLIBC_2.0) [2]y0l(GLIBC_2.0) [1]
catanhl(GLIBC_2.1) [2]ctanl(GLIBC_2.1) [2]hypotl(GLIBC_2.0) [2]nextafterl(GLIBC_2.0) [2]y1(GLIBC_2.0) [2]
catanl(GLIBC_2.1) [2]dremf(GLIBC_2.0) [1]ilogb(GLIBC_2.0) [2]nexttoward(GLIBC_2.1) [2]y1f(GLIBC_2.0) [1]
cbrt(GLIBC_2.0) [2]dreml(GLIBC_2.0) [1]ilogbf(GLIBC_2.0) [2]nexttowardf(GLIBC_2.1) [2]y1l(GLIBC_2.0) [1]
cbrtf(GLIBC_2.0) [2]erf(GLIBC_2.0) [2]ilogbl(GLIBC_2.0) [2]nexttowardl(GLIBC_2.1) [2]yn(GLIBC_2.0) [2]
cbrtl(GLIBC_2.0) [2]erfc(GLIBC_2.0) [2]j0(GLIBC_2.0) [2]pow(GLIBC_2.0) [2]ynf(GLIBC_2.0) [1]
ccos(GLIBC_2.1) [2]erfcf(GLIBC_2.0) [2]j0f(GLIBC_2.0) [1]pow10(GLIBC_2.1) [1]ynl(GLIBC_2.0) [1]
ccosf(GLIBC_2.1) [2]erfcl(GLIBC_2.0) [2]j0l(GLIBC_2.0) [1]pow10f(GLIBC_2.1) [1] 
ccosh(GLIBC_2.1) [2]erff(GLIBC_2.0) [2]j1(GLIBC_2.0) [2]pow10l(GLIBC_2.1) [1] 
ccoshf(GLIBC_2.1) [2]erfl(GLIBC_2.0) [2]j1f(GLIBC_2.0) [1]powf(GLIBC_2.0) [2] 

Referenced Specification(s)

[4]. SUSv2

An LSB conforming implementation shall provide the architecture specific data interfaces for Math specified in Table 1-26, with the full mandatory functionality as described in the referenced underlying specification.

Table 1-26. libm - Math Data Interfaces

signgam(GLIBC_2.0) [1]    

Referenced Specification(s)