Releases: Torathion/bitbob
3.0.0
Breaking
- Changed how
Bitmap
states are used and parsed. Check the demo code in the README. - Replaced
isSet
ofBitmap
withhas
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 createBitmap
states. - Adjust types and documentation
- Extend class Bitmap with additional functionality. (#13) by @ElPrudi
2.0.0
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
andINT32_MIN
-
!!BREAKING!!: Renamed
INT32_MAX
andINT32_MIN
toI32_MAX
andI32_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 utilizingiLogPow2
-
Added
nextAfter
to quickly determine the next valid float number when counting up.