Function | Domain | Range | Pole |
---|
acos(x)
| -1 <= x && x <= 1
| No | No |
asin(x) | -1 <= x && x <= 1 | Yes | No |
atan(x) | None | Yes | No |
atan2(y, x)
| x != 0 && y != 0
| No | No |
acosh(x)
| x >= 1
| Yes | No |
asinh(x) | None | Yes | No |
atanh(x)
| -1 < x && x < 1
| Yes | Yes |
cosh(x) , sinh(x)
| None | Yes | No |
exp(x) , exp2(x) , expm1(x)
| None | Yes | No |
ldexp(x, exp)
| None | Yes | No |
log(x) , log10(x) , log2(x)
| x >= 0
| No | Yes |
log1p(x)
| x >= -1
| No | Yes |
ilogb(x)
| x != 0 && !isinf(x) && !isnan(x)
| Yes | No |
logb(x) | x != 0 | Yes | Yes |
scalbn(x, n) , scalbln(x, n)
| None | Yes | No |
hypot(x, y)
| None | Yes | No |
pow(x,y)
| x > 0 || (x == 0 && y > 0) || (x < 0 && y is an integer)
| Yes | Yes |
sqrt(x)
| x >= 0
| No | No |
erf(x) | None | Yes | No |
erfc(x)
| None | Yes | No |
lgamma(x) , tgamma(x)
| x != 0 && ! (x < 0 && x is an integer)
| Yes | Yes |
lrint(x) , lround(x)
| None | Yes | No |
fmod(x, y) , remainder(x, y) ,
remquo(x, y, quo)
| y != 0
| Yes | No |
nextafter(x, y) ,
nexttoward(x, y)
| None | Yes | No |
fdim(x,y)
| None | Yes | No |
fma(x,y,z)
| None | Yes | No |