[Bug:1.9.1] rubyspec: BigDecimal#div returns NaN if divided by zero and no precision given ERROR

Yugui e$B$5$se(B
e$B1sF#$G$9!#e(B

trunk e$B$G$O!"e(BBigDecimal e$B$N=|;;$,e(B NaN e$B$G$J$/e(B
ZeroDivisionError e$B$re(B
e$BEj$2$k$h$&$K$J$C$F$$$^$9e(B (r20368 e$B!"e(Br20383) e$B!#e(B

e$B$3$l$O!"e(B1.9.1 e$B$K%P%C%/%]!<%H$5$l$k$G$7$g$&$+!#e(B
1.9.2 e$B$+$i$N;EMMJQ99$H$J$k$G$7$g$&$+!#e(B

Yuguie$B$G$9!#e(B

On 2/1/10 2:10 AM, Yusuke ENDOH wrote:

trunk e$B$G$O!"e(BBigDecimal e$B$N=|;;$,e(B NaN e$B$G$J$/e(B ZeroDivisionError e$B$re(B
e$BEj$2$k$h$&$K$J$C$F$$$^$9e(B (r20368 e$B!"e(Br20383) e$B!#e(B

e$B$3$l$O!"e(B1.9.1 e$B$K%P%C%/%]!<%H$5$l$k$G$7$g$&$+!#e(B
1.9.2 e$B$+$i$N;EMMJQ99$H$J$k$G$7$g$&$+!#e(B

[email protected][email protected]$($P!"%P%C%/%]!<%H$O$7$^$;$s!#e(B1.8e$B$G$b$:$C$H$=$&$$$&5sF0$G$7$?e(B
e$B$7!"$3$l$O;EMMJQ99$HG’<1$7$^$9!#e(B

e$B?t3X7O$N%i%$%V%i%j$GL58BBge(B/e$BL58B>.e(B/e$BFC0[[email protected]$^$o$j$O$+$J$j5sF0$,$$$$2C8:$J$Ne(B
e$B$Ge(B(e$B$=$b$=$b$Ne(Blibme$B$9$i$be(B)e$B!"e(Bmrkne$B$5$s$b%3%_%C%?$K$J$C$?:#!“e(B2.0e$B$K8~$1$F%f!<e(B
e$B%6!<$,M=B,2DG=$+$D9gM}E*$J;EMM$r:n$C$F$$$/$3$H$K0[[email protected]$O$”$j$^$;$s!#[email protected]!"e(B
e$B$3$l$re(B1.9.1e$B$K$O4pK\E*$K%P%C%/%]!<%H$7$^$;$s!#e(B

e$B$^$?!"$3$l$i$N5sF0$,3d$He(Bunstablee$B$G$"$k$3$H$Oe(B1.9.2e$B%j%j!<%9;[email protected]$9$Y$-e(B
[email protected]$H;W$C$F$$$^$9!#e(B

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs