The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.24 - 2018-05-06

  • ADDITIONS
    • Added the `sumdigits(n, b)` function, to sum the digits of `n` in base `b`.
    • Added the `approx_cmp(x, y, [k])` function, to compare two numbers by first rounding them to k-th decimal places.
    • Extended the `fibonacci()` function to accept an optional argument specifying the order of the Fibonacci numbers (2 = Fibonacci, 3 = Tribonacci, 4 = Tetranacci, ...).
  • IMPROVEMENTS
    • Minor optimization in `ipow(n,k)` when `k` is an object and `n` is a native unsigned integer.

Modules

Arbitrary size precision for integers, rationals, floating-points and complex numbers.