cpan Math-BigInt 1.68

latest releases: 2.003002, 2.003001, 2.002001...
20 years ago
  • bfac(inf) is inf, not NaN
  • added alias names: as_int() (as_number()), is_pos(), is_neg() and doc
  • factored out all the emulation code and moved it to Math::BigInt::CalcEmu
  • binary/hexadecimal input was twice as slow as v1.66 due to a typo in v1.67
  • streamlined overload for boolean context (20% faster "... if $x;")
  • round() was missing a croak() in path testing for wrong roundmode
  • badd(): optimize away setting of sign if it is already right
  • bdec() is about 10% faster for negative numbers
  • bpow(): removed some now needless tests for 0 and 1: about 30% faster
    for small numbers
  • streamlined exponent() (parts() benefits from this, too)

Don't miss a new Math-BigInt release

NewReleases is sending notifications on new releases.