Mercurial > octave
diff libinterp/corefcn/__isprimelarge__.cc @ 30354:c980f938fdd8 stable
doc: grammarcheck C++ files in libinterp/ directory ahead of 7.1 release.
* __isprimelarge__.cc, defaults.cc, input.cc, jsondecode.cc, oct-hist.cc,
qr.cc, ov.cc: grammarcheck C++ files ahead of 7.1 release.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 24 Nov 2021 19:42:29 -0800 |
parents | a49c635b179d |
children | 7f246cfeceda c33284f08090 |
line wrap: on
line diff
--- a/libinterp/corefcn/__isprimelarge__.cc Wed Nov 24 14:57:21 2021 -0800 +++ b/libinterp/corefcn/__isprimelarge__.cc Wed Nov 24 19:42:29 2021 -0800 @@ -148,9 +148,9 @@ DEFUN (__isprimelarge__, args, , doc: /* -*- texinfo -*- -@deftypefn {} {@var{x} =} __isprimelarge__ (@var{n}) +@deftypefn {} {@var{x} =} __isprimelarge__ (@var{n}) Use the Miller-Rabin test to find out whether the elements of N are prime or -composite. The input N is required to be a vector or array of 64-bit integers. +composite. The input N is required to be a vector or array of 64-bit integers. You should call isprime(N) instead of directly calling this function. @seealso{isprime, factor}