1346件ヒット
[101-200件を表示]
(0.056秒)
クラス
- Bignum (33)
- Complex (115)
- Enumerator (11)
-
Enumerator
:: Chain (6) -
Enumerator
:: Lazy (75) - Fixnum (30)
- Float (475)
- Integer (92)
- NilClass (11)
- Numeric (167)
- Object (11)
-
Process
:: Tms (44) - Random (33)
- Range (56)
- Rational (88)
- String (55)
- Time (33)
モジュール
- Enumerable (11)
キーワード
- % (28)
- * (28)
- ** (39)
- + (28)
- - (50)
- -@ (22)
-
/ (38) - < (11)
- <= (11)
- <=> (11)
- == (11)
- > (11)
- >= (11)
- abs (22)
- angle (22)
- arg (22)
- bsearch (22)
- ceil (15)
- coerce (11)
- cstime (11)
- cutime (11)
- denominator (22)
- div (17)
- divmod (11)
- each (22)
-
enum
_ for (22) - eql? (11)
- fdiv (50)
- finite? (27)
- floor (16)
- grep (11)
-
grep
_ v (9) - hash (11)
- hex (11)
- infinite? (27)
- inspect (22)
- lazy (22)
- magnitude (22)
- modulo (17)
- nan? (11)
- negative? (9)
-
next
_ float (10) - numerator (22)
- oct (11)
- overlap? (1)
- phase (22)
- positive? (9)
- pow (22)
-
prev
_ float (10) - quo (22)
- rand (33)
- rationalize (22)
- remainder (3)
- round (23)
-
singleton
_ class (11) - size (28)
- step (84)
- stime (11)
-
to
_ enum (22) -
to
_ f (83) -
to
_ i (22) -
to
_ r (11) -
to
_ s (22) - truncate (15)
- utime (11)
- zero? (11)
検索結果
先頭5件
-
Float
# %(other) -> Float (21105.0) -
算術演算子。剰余を計算します。
算術演算子。剰余を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 剰余
3.0 % 1.2 # => 0.6000000000000001
3.0 % 0.0 # ZeroDivisionError
//} -
Float
# abs -> Float (21105.0) -
自身の絶対値を返します。
自身の絶対値を返します。
//emlist[例][ruby]{
34.56.abs # => 34.56
-34.56.abs # => 34.56
//} -
Float
# magnitude -> Float (21105.0) -
自身の絶対値を返します。
自身の絶対値を返します。
//emlist[例][ruby]{
34.56.abs # => 34.56
-34.56.abs # => 34.56
//} -
Float
# modulo(other) -> Float (21105.0) -
算術演算子。剰余を計算します。
算術演算子。剰余を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 剰余
3.0 % 1.2 # => 0.6000000000000001
3.0 % 0.0 # ZeroDivisionError
//} -
Float
# *(other) -> Float (21104.0) -
算術演算子。積を計算します。
算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 積
2.4 * 3 # => 7.2
//} -
Float
# **(other) -> Float (21104.0) -
算術演算子。冪を計算します。
算術演算子。冪を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 冪
1.2 ** 3.0 # => 1.7279999999999998
3.0 + 4.5 - 1.3 / 2.4 * 3 % 1.2 ** 3.0 # => 5.875
0.0 ** 0 # => 1.0
//} -
Float
# +(other) -> Float (21104.0) -
算術演算子。和を計算します。
算術演算子。和を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 和
3.0 + 4.5 # => 7.5
//} -
Float
# -(other) -> Float (21104.0) -
算術演算子。差を計算します。
算術演算子。差を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 差
4.5 - 1.3 # => 3.2
//} -
Float
# -@ -> Float (21104.0) -
単項演算子の - です。 self の符号を反転させたものを返します。
単項演算子の - です。
self の符号を反転させたものを返します。
//emlist[例][ruby]{
- 1.2 # => -1.2
- -1.2 # => 1.2
//} -
Float
# / (other) -> Float (21104.0) -
算術演算子。商を計算します。
算術演算子。商を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 商
1.3 / 2.4 # => 0.541666666666667
1.0 / 0 # => Infinity
//}