version 1.7, 2002/09/03 01:50:59 |
version 1.10, 2003/12/20 20:02:28 |
|
|
@comment $OpenXM: OpenXM/src/asir-doc/parts/builtin/num.texi,v 1.6 2002/08/08 05:24:37 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 数の演算,,, 組み込み函数 |
@node 数の演算,,, 組み込み函数 |
@section 数の演算 |
@section 数の演算 |
|
|
* fac:: |
* fac:: |
* igcd igcdcntl:: |
* igcd igcdcntl:: |
* ilcm:: |
* ilcm:: |
|
* isqrt:: |
* inv:: |
* inv:: |
* prime lprime:: |
* prime lprime:: |
* random:: |
* random:: |
|
|
@item return |
@item return |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@item i1,i2 |
@item i1 i2 |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@end table |
@end table |
Line 159 Returns 0 if the argument @var{i} is negative. |
|
Line 160 Returns 0 if the argument @var{i} is negative. |
|
@item return |
@item return |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@item i1,i2,i |
@item i1 i2 i |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@end table |
@end table |
Line 260 In most cases @code{3} is the fastest, but there are e |
|
Line 261 In most cases @code{3} is the fastest, but there are e |
|
@item return |
@item return |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@item i1,i2 |
@item i1 i2 |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@end table |
@end table |
Line 287 If one of argument is equal to 0, the return 0. |
|
Line 288 If one of argument is equal to 0, the return 0. |
|
@fref{igcd igcdcntl}, @fref{mt_save mt_load}. |
@fref{igcd igcdcntl}, @fref{mt_save mt_load}. |
@end table |
@end table |
|
|
|
\JP @node isqrt,,, 数の演算 |
|
\EG @node isqrt,,, Numbers |
|
@subsection @code{isqrt} |
|
@findex isqrt |
|
|
|
@table @t |
|
@item isqrt(@var{n}) |
|
\JP :: 平方根を越えない最大の整数を求める. |
|
\EG :: The integer square root of @var{n}. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
\JP 非負整数 |
|
\EG non-negative integer |
|
@item n |
|
\JP 非負整数 |
|
\EG non-negative integer |
|
@end table |
|
|
\JP @node inv,,, 数の演算 |
\JP @node inv,,, 数の演算 |
\EG @node inv,,, Numbers |
\EG @node inv,,, Numbers |
@subsection @code{inv} |
@subsection @code{inv} |
Line 302 If one of argument is equal to 0, the return 0. |
|
Line 323 If one of argument is equal to 0, the return 0. |
|
@item return |
@item return |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@item i,m |
@item i m |
\JP 整数 |
\JP 整数 |
\EG integer |
\EG integer |
@end table |
@end table |