e$B$^$D$b$He(B e$B$f$-$R$m$G$9e(B
In message “Re: [ruby-dev:29042] Re: Fixnum on IL32LLP64 (was Re:
problem in bignorm)”
on Tue, 18 Jul 2006 01:40:09 +0900, “U.Nakamura”
[email protected] writes:
|# 1.8.5e$B$H$+!“M%@hEY$N9b$$OC$,$”$l$P$3$C$A$O8e2s$7$G$h$5$2!#e(B
|
|In message “[ruby-dev:29025] Re: Fixnum on IL32LLP64 (was Re: problem in bignorm)”
| on Jul.13,2006 00:40:15, [email protected] wrote:
|| |(5) FIX2LONG(v)e$B!"e(BFIX2ULONG(v)e$B$b$=$l$>$le(BSIGNED_VALUEe$B!“e(BVALUEe$B$re(B
|| | e$BJV$9e(B
|| |
|| |e$B$h$&$K$J$k$Y$-$@$H;W$&$N$G$9$,!”$^$@$J$C$F$$$^$;$s!#e(B
||
|| e$B3N$+$K!#8e$G$d$C$F$*$-$^$9!#e(B
|
|e$B$3$l$G!"e(B2 ** 32 == 0 e$B$Oe(B true e$B$8$c$J$/$J$j$^$7$?!#e(B
|e$B$,!"e(Bp 2 ** 32 e$B$O0MA3$H$7$Fe(B 0 e$B$H=PNO$5$l$^$9!#e(B
|
|e$B$J$s$G$+$H$$$&$H!“e(Brb_fix2str()e$B$NCf$Ge(BFIX2LONGe$B$N7k2L$re(Blonge$B$G<ue(B
|e$B$1$F$k$N$,860x$G!”$3$l$O3:Ev$NJQ?t@k8@$re(BSIGNED_VALUEe$B$KJQ$($le(B
|e$B$P$9$0$K2r7h$7$^$9!#e(B
e$B$&!<$`!"$d$O$j<B5!$,$J$$$HFq$7$$$b$N$G$9$M!#e(B
|e$B$H!“$$$&$h$&$J46$8$G!“e(BFIX2LONGe$B!“e(BFIX2ULONGe$B$re(Blonge$B$J$je(Bunsigned long
|e$B$J$j$G<u$1$F$k$H$3$m$O$^$@$^$@$$$C$Q$$$”$C$F!”$*$=$i$/$=$NB?e(B
|e$B$/$GBP1~$,I,MW$G$9!#e(B
|e$B$^$?!“e(Bsprintf()e$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