るりまサーチ

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

別のキーワード

  1. socket bool
  2. option bool
  3. variant vt_bool
  4. win32ole vt_bool
  5. bool socket

ライブラリ

キーワード

検索結果

Complex#<(other) -> bool (102.0)

@undef

@undef

Complex#<=(other) -> bool (102.0)

@undef

@undef

Complex#==(other) -> bool (102.0)

数値として等しいか判定します。

...数値として等しいか判定します。

@param other 自身と比較する数値

//emlist[例][ruby]{
Complex
(2, 1) == Complex(1) # => false
Complex
(1, 0) == Complex(1) # => true
Complex
(1, 0) == 1 # => true
//}...

Complex#>(other) -> bool (102.0)

@undef

@undef

Complex#>=(other) -> bool (102.0)

@undef

@undef

絞り込み条件を変える

Complex#between?(min, max) -> bool (102.0)

@undef

@undef

Complex#finite? -> bool (102.0)

実部と虚部の両方が有限値の場合に true を、そうでない場合に false を返します。

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

//emlist[例][ruby]{
(1 + 1i).finite? # => true
(Float::INFINITY + 1i).finite? # => false
//}

@see Complex#infinite?...
...実部と虚部の両方が有限値の場合に true を、そうでない場合に false を返します。

//emlist[例][ruby]{
(1 + 1i).finite? # => true
(Float::INFINITY + 1i).finite? # => false
//}

@see Complex#infinite?...