pow

pow(a: number, b : number) 🡒 number, pure function

Returns $a^b$ where $a$ and $b$ are numbers.

Example:

x = pow(2.5, -3)
show scalar "" with x

If $a$ is negative, then, $b$ must be an integer, otherwise the function fails.

See also