pow [function]
pow( x, y )
returns x
raised to the power y
, as real
- If base (
x
) is negative and exponent (y
) is not an integral value, or if base is zero and exponent is negative, function returnsnull
and emits a warning message.
pow( 2, 5 ); // real (32) pow( 9, 0.5 ); // real (3) pow( -1, 0.5 ); // null; Warning: pow(): mathematical error