11件ヒット
[1-11件を表示]
(0.212秒)
ライブラリ
- ビルトイン (11)
検索結果
先頭1件
-
Numeric (8227.0)
-
数値を表す抽象クラスです。Integer や Float などの数値クラス は Numeric のサブクラスとして実装されています。
...を表す抽象クラスです。Integer や Float などの数値クラス
は Numeric のサブクラスとして実装されています。
演算や比較を行うメソッド(+, -, *, /, <=>)は Numeric のサブクラスで定義されま
す。Numeric で定義されているメソッドは......o - - - - - o
Numeric Integer Fixnum Bignum Float Rational Complex
-------------------------------------------------------------------------------------------
denominator |......ct | - - o o o o o
integer? | o o - - - - -
lcm | - o - - - - -
magnitude |......=> ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-darwin15]
Numeric Integer Float Rational Complex
--------------------------------------------------------------------------------
% | o o o -......- - -
lcm | - o - - -
Numeric Integer Float Rational Complex
--------------------------------------------------------------------------------
magnitude |...