Changes for version 0.16 - 2016-12-11

  • ADDED
    • Added two methods for computing the nth-Harmonic number:
      • harmfrac(n)
      • harmreal(n)
    • Added two methods for reseeding the pseudorandom number generator:
      • seed(n)
      • iseed(n)
  • IMPROVEMENTS
    • Extended the method digits() to accept an optional base.
      • digits(4095, 16) #=> ('f', 'f', 'f')
  • BUG FIXES
    • Using threads in some parts of the program, will no longer cause a segmentation fault.
    • However, Math::BigNum is not thread-safe, therefore using Math::BigNum objects inside threads, still causes a segmentation fault.

Modules

Arbitrary size precision for integers, rationals and floating-point numbers.
Represents the +/-Infinity value.
Represents the Not-a-Number value.