Bignum#div

1.9 e$B$G$O!"e(BBignum#div e$B$,e(B Bignum#/
e$B$H$^$C$?$/F1$8$K$J$C$F$$$k$h$&$G!“e(B
[email protected]$7$$7k2L$,[email protected]$i$l$J$$$3$H$,$”$j$^$9!#e(B

$ ruby18 -r rational -e ‘p 1073741824.div(Rational(3,2))’
715827882

$ ruby19 -r rational -e ‘p 1073741824.div(Rational(3,2))’
Rational(2147483648, 3)

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