Skip to content

Version 23.10

Choose a tag to compare

@trizen trizen released this 17 Oct 05:03
· 850 commits to master since this release
23.10
adbff39

Additions

  • Added the Number Num!USE_PARI_GP class-variable (disabled by default). (12fe3db bd13ad0)
  • Added the Number Num!USE_CONJECTURES class-variable (disabled by default). (43b8165)
  • Added the Number is_bfw_psp(n) method. (218aa60)
  • Added support for parsing polynomials as Poly(str). (819a5ae)
  • Added the Array .bsearch_min{...}, .bsearch_max{...}, .bindex_min{...} and .bindex_max{...} methods. (70d81cb)
  • Added the File.link and File.symlink methods. (cf029ea 379f1a6)
  • Added support for method-name completion in the REPL. (3d5c1ba 1d2f6a9)
  • Added the Array arr.ordered_partitions(k, { ... }) method. (6378d47)

Improvements

  • Extended the include("file.sf") statement. (865857f)
  • Use a cryptographically-secure pseudorandom number generator in the Number irand method. (5e5c7e4)
  • Improved the Number primality_pretest(n) method for n > 10^1000. (38f844b)
  • Better performance in computing the modular Lucas V and U sequences. (1dbbf7e, 919bfb3)
  • Use is_almost_extra_strong_lucas_pseudoprime in Number all_prime and is_safe_prime. (d066781)
  • Slightly better performance in the generation of native k-powerful numbers. (5e5c7e4)
  • Slightly better performance in Number is_square(n), is_cube(n) and is_power(n,k) for native integers. (3bbff08)
  • Minor performance tweaks inside Number special_factor(n). (68a6048)
  • Better bounds in Number nth_powerfree(n,k) for k = 2. (e001622)
  • Much better performance in Number next_perfect_power(n) and prev_perfect_power(n). (81af8f0)

Changes

  • Changed the Number is_prob_prime(n) method to use the Frobenius-Underwood test. (38f844b)
  • Perl.to_sidef(): parse numbers with a decimal point, as floating-point numbers. (4f34c47)
  • Return a Sidef::Module::OO object from Block.thread(). (76c87b2)

Bug-fixes

  • No longer use integer in Number smooth_count. (2be1792)
  • Extended the Matrix .pow(n) method to accept an arbitrary large integer. (574d6a5)
  • Fixed a performance issue in Number prime_count(a,b) when a and b are close to each other. (7e53839)
  • Fixed a segmentation fault in Regex lt, le, gt and ge methods. (9626332)
  • Fixed a segmentation fault in Array .le, .lt, .gt and .ge methods. (5d543a8)
  • Fixed a right-shift issue for native integers with perl < 5.24.0. (67a636a d1ee265)

All changes: 23.08...23.10