1件ヒット
[1-1件を表示]
(0.039秒)
ライブラリ
- ビルトイン (1)
検索結果
-
Numeric
# imaginary -> 0 (54607.0) -
常に 0 を返します。
...常に 0 を返します。
//emlist[例][ruby]{
12.imag # => 0
-12.imag # => 0
1.2.imag # => 0
-1.2.imag # => 0
//}
Numeric のサブクラスは、このメソッドを適切に再定義しなければなりません。
@see Numeric#real、Complex#imag...