C++ Math scalbln()
The function computes the product of a given number and FLT_RADX raised to the power of exponent.
Suppose a number is 'x' and exponent is 'n':
x: The value of the significand.
n: The value of the exponent.
It returns the product of x and FLT_RADX raised to the power n.
Let's see the simple example when the value of x is an integer type.
Value of x is: 3 3 * 2^3 = 24
Let's see the simple example when the value of x is a float type
Value of x is : 7.2 7.2 * 2^2 = 28.8
JavaTpoint offers too many high quality services. Mail us on [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