Mercurial > octave
view .dir-locals.el @ 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 | df203b20cfc6 |
children |
line wrap: on
line source
((nil . ((c-file-style . "gnu") (indent-tabs-mode . nil) (fill-column . 72))) (change-log-mode . ((indent-tabs-mode . t))) (makefile-mode . ((indent-tabs-mode . t))))