function BigNumber::newBigInteger
Proxy method to access BigInteger's protected constructor from sibling classes.
@internal @psalm-pure
3 calls to BigNumber::newBigInteger()
- BigDecimal::getUnscaledValue in vendor/
brick/ math/ src/ BigDecimal.php - BigDecimal::toBigInteger in vendor/
brick/ math/ src/ BigDecimal.php - Converts this number to a BigInteger.
- BigDecimal::toBigRational in vendor/
brick/ math/ src/ BigDecimal.php - Converts this number to a BigRational.
File
-
vendor/
brick/ math/ src/ BigNumber.php, line 178
Class
- BigNumber
- Common interface for arbitrary-precision rational numbers.
Namespace
Brick\MathCode
protected final function newBigInteger(string $value) : BigInteger {
return new BigInteger($value);
}