Interfaces for libm

The behaviour of the interfaces in this library is specified by the following Standards.

ISO/IEC 9899: 1999, Programming Languages --C[1]
CAE Specification, January 1997, System Interfaces and Headers (XSH), Issue 5 (ISBN: 1-85912-181-0, C606)[2]

Math

Table 10-26. libm - Math Function Interfaces

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

Data Symbols

Table 10-27. libm - Math Data Interfaces

clog[1]signgam[2]   

Notes

[1]

ISO/IEC 9899: 1999, Programming Languages --C

[2]

CAE Specification, January 1997, System Interfaces and Headers (XSH), Issue 5 (ISBN: 1-85912-181-0, C606)