るりまサーチ

最速Rubyリファレンスマニュアル検索!
8件ヒット [1-8件を表示] (0.088秒)
トップページ > クエリ:-[x] > クエリ:FALSE[x] > クエリ:Rational[x] > クラス:Numeric[x]

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method new
  4. irb/input-method gets
  5. matrix -

ライブラリ

検索結果

Numeric#finite? -> bool (129.0)

self の絶対値が有限値の場合に true を、そうでない場合に false を返します。

...値の場合に true を、そうでない場合に false を返します。

//emlist[例][ruby]{
10.finite? # => true
Rational
(3).finite? # => true

Float::INFINITY.finite? # => false
Float::INFINITY.is_a?(Numeric) # => true
//}

@see Numeric#infinite?...