instance method Bignum#quo
quo(other) -> Rational
[redefined by rational]-
商を計算して計算結果を Rational オブジェクトで返します。
- [PARAM] other:
- 自身を割る数
例:
(1<<32).quo(2) # => Rational(2147483648, 1)
class Bignum
quo(other) -> Rational
[redefined by rational]
商を計算して計算結果を Rational オブジェクトで返します。
例:
(1<<32).quo(2) # => Rational(2147483648, 1)