The OpenD Programming Language

pow

Computes integer to floating point powers.

Examples

assert(pow(2, 5.0) == 32.0);
assert(pow(7, 3.0) == 343.0);
assert(pow(2, real.nan) is real.nan);
assert(pow(2, real.infinity) == real.infinity);

Meta