packagist brick/math 0.14.4

8 hours ago

🗑️ Deprecations

  • Passing a negative modulus to BigInteger::mod() is deprecated to align with Euclidean modulo semantics; it will throw NegativeNumberException in 0.15
  • Method BigDecimal::stripTrailingZeros() is deprecated, use strippedOfTrailingZeros() instead

New features

  • BigInteger::modPow() now accepts negative bases
  • New method: BigDecimal::strippedOfTrailingZeros() (replaces stripTrailingZeros())

👌 Improvements

  • clamp() methods are now marked as @pure

Don't miss a new math release

NewReleases is sending notifications on new releases.