The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.04 - 2017-07-23

  • replaced all calls to pow() with bit shift operations instead, breaking reliance on stdint.h (closes #10)
  • renamed bit_toggle() to bit_tog(), left an alias for backward compatibility purposes (closes #8)
  • add the parameter lists to the functions in POD (closes #9)
  • changed to the older way of using Exporter (closes #7)
  • added note in DESCRIPTION that we also have a pure Perl version (closes #6)
  • verified $msb can equal $lsb in bit_get(), and added tests to ensure it (closes #2)
  • added tests to ensure bit_tog() does the right thing


Functions to simplify bit string manipulation