るりまサーチ

最速Rubyリファレンスマニュアル検索!
827件ヒット [1-100件を表示] (0.097秒)
トップページ > クエリ:I[x] > クエリ:Infinity[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. csv to_i
  5. _builtin i

ライブラリ

クラス

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

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 オブジェクトを返します。...

絞り込み条件を変える

<< 1 2 3 ... > >>