Exponentiation

operand1 ** operand2

If operand1 and operand2 both result in numbers, the expression results in operand1 raised to the power of operand2. Otherwise it results in Undefined.

For example:

  2 ** 3 = 8
  4 ** 0.5 = 2
  0.5 ** 2 = 0.25
  0.25 ** 0.5 = 0.5

Herman Venter


This is Slim documentation as snarfed on 27 May 1999 by dB.