VALUE1
^
VALUE2

The ^ operator raises a number to a power.


Parameters

This operator has two parameters:

value1 – The first numeric value.

value2 – The second numeric value.


Description

The ^ operator raises a number to a power. Here are some examples:

2 ^ 3 ☞ 8
10 ^ 3 ☞ 1000
2.5 ^ 7.1 ☞ 668.919816
2 ^ -3 ☞ 0.125
-2.5 ^ 4.2 ☞ nan

The result of the final example above is nan, which stands for not a number, which in this case really means not a real number. Panorama doesn’t support complex numbers, so any result that would include an imaginary component yields nan.


Error Messages

Cannot raise a text value to a power. – Both parameters of the ^ operator must be numbers.

Cannot raise a number to a text power. – Both parameters of the ^ operator must be numbers.


See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0