function Calculator::pow
Exponentiates a number.
Parameters
string $a The base number.:
int $e The exponent, validated as an integer between 0 and MAX_POWER.:
Return value
string The power.
3 methods override Calculator::pow()
- BcMathCalculator::pow in vendor/
brick/ math/ src/ Internal/ Calculator/ BcMathCalculator.php - Exponentiates a number.
- GmpCalculator::pow in vendor/
brick/ math/ src/ Internal/ Calculator/ GmpCalculator.php - Exponentiates a number.
- NativeCalculator::pow in vendor/
brick/ math/ src/ Internal/ Calculator/ NativeCalculator.php - Exponentiates a number.
File
-
vendor/
brick/ math/ src/ Internal/ Calculator.php, line 214
Class
- Calculator
- Performs basic operations on arbitrary size integers.
Namespace
Brick\Math\InternalCode
public abstract function pow(string $a, int $e) : string;