version 1.8, 2003/04/19 15:44:59 |
version 1.10, 2003/12/20 20:02:28 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/num.texi,v 1.7 2002/09/03 01:50:59 noro Exp $ |
@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/num.texi,v 1.9 2003/12/18 10:26:20 ohara Exp $ |
\BJP |
\BJP |
@node $B?t$N1i;;(B,,, $BAH$_9~$_H!?t(B |
@node $B?t$N1i;;(B,,, $BAH$_9~$_H!?t(B |
@section $B?t$N1i;;(B |
@section $B?t$N1i;;(B |
|
|
* fac:: |
* fac:: |
* igcd igcdcntl:: |
* igcd igcdcntl:: |
* ilcm:: |
* ilcm:: |
|
* isqrt:: |
* inv:: |
* inv:: |
* prime lprime:: |
* prime lprime:: |
* random:: |
* random:: |
Line 285 If one of argument is equal to 0, the return 0. |
|
Line 286 If one of argument is equal to 0, the return 0. |
|
\JP @item $B;2>H(B |
\JP @item $B;2>H(B |
\EG @item References |
\EG @item References |
@fref{igcd igcdcntl}, @fref{mt_save mt_load}. |
@fref{igcd igcdcntl}, @fref{mt_save mt_load}. |
|
@end table |
|
|
|
\JP @node isqrt,,, $B?t$N1i;;(B |
|
\EG @node isqrt,,, Numbers |
|
@subsection @code{isqrt} |
|
@findex isqrt |
|
|
|
@table @t |
|
@item isqrt(@var{n}) |
|
\JP :: $BJ?J}:,$r1[$($J$$:GBg$N@0?t$r5a$a$k(B. |
|
\EG :: The integer square root of @var{n}. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
\JP $BHsIi@0?t(B |
|
\EG non-negative integer |
|
@item n |
|
\JP $BHsIi@0?t(B |
|
\EG non-negative integer |
@end table |
@end table |
|
|
\JP @node inv,,, $B?t$N1i;;(B |
\JP @node inv,,, $B?t$N1i;;(B |