Note: information on this page refers to Ceylon 1.0, not to the current release.
^ (power) operator
The right-associative, binary infix
^ operator is used to compute its left-hand
operand raised to the power of its right-hand operand.
Integer eight = 2 ^ 3;
^ operator is defined as follows:
See the language specification for more details.
The result type of the
^ operator is the same as the type of the
This type argument of its left hand
Exponentiable<This, Other> operand.