2313件ヒット
[201-300件を表示]
(0.110秒)
ライブラリ
- ビルトイン (1409)
- benchmark (132)
- bigdecimal (66)
-
bigdecimal
/ newton (11) -
bigdecimal
/ util (11) - cmath (24)
- csv (33)
- fiddle (55)
- json (11)
- mathn (4)
- matrix (220)
- objspace (11)
- optparse (132)
- securerandom (11)
- stringio (11)
-
webrick
/ httpserver (11) - win32ole (33)
クラス
-
Benchmark
:: Tms (121) - BigDecimal (22)
- Bignum (30)
- CSV (22)
- Complex (66)
- Enumerator (29)
-
Enumerator
:: Chain (6) -
Enumerator
:: Lazy (75) -
Fiddle
:: Function (22) - Fixnum (27)
- Float (443)
- Integer (92)
- Matrix (132)
-
Matrix
:: EigenvalueDecomposition (11) - Numeric (167)
- OptionParser (132)
-
Process
:: Tms (44) - Random (66)
- Range (56)
- Rational (88)
- String (66)
- StringIO (11)
- Vector (77)
-
WEBrick
:: HTTPServer (11) -
WIN32OLE
_ TYPELIB (11) -
WIN32OLE
_ VARIANT (22)
モジュール
- Benchmark (11)
- BigMath (22)
- CMath (24)
- Enumerable (11)
- Fiddle (33)
-
GC
:: Profiler (11) -
JSON
:: Generator :: GeneratorMethods :: Float (11) - Kernel (77)
- Math (81)
- Newton (11)
- ObjectSpace (11)
- Process (11)
- SecureRandom (11)
キーワード
- % (28)
- * (39)
- ** (39)
- + (39)
- -@ (11)
-
/ (49) -
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (11) - < (11)
- <= (11)
- <=> (11)
- == (11)
- > (11)
- >= (11)
-
ALIGN
_ FLOAT (11) - BigDecimal (22)
- Converters (11)
- DIG (11)
-
MANT
_ DIG (11) -
MAX
_ 10 _ EXP (11) -
MAX
_ EXP (11) -
MIN
_ 10 _ EXP (11) -
MIN
_ EXP (11) - Marshal フォーマット (11)
-
NEWS for Ruby 2
. 0 . 0 (11) -
NEWS for Ruby 2
. 2 . 0 (10) -
NEWS for Ruby 2
. 4 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (6) -
NEWS for Ruby 2
. 7 . 0 (5) - Numeric (11)
- RADIX (11)
- ROUNDS (7)
- Ruby用語集 (11)
-
SIZEOF
_ FLOAT (11) -
TYPE
_ FLOAT (11) - []= (11)
- abs (11)
-
angle
_ with (11) - arg (22)
- bigdecimal (11)
- bsearch (22)
- call (11)
- cbrt (17)
- cbrt! (6)
- ceil (15)
-
clock
_ gettime (11) - coerce (11)
- cofactor (11)
-
cofactor
_ expansion (11) - converters (11)
- cstime (22)
- cutime (22)
- denominator (22)
- det (11)
-
det
_ e (11) - determinant (11)
-
determinant
_ e (11) - div (17)
- divmod (11)
- dot (11)
-
double
_ fig (11) - each (22)
- eigenvalues (11)
-
elements
_ to _ f (22) -
enum
_ for (22) - eql? (11)
- erf (11)
- erfc (11)
- exp (11)
- fdiv (50)
- finite? (8)
- floor (16)
- format (11)
- frexp (11)
- gamma (11)
- grep (11)
-
grep
_ v (9) - hash (11)
- hex (11)
- infinite? (8)
-
inner
_ product (11) - inspect (22)
-
laplace
_ expansion (11) - lazy (22)
- lgamma (11)
- log (11)
- magnitude (22)
- memberwise (11)
- modulo (17)
- new (51)
- norm (22)
- numerator (22)
- oct (11)
- on (132)
- overlap? (1)
-
parse
_ csv (11) - pow (22)
-
prev
_ float (10) - putc (11)
- quo (22)
- rand (88)
-
random
_ number (11) - rank (11)
- rationalize (22)
-
reachable
_ objects _ from (11) - real (11)
- realtime (11)
- remainder (3)
- round (34)
- rsqrt (4)
-
ruby 1
. 6 feature (11) - size (28)
- split (11)
- sprintf (11)
- sprintf フォーマット (11)
- sqrt (17)
- sqrt! (6)
- step (84)
- stime (22)
-
to
_ d (11) -
to
_ enum (22) -
to
_ f (33) -
to
_ i (22) -
to
_ json (11) -
to
_ r (11) -
to
_ s (22) - total (11)
-
total
_ time (11) - tr (11)
- trace (11)
- truncate (15)
- utime (22)
- version (11)
- zero? (11)
- セキュリティモデル (11)
- 正規表現 (11)
検索結果
先頭5件
-
Float
# %(other) -> Float (21302.0) -
算術演算子。剰余を計算します。
...算術演算子。剰余を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 剰余
3.0 % 1.2 # => 0.6000000000000001
3.0 % 0.0 # ZeroDivisionError
//}... -
Float
# modulo(other) -> Float (21302.0) -
算術演算子。剰余を計算します。
...算術演算子。剰余を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 剰余
3.0 % 1.2 # => 0.6000000000000001
3.0 % 0.0 # ZeroDivisionError
//}... -
Float
# *(other) -> Float (21301.0) -
算術演算子。積を計算します。
...算術演算子。積を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 積
2.4 * 3 # => 7.2
//}... -
Float
# +(other) -> Float (21301.0) -
算術演算子。和を計算します。
...算術演算子。和を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 和
3.0 + 4.5 # => 7.5
//}... -
Float
# / (other) -> Float (21301.0) -
算術演算子。商を計算します。
...算術演算子。商を計算します。
@param other 二項演算の右側の引数(対象)
//emlist[例][ruby]{
# 商
1.3 / 2.4 # => 0.541666666666667
1.0 / 0 # => Infinity
//}... -
Float
# divmod(other) -> [Numeric] (21278.0) -
self を other で割った商 q と余り r を、 [q, r] という 2 要素の配列にして返します。 商 q は常に整数ですが、余り r は整数であるとは限りません。
...her で割った商 q と余り r を、
[q, r] という 2 要素の配列にして返します。
商 q は常に整数ですが、余り r は整数であるとは限りません。
ここで、商 q と余り r は、
* self == other * q + r
と
* other > 0 のとき: 0 <= r < other......* other < 0 のとき: other < r <= 0
* q は整数
をみたす数です。
このメソッドは、メソッド / と % によって定義されています。
@param other 自身を割る数を指定します。
//emlist[例][ruby]{
11.divmod(3) # => [3, 2]
(11.5).divmod(3.5) # =......> [3, 1.0]
11.divmod(-3) # => [-4, -1]
11.divmod(3.5) # => [3, 0.5]
(-11).divmod(3.5) # => [-4, 3.0]
//}
@see Numeric#div, Numeric#modulo... -
Float
# ==(other) -> bool (21230.0) -
比較演算子。数値として等しいか判定します。
...として等しいか判定します。
@param other 比較対象の数値
@return self と other が等しい場合 true を返します。
そうでなければ false を返します。
//emlist[例][ruby]{
3.14 == 3.14000 # => true
3.14 == 3.1415 # => false
//}
NaNどうし......の比較は、未定義です。
//emlist[例][ruby]{
Float::NAN == Float::NAN # => false
[Float::NAN] == [Float::NAN] # => true
[Float::NAN] == [0.0 / 0.0] # => false
//}... -
Float
# ceil -> Integer (21230.0) -
自身と等しいかより大きな整数のうち最小のものを返します。
...自身と等しいかより大きな整数のうち最小のものを返します。
//emlist[例][ruby]{
1.2.ceil # => 2
2.0.ceil # => 2
(-1.2).ceil # => -1
(-2.0).ceil # => -2
//}
@see Float#floor, Float#round, Float#truncate... -
Float
:: MIN _ EXP -> Integer (21228.0) -
最小の Float::RADIX 進の指数です。
...最小の Float::RADIX 進の指数です。
通常はデフォルトで -1021 です。
@see Float::MAX_EXP... -
Float
:: MAX _ EXP -> Integer (21222.0) -
最大の Float::RADIX 進の指数です。
...最大の Float::RADIX 進の指数です。
通常はデフォルトで 1024 です。
@see Float::MIN_EXP...