Skip to content

v2.0.0

Compare
Choose a tag to compare
@Hypercubed Hypercubed released this 28 Jan 04:35
· 27 commits to main since this release

2.0.0 (2024-01-27)

  • Breaking: Renamed #cmp to #compareTo.
  • Breaking: Renamed #neg to #negate.
  • Feature: Implement #sign.
  • Feature: Implement bitshift operators (<<, >>) and methods (#shiftLeft, #shiftRight) as "2-complement" (i.e. arithmetic) shifts.
  • Feature: Implement #mul_pow2 and #div_pow2.
  • Feature: Implement bitwise methods (#and, #or, #xor, #not) and operators (&, |, ^, ~) as "2-complement" like.
  • Bugfix: Fix toString for negitive numbers when radix not equal to 10 or 16.