Changes for version 0.17 - 2017-01-01
- ADDED
- isqrtrem(n) : the integer square root and the remainder.
- irootrem(n) : the integer nth root and the remainder.
- eta(n) : the Dirichlet eta function at n.
- beta(x,y) : the beta function (for x > 0 and y > 0).
- lambert_w(x) : the Lambert W function (for x >= -1/e)
- rad2deg(n) : converts radians to degrees
- deg2rad(n) : converts degrees to radians
- bessel_j(x,n) : the first order Bessel function: J_n(x).
- bessel_y(x,n) : the second order Bessel function: Y_n(x).
- FIXES
- Fixed the accuracy in the method bernreal() for small n.
- Fixed a special case in the method irand() when the self value is 0.
- irand(0) = 0
- OTHER
- Minor optimization in the decimal expansion of non-integers.
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