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

Changes for version 4.0

  • Add Rmpfr_free_cache2 and Rmpfr_free_pool.
  • Add MPFR_RNDF rounding mode
  • Fix bug in Rmpfr_cmp_NV and add the tests (test 8 in t/nan_cmp.t) that would have detected it. The bug affected only quadmath builds of perl, and only then if CAN_PASS_FLOAT128 was not defined.
  • Improve performance of Rmpfr_set_NV and Rmpfr_cmp_NV for quadmath builds of perl where CAN_PASS_FLOAT128 is not defined.
  • Add Rmpfr_rootn_ui (mpfr-4.0.0 and later only).
  • Add tests to Rmpfr_get_q.t to check that Rmpfr_get_q canonicalizes the rational. (Trizen pointed out that, with 4.0.0-RC1, mpfr_get_q did NOT canonicalize.)

Modules

perl interface to the MPFR (floating point) library.

Provides

in Prec/Prec.pm
in Random/Random.pm
in V/V.pm