827件ヒット
[1-100件を表示]
(0.097秒)
ライブラリ
- ビルトイン (496)
- bigdecimal (77)
-
bigdecimal
/ util (22) - cmath (12)
- date (22)
- json (132)
- openssl (22)
クラス
- Array (19)
- BigDecimal (77)
- Complex (38)
- Date (22)
- Enumerator (29)
-
Enumerator
:: Chain (6) -
Enumerator
:: Lazy (20) - Float (66)
- Integer (44)
-
JSON
:: Parser (11) -
JSON
:: State (11) - Numeric (92)
-
OpenSSL
:: PKey :: EC :: Point (22) - Random (44)
- Range (33)
- Rational (11)
- String (33)
キーワード
- % (11)
- ** (11)
-
EXCEPTION
_ ALL (11) -
EXCEPTION
_ INFINITY (11) - Float (6)
- GREGORIAN (11)
- INFINITY (22)
- JULIAN (11)
- MinusInfinity (11)
-
RLIM
_ INFINITY (11) -
_ dump (11) - bigdecimal (11)
- bsearch (22)
-
fast
_ generate (11) -
fast
_ unparse (11) - finite? (16)
- format (11)
- generate (11)
- getrlimit (11)
- grep (11)
-
grep
_ v (9) - infinite? (19)
- infinity? (11)
- inspect (22)
- lgamma (11)
- load (11)
- log (12)
- mode (22)
- new (40)
- pack (19)
- pack テンプレート文字列 (11)
- parse (11)
- parse! (11)
- pow (22)
- rand (44)
- restore (11)
-
ruby 1
. 9 feature (11) -
set
_ to _ infinity! (11) - setrlimit (22)
- sign (11)
- size (28)
- sprintf (11)
- sprintf フォーマット (11)
- step (84)
-
to
_ d (22) -
to
_ f (33) -
to
_ s (22) - unpack (11)
- unparse (11)
検索結果
先頭5件
-
JSON
:: Infinity -> Float (30301.0) -
正の無限大を表します。
正の無限大を表します。
@see Float -
JSON
:: MinusInfinity -> Float (24400.0) -
負の無限大を表します。
負の無限大を表します。
@see Float -
Integer
# **(other) -> Numeric (23118.0) -
算術演算子。冪(べき乗)を計算します。
...同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定した場合に発生します。
@raise RangeError 2引数 pow で other に負の数を指定した場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
3.......数になりそうなとき、警告を出したうえで Float::INFINITY を返します。
//emlist[計算を放棄して Float::INFINITY を返す例][ruby]{
p 100**9999999
# => warning: in a**b, b may be too big
# Infinity
//}
判定の閾値は変わりえます。
@see BigDecimal#power... -
Integer
# pow(other) -> Numeric (23118.0) -
算術演算子。冪(べき乗)を計算します。
...同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定した場合に発生します。
@raise RangeError 2引数 pow で other に負の数を指定した場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
3.......数になりそうなとき、警告を出したうえで Float::INFINITY を返します。
//emlist[計算を放棄して Float::INFINITY を返す例][ruby]{
p 100**9999999
# => warning: in a**b, b may be too big
# Infinity
//}
判定の閾値は変わりえます。
@see BigDecimal#power... -
Integer
# pow(other , modulo) -> Integer (23118.0) -
算術演算子。冪(べき乗)を計算します。
...同じ結果を返します。
@return 計算結果
@raise TypeError 2引数 pow で Integer 以外を指定した場合に発生します。
@raise RangeError 2引数 pow で other に負の数を指定した場合に発生します。
//emlist[][ruby]{
2 ** 3 # => 8
2 ** 0 # => 1
0 ** 0 # => 1
3.......数になりそうなとき、警告を出したうえで Float::INFINITY を返します。
//emlist[計算を放棄して Float::INFINITY を返す例][ruby]{
p 100**9999999
# => warning: in a**b, b may be too big
# Infinity
//}
判定の閾値は変わりえます。
@see BigDecimal#power... -
Integer
# to _ f -> Float (23030.0) -
self を浮動小数点数(Float)に変換します。
...self を浮動小数点数(Float)に変換します。
self が Float の範囲に収まらない場合、Float::INFINITY を返します。
//emlist[][ruby]{
1.to_f # => 1.0
(Float::MAX.to_i * 2).to_f # => Infinity
(-Float::MAX.to_i * 2).to_f # => -Infinity
//}... -
OpenSSL
:: PKey :: EC :: Point # infinity? -> bool (21307.0) -
自身が無限遠点であるならば true を返します。
...自身が無限遠点であるならば true を返します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#set_to_infinity!... -
OpenSSL
:: PKey :: EC :: Point # set _ to _ infinity! -> self (21307.0) -
自身を無限遠点に設定します。
...自身を無限遠点に設定します。
@raise OpenSSL::PKey::EC::Point::Error エラーが生じた場合に発生します
@see OpenSSL::PKey::EC::Point#infinity!... -
Float
:: INFINITY -> Float (18307.0) -
浮動小数点数における正の無限大です。
...浮動小数点数における正の無限大です。
負の無限大は -Float::INFINITY です。
@see Float#finite?, Float#infinite?... -
BigDecimal
:: INFINITY -> BigDecimal (15301.0) -
正の無限大を表す BigDecimal オブジェクトを返します。
...正の無限大を表す BigDecimal オブジェクトを返します。...