In this post today I am going to explain exponential math functions in C++.
Exponential Math Functions:
Method | Description |
---|---|
exp(x) | It computes the exponential e raised to the power x. |
frexp(value_type x,int* exp) | It breaks a number into significand and 2 raised to the power exponent. |
Idexp(float x, int e) | It computes the product of x and 2 raised to the power e. |
log(x) | It computes the natural logarithm of x. |
log10(x) | It computes the common logarithm of x. |
modf() | It breaks a number into integer and fractional parts. |
exp2(x) | It computes the base 2 exponential of x. |
expm1(x) | It computes the exponential raised to the power x minus one. |
log1p(x) | It computes the natural logarithm of x plus one. |
log2(x) | It computes the base 2 logarithms of x. |
logb(x) | It computes the logarithm of x. |
scalbn( x, n) | It computes the product of x and FLT_RADX raised to the power n. |
scalbln( x, n) | It computes the product of x and FLT_RADX raised to the power n. |
ilogb(x) | It returns the exponent part of x. |