Changes for version 0.13 - 2016-07-10
- Added the `bernfrac` method, powered by an improved version of Seidel's algorithm.
- Stricter validation of the precision specified as an import value.
- Minor bug-fix in the method `is_pow` for `is_pow(-1, odd_n)` -- it now returns true.
- Fixed some special cases in the method `iroot`.
- Fixed a special case in the method `valuation` when the second argument is `0`.
Modules
Arbitrary size precision for integers, rationals and floating-point numbers.
Represents the +/-Infinity value.
Represents the Not-a-Number value.
Examples
- examples/agm_pi.pl
- examples/arithmetic_coding.pl
- examples/bernoulli_numbers_recursive.pl
- examples/binary_arithmetic_coding.pl
- examples/binradix_arithmetic_coding.pl
- examples/closed_form_fib.pl
- examples/coin_change.pl
- examples/computing_pi.pl
- examples/faulhaber_s_formula.pl
- examples/fibonacci_validation.pl
- examples/inverse_of_factorial.pl
- examples/is_power.pl
- examples/miller_rabin_primality_test.pl
- examples/pi_machin.pl
- examples/power_pairs.pl
- examples/prime_count_approx.pl
- examples/rsa_algorithm.pl
- examples/tac-compressor.pl
- examples/zeta_2n.pl