Changes for version 0.10 - 2017-07-09
- ADDITIONS
- Added the `exp2(x)` and `exp10(x)` functions.
- Added the `ipow2(x)` and `ipow10(x)` functions.
- Added the `falling_factorial(n, k)` and `rising_factorial(n, k)` functions.
- PERFORMANCE IMPROVEMENTS
- Faster stringification of floating-point numbers (including complex numbers).
- Optimization in `mfactorial(n, m)` for native integers.
- Optimization in `binomial(n, k)` for values of `n` that fit inside an unsigned integer.
- FIXES
- Fixed `eta(NaN)` to return `NaN` instead of `log(2)`.
- Fixed `atanh(NaN)` to return `NaN` instead of `NaN+NaNi`.
- Fixed the return value of `lgrt(+i)` and `lgrt(-i)`.
Modules
Arbitrary size precision for integers, rationals, floating-points and complex numbers.
Examples
- examples/agm_pi.pl
- examples/arithmetic_coding.pl
- examples/bernoulli_numbers_recursive.pl
- examples/bernoulli_seidel.pl
- examples/binary_arithmetic_coding.pl
- examples/binradix_arithmetic_coding.pl
- examples/computing_pi.pl
- examples/faulhaber_s_formula.pl
- examples/fibonacci.pl
- examples/fibonacci_validation.pl
- examples/halley_s_method.pl
- examples/inverse_of_factorial.pl
- examples/is_power.pl
- examples/lambert_W.pl
- examples/miller_rabin_primality_test.pl
- examples/newton_s_method.pl
- examples/pi_machin.pl
- examples/power_pairs.pl
- examples/prime_count_approx.pl
- examples/rsa_algorithm.pl
- examples/solve_pell_equation.pl
- examples/tac-compressor.pl
- examples/tribonacci.pl
- examples/zeta_2n.pl
- examples/zeta_2n_fast.pl