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.999840 - 2023-09-18

  • Add methods bblsft() and bbrsft(), which do bitwise left and right shift, respectively. The binary operators for bitwise left and right shift, "<<" and ">>", now call the methods bblsft() and bbrsft(), respectively.
    • While this behaviour is consistent with how "<<" and ">>" work on floating point numbers in core Perl, it changes how "<<" and ">>" worked on Math::BigFloat objects. This is a corner case, but any code currently using "<<" and ">>" on Math::BigFloat objects might need to be modified as follows
      • $x >>= $y should be changed to $x -> brsft($y) $x <<= $y should be changed to $x -> blsft($y) $x >> $y should be changed to $x -> copy() -> brsft($y) $x << $y should be changed to $x -> copy() -> blsft($y)

Modules

arbitrary size floating point math package
arbitrary size integer math package
pure Perl module to support Math::BigInt
virtual parent class for Math::BigInt libraries