OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
brick
/
math
/
src
/
Exception
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:33:39 AM
rwxr-xr-x
📄
DivisionByZeroException.php
771 bytes
08/12/2024 10:33:38 AM
rw-r--r--
📄
IntegerOverflowException.php
549 bytes
08/12/2024 10:33:38 AM
rw-r--r--
📄
MathException.php
168 bytes
08/12/2024 10:33:38 AM
rw-r--r--
📄
NegativeNumberException.php
260 bytes
08/12/2024 10:33:38 AM
rw-r--r--
📄
NumberFormatException.php
1010 bytes
08/12/2024 10:33:39 AM
rw-r--r--
📄
RoundingNecessaryException.php
478 bytes
08/12/2024 10:33:39 AM
rw-r--r--
Editing: IntegerOverflowException.php
Close
<?php declare(strict_types=1); namespace Brick\Math\Exception; use Brick\Math\BigInteger; /** * Exception thrown when an integer overflow occurs. */ class IntegerOverflowException extends MathException { /** * @psalm-pure */ public static function toIntOverflow(BigInteger $value) : IntegerOverflowException { $message = '%s is out of range %d to %d and cannot be represented as an integer.'; return new self(\sprintf($message, (string) $value, PHP_INT_MIN, PHP_INT_MAX)); } }