7件ヒット
[1-7件を表示]
(0.160秒)
検索結果
先頭5件
-
Complex
# <(other) -> bool (9610.0) -
@undef
@undef -
Complex
# <=(other) -> bool (9610.0) -
@undef
@undef -
Complex
# ==(other) -> bool (9610.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 (9610.0) -
@undef
@undef -
Complex
# >=(other) -> bool (9610.0) -
@undef
@undef -
Complex
# between?(min , max) -> bool (9610.0) -
@undef
@undef -
Complex
# finite? -> bool (9610.0) -
実部と虚部の両方が有限値の場合に true を、そうでない場合に false を返します。
...実部と虚部の両方が有限値の場合に true を、そうでない場合に false を返します。
//emlist[例][ruby]{
(1 + 1i).finite? # => true
(Float::INFINITY + 1i).finite? # => false
//}
@see Complex#infinite?...