version 1.49, 2014/12/14 01:06:44 |
version 1.50, 2015/08/08 06:28:38 |
|
|
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.48 2014/05/29 13:18:18 ohara Exp $ |
%% $OpenXM: OpenXM/src/asir-doc/exp/exp-ja.texi,v 1.49 2014/12/14 01:06:44 takayama Exp $ |
\input texinfo |
\input texinfo |
@iftex |
@iftex |
@catcode`@#=6 |
@catcode`@#=6 |
|
|
@end itemize |
@end itemize |
|
|
|
|
@comment ----------- $B0J2<$O8+K\(B. $B>C$9$J(B. template |
@node pari,,, $B<B83E*;EMM$N4X?t(B |
|
@subsection @code{pari}, @code{setbprec},@code{setround},@code{todouble},@code{mpfr_gamma},@code{mpfr_floor},@code{mpfr_round}, |
|
@findex pari |
|
@findex setbprec |
|
@findex setround |
|
@findex todouble |
|
@findex mpfr_gamma |
|
@findex mpfr_floor |
|
@findex mpfr_round |
|
|
|
@comment --- $B4X?t$N4JC1$J@bL@(B --- |
|
@comment --- @itemx $B$OJ#?t$KBP$7$F@bL@$r0l$D$D$1$k>l9g$K;H$&(B --- |
|
@table @t |
|
@item pari(@var{arg1},@var{arg2},...) |
|
:: MPFR $B$G(B pari $B$N4X?t$r(B emulate $B$9$k$+(B ox_pari $B%5!<%P!<$r8F$S=P$9(B. |
|
@itemx setbprec(@var{arg1}) |
|
@itemx setround(@var{arg1}) |
|
$B4]$a$NJ}K!$N;XDj(B. mpfr $B=`5r(B. |
|
@itemx todouble(@var{arg1}) |
|
:: bigfloat $B7?$r(B double $B$KJQ49$9$k(B. |
|
@itemx mpfr_gamma(@var{arg1}) |
|
:: gamma $B4X?t$N7W;;(B. |
|
@itemx mpfr_floor(@var{arg1}) |
|
:: floor $B$N7W;;(B. |
|
@itemx mpfr_round(@var{arg1}) |
|
:: $B4]$a$N7W;;(B. |
|
@end table |
|
|
|
@table @var |
|
@item return |
|
$B8e=R(B. |
|
@item arg1, arg2 |
|
$B8e=R(B. |
|
@end table |
|
|
|
@itemize @bullet |
|
@item 20150807 $B0J9_$N(B asir $B$G$O(B, bigfloat $B$,(B pari $B$G$O$J$/(B mpfr $B$rMQ$$$F7W;;$5$l$k(B. |
|
Todo, pari $B$O(B ox_pari $B$r8F$S=P$9$,(B, $B$^$@(B ox_pari $B$KL$<BAu$N5!G=$,B?$/$"$k(B. |
|
$B6h4V1i;;$X$NBP1~$O9T$C$F$$$J$$(B. |
|
@item |
|
pari(floor,@var{arg1}), |
|
pari(round,@var{arg1}), |
|
pari(gamma,@var{arg1}) |
|
$B$O(B mpfr $B$G(B pari $B$r(B emulate $B$7$F$$$k$N$G(B, $BF0:n$,0[$J$k(B. |
|
$BFC$K(B gamma $B$OJ#AG?t$N0z?t$r<u$1<h$i$J$$(B. |
|
pari $B$N(B floor $B$O7e?t$,B-$j$J$/$J$k$H%(%i!<$G=*N;$7$?$,(B, |
|
$B$3$N(B floor $B$G$O(B setprec $B$G;XDj$7$?7e?t0JFb$J$i@5$7$/(B floor $B$rLa$9(B. |
|
Todo, ox_pari $B$r;XDj$7$F8F$S=P$9J}K!(B. |
|
@end itemize |
|
|
|
@example |
|
[219] ctrl("bigfloat",1)$ |
|
[220] setprec(100)$ |
|
[221] pari(floor,1111111111111.1+1/10); |
|
1111111111111 |
|
@end example |
|
|
|
@table @t |
|
@item $B;2>H(B |
|
@ref{pari} |
|
@end table |
|
|
|
@comment --- ChangeLog $B$r=q$/(B. $BF05!(B. $B%=!<%9%3!<%I$N0LCV(B. $BJQ99F|;~(B $B$J$I(B CVS$B%5!<%P$r8+$k$?$a(B |
|
@comment --- openxm $B$N30It$+$i$N4sM?$b=R$Y$k(B. Credit. |
|
@noindent |
|
ChangeLog |
|
@itemize @bullet |
|
@item $B$3$l$i$NBgJQ99$O(B 2015-08-03 $B$h$j(B 08-07 $B$N(B asir $B9g=I$G$*$3$J$o$l$?(B. |
|
$B$^$@:n6HCf(B. Todo, asirgui $B$X$NBP1~(B. debug, ... |
|
@item $BJQ99$r$&$1$?%=!<%9%3!<%I$O(B asir2000/builtin/bfaux.c, |
|
asir2000/engine/bf.c, asir2000/builtin/parif.c $BEyB??t(B. |
|
@end itemize |
|
|
@comment **************************************************************** |
@comment **************************************************************** |
@comment --- $B"~"~"~"~(B $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B |
@comment --- $B"~"~"~"~(B $B0J2<B>$N4X?t$K$D$$$F??;w$7$F5-=R$9$k(B. $B"~"~"~"~(B |
@comment $B?7$7$$4X?t$N@bL@$r=q$/$?$a$N%F%s%W%l!<%H$G$"$k(B. $B>C$9$J(B. |
@comment $B?7$7$$4X?t$N@bL@$r=q$/$?$a$N%F%s%W%l!<%H$G$"$k(B. $B>C$9$J(B. |