Syntax
exp2(number)
Description
The exp2() function returns 2**x, the base-2 exponential of x.
Example
include("math") printf("%.2f\n", exp2(1)) printf("%.2f\n", exp2(-3)) 2.00 0.12
exp2(number)
The exp2() function returns 2**x, the base-2 exponential of x.
include("math") printf("%.2f\n", exp2(1)) printf("%.2f\n", exp2(-3)) 2.00 0.12