a ^ (double)b

This function calculates a to the power of b.

Parameters


Parameter

Description

a

Value.

b

Exponent (type "double").

Examples


Parameter a

Parameter b

Result

3

0.5

1.73205080756888

1.5

2

2.25

2

-2

0.25