1.6. 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:See archLSB.

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

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

1.6.1. Math

1.6.1.1. Interfaces for Math

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

Referenced Specification(s)

[4]. SUSv2

An LSB conforming implementation shall provide the generic 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 [1]    

Referenced Specification(s)