Brick\Math v0.9.2 Release Notes

Release Date: 2021-01-20 // 9 months ago
  • ๐Ÿ› ๐Ÿ› Bug fix

    • 0๏ธโƒฃ Incorrect results could be returned when using the BCMath calculator, with a default scale set with bcscale(), on PHP >= 7.2 (#55).

Previous changes from v0.9.1

  • ๐Ÿฑ โœจ New features

    • BigInteger::not() returns the bitwise NOT value

    ๐Ÿ› ๐Ÿ› Bug fixes

    • BigInteger::toBytes() could return an incorrect binary representation for some numbers
    • The bitwise operations and(), or(), xor() on BigInteger could return an incorrect result when the GMP extension is not available