Changes for version 0.15 - 2016-10-24
- ADDED
- Unimport support.
- no Math::BigNum; # disables the `:constant` behavior in the current scope
- Added the `new_int()` and `new_uint()` methods for setting signed and unsigned native integers.
- Unimport support.
- PERFORMANCE IMPROVEMENTS
- Noticeable optimizations in method `is_pow`. (Thanks to Dana Jacobsen)
- Minor optimization in `bernfrac()` for values of n < 50.
- Faster algorithm in `bernfrac()` for values of `n` >= 50. (based on the Zeta function)
- Faster algorithm in `bernreal()`, using positive values of the Zeta function. (before, negative values were used)
- BUG FIXES
- When a base is specified, special values, such "Inf" and "NaN", are no longer parsed specially.
- Math::BigNum->new('inf', 36) == 24171
- Math::BigNum->new('num', 36) == 30191
- When a base is specified, special values, such "Inf" and "NaN", are no longer parsed specially.
- OTHER
- Documentation improvements.
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