function Calculator::sub
Subtracts two numbers.
1 call to Calculator::sub()
- Calculator::gcdExtended in vendor/
brick/ math/ src/ Internal/ Calculator.php
3 methods override Calculator::sub()
- BcMathCalculator::sub in vendor/
brick/ math/ src/ Internal/ Calculator/ BcMathCalculator.php - Subtracts two numbers.
- GmpCalculator::sub in vendor/
brick/ math/ src/ Internal/ Calculator/ GmpCalculator.php - Subtracts two numbers.
- NativeCalculator::sub in vendor/
brick/ math/ src/ Internal/ Calculator/ NativeCalculator.php - Subtracts two numbers.
File
-
vendor/
brick/ math/ src/ Internal/ Calculator.php, line 169
Class
- Calculator
- Performs basic operations on arbitrary size integers.
Namespace
Brick\Math\InternalCode
public abstract function sub(string $a, string $b) : string;