Exponential Math Functions In C++

Share Your Love

In this post today I am going to explain exponential math functions in C++.

Exponential Math Functions:

MethodDescription
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.
Exponential Math Functions

Share Your Love
Avatar photo
Lingaraj Senapati

Hey There! I am Lingaraj Senapati, the Founder of lingarajtechhub.com My skills are Freelance, Web Developer & Designer, Corporate Trainer, Digital Marketer & Youtuber.

Articles: 429

Newsletter Updates

Enter your email address below to subscribe to our newsletter