C++ Math exp2()
The function computes the base - 2 exponential function of a given number.
Suppose a number is 'x':
x: It is the value of the exponent.
It returns, 2 raised to the power x.
Let's see a simple example when the value of x is positive
Value of x is : 4 exp2(x) = 16
Let's see a simple example when the value of x is negative.
Value of x is : -2 exp2(x) = 0.25
Next TopicC++ Math Functions
JavaTpoint offers too many high quality services. Mail us on h[email protected], to get more information about given services.
JavaTpoint offers college campus training on Core Java, Advance Java, .Net, Android, Hadoop, PHP, Web Technology and Python. Please mail your requirement at [email protected].
Duration: 1 week to 2 week