Brick\Math v0.8.0 Release Notes

Release Date: 2018-10-13 // about 3 years ago
  • ๐Ÿ’ฅ Breaking changes

    ๐Ÿšš The following deprecated methods have been removed. Use the new method name instead:

    ๐Ÿšš | Method removed | Replacement method | | --- | --- | | BigDecimal::getIntegral() | BigDecimal::getIntegralPart() | | BigDecimal::getFraction() | BigDecimal::getFractionalPart() |

    ๐Ÿ†• New features

    BigInteger has been augmented with 5 new methods for bitwise operations:

    New method Description
    and() performs a bitwise AND operation on two numbers
    or() performs a bitwise OR operation on two numbers
    xor() performs a bitwise XOR operation on two numbers
    shiftedLeft() returns the number shifted left by a number of bits
    shiftedRight() returns the number shifted right by a number of bits

    Thanks to @DASPRiD ๐Ÿ‘