15件ヒット
[1-15件を表示]
(0.070秒)
別のキーワード
検索結果
先頭4件
-
BigDecimal
# exponent -> Integer (35102.0) -
self の指数部を整数値で返します。
self の指数部を整数値で返します。 -
Integer
# **(other) -> Numeric (13.0) -
算術演算子。冪(べき乗)を計算します。
...> -3
5.pow(2, -8) # => -7
//}
計算結果が巨大すぎるときは ArgumentError が発生します。
//emlist[計算結果が巨大すぎる例][ruby]{
p 100**9999999999999999999
# => exponent is too large (ArgumentError)
//}
判定の閾値は変わりえます。
@see BigDecimal#power... -
Integer
# pow(other) -> Numeric (13.0) -
算術演算子。冪(べき乗)を計算します。
...> -3
5.pow(2, -8) # => -7
//}
計算結果が巨大すぎるときは ArgumentError が発生します。
//emlist[計算結果が巨大すぎる例][ruby]{
p 100**9999999999999999999
# => exponent is too large (ArgumentError)
//}
判定の閾値は変わりえます。
@see BigDecimal#power... -
Integer
# pow(other , modulo) -> Integer (13.0) -
算術演算子。冪(べき乗)を計算します。
...> -3
5.pow(2, -8) # => -7
//}
計算結果が巨大すぎるときは ArgumentError が発生します。
//emlist[計算結果が巨大すぎる例][ruby]{
p 100**9999999999999999999
# => exponent is too large (ArgumentError)
//}
判定の閾値は変わりえます。
@see BigDecimal#power...