a ^ b

This function calculates a to the power of b. The exponent must be an integer or is rounded to the next lower integer. See examples below.

Parameters


Parameter

Description

a

Value.

b

Exponent.

Examples


Parameter a

Parameter b

Result

3

2

9

1.5

2

2.25

1.5

2.5

2.25

2

-2

0.25