2件ヒット
[1-2件を表示]
(0.019秒)
ライブラリ
- ビルトイン (2)
検索結果
-
Bignum
# to _ f -> Float (54310.0) -
値を浮動小数点数(Float)に変換します。
値を浮動小数点数(Float)に変換します。 -
Bignum
# eql?(other) -> bool (43.0) -
self と other のクラスが等しくかつ同じ値である場合に true を返します。 そうでない場合に false を返します。
self と other のクラスが等しくかつ同じ値である場合に true を返します。
そうでない場合に false を返します。
@param other self と比較したい数値。
(1 << 64) == (1 << 64).to_f # => true
(1 << 64).eql?((1 << 64).to_f) # => false