| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.18.0 source code.tar.gz | 2026-06-14 | 46.5 kB | |
| 0.18.0 source code.zip | 2026-06-14 | 59.2 kB | |
| README.md | 2026-06-14 | 1.2 kB | |
| Totals: 3 Items | 107.0 kB | 0 | |
💥 Breaking changes
The following breaking change only affects you if you're using named arguments:
BigInteger::fromBytes()now uses$bytesas the parameter name
🐛 Bug fixes
of()no longer accepts a trailing newline (\n) in the input string; such input now throwsNumberFormatExceptionof()now consistently throwsNumberFormatExceptionfor exponents too large to process, instead ofIntegerOverflowExceptionin some casesBigInteger::fromBase()now reports the invalid character with its original case in theNumberFormatExceptionmessage, instead of lower-casing it
⚡️ Performance improvements
BigInteger::gcd()no longer exhausts memory on large inputs when the GMP extension is not installedBigInteger::modInverse()no longer exhausts memory on large inputs, and is faster when the GMP extension is not installed
👌 Static analysis improvements
- Narrowed parameter and return types with static analysis annotations:
nthRoot()'s$nis nowpositive-intBigInteger::toBase(),toArbitraryBase(),toBytes()andBigRational::toRepeatingDecimalString()now returnnon-empty-string