/Dart 2

pow method

BigInt pow (int exponent)

Returns this to the power of exponent.

Returns one if the exponent equals 0.

The exponent must otherwise be positive.

The result is always equal to the mathematical result of this to the power exponent, only limited by the available memory.


BigInt pow(int exponent);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.