8000 Releases · Torathion/bitbob · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: Torathion/bitbob

3.0.0

23 Mar 22:33
a8b831f
Compare
Choose a tag to compare

Breaking

  • Changed how Bitmap states are used and parsed. Check the demo code in the README.
  • Replaced isSet of Bitmap with has as they have the same logic.
  • Adjusted Bitmap logic to completely remove inconsistencies of arguments being either bit positions or powers of 2. Now almost all functions only accept powers of 2.

Changed

  • Improved performance of ComposedNumber.
  • Add abstract class BitHandler to unify bit sequence handler classes and help templating them.
  • Adds createBitmapStates helper function to easily create Bitmap states.
  • Adjust types and documentation
  • Extend class Bitmap with additional functionality. (#13) by @ElPrudi

2.0.0

17 Mar 19:35
ee091de
Compare
Choose a tag to compare

Read the Statement for more information.

  • !!BREAKING!!: Removed every function that acted like a replacement to the Math built-in

  • !!BREAKING!!: Removed every functional programming function

  • !!BREAKING!!: Removed every constant except INT32_MAX and INT32_MIN

  • !!BREAKING!!: Renamed INT32_MAX and INT32_MIN to I32_MAX and I32_MIN

  • Added roundNextMultPow2 to round to the next multiple of a power of 2

  • Added iLogPow2 to calculate the inverse logarithm of a power of 2

  • Added ILog2Sequence to be able to inline algorithms utilizing iLogPow2

  • Added nextAfter to quickly determine the next valid float number when counting up.

1.0.8

08 Mar 20:59
4f538a5
Compare
Choose a tag to compare
  • Fixed edge case of round(-2.5) !== Math.round(-2.5)

1.0.7

23 Feb 11:59
5fa028f
Compare
Choose a tag to compare
  • Fix build error when using ESM.

1.0.6

23 Feb 11:34
69b5b5c
Compare
Choose a tag to compare
  • Fix missing types error.

1.0.5

22 Feb 22:21
a8d22c9
Compare
Choose a tag to compare
  • Add CJS support.

1.0.4

18 Jan 18:21
1615ae5
Compare
Choose a tag to compare

[1.0.4] 2025-1-18

  • Mark project as side-effects-free
0