function DivisionByZeroException::divisionByZero
@psalm-pure
9 calls to DivisionByZeroException::divisionByZero()
- BigDecimal::dividedBy in vendor/
brick/ math/ src/ BigDecimal.php - Returns the result of the division of this number by the given one, at the given scale.
- BigDecimal::exactlyDividedBy in vendor/
brick/ math/ src/ BigDecimal.php - Returns the exact result of the division of this number by the given one.
- BigDecimal::quotient in vendor/
brick/ math/ src/ BigDecimal.php - Returns the quotient of the division of this number by the given one.
- BigDecimal::quotientAndRemainder in vendor/
brick/ math/ src/ BigDecimal.php - Returns the quotient and remainder of the division of this number by the given one.
- BigDecimal::remainder in vendor/
brick/ math/ src/ BigDecimal.php - Returns the remainder of the division of this number by the given one.
File
-
vendor/
brick/ math/ src/ Exception/ DivisionByZeroException.php, line 15
Class
- DivisionByZeroException
- Exception thrown when a division by zero occurs.
Namespace
Brick\Math\ExceptionCode
public static function divisionByZero() : DivisionByZeroException {
return new self('Division by zero.');
}