pow

^

calculate the power of given values and return result


Parameters

pow valueA :integer :floating :complex :rational :literal :quantity
    valueB :integer :floating

Returns

  • :integer
  • :floating
  • :complex
  • :rational
  • :quantity
  • or  :nothing

Examples

copy
print pow 2 3 ; 8 print 3 ^ 2 ; 9

copy
a: 5 pow 'a 2 ; a: 25

Related