Mercurial > octave
view .gitattributes @ 30261:a49c635b179d
isprime.m: Speed up for large integers using Miller-Rabin test (bug #61312).
* libinterp/corefcn/__isprimelarge__.cc: Implement Miller-Rabin test.
* libinterp/corefcn/module.mk: Add new file to build system.
* scripts/specfun/isprime.m: Use new function for large integers.
* scripts/specfun/factor.m: Use "isprime" that is now more efficient.
* NEWS: Add note about performance improvement.
author | Arun Giridhar <arungiridhar@gmail.com> |
---|---|
date | Fri, 29 Oct 2021 20:48:47 -0400 |
parents | c6f9ff84dc84 |
children |