関連するキーワード
ライブラリ
- rational (6)
検索結果
先頭2件
-
Bignum
# rpower(other) -> Integer | Float | Rational (15114) -
冪(べき)乗を計算します。other が 0 以下の場合、計算結果を Rational オブジェクトで返します。
...算します。other が 0 以下の場合、計算結果を
Rational オブジェクトで返します。
(1<<32).rpower(2) # => 18446744073709551616
(1<<32).rpower(-2) # => Rational(1, 18446744073709551616)
@param other 自身を other 乗する数... -
Bignum
# **(other) -> Integer | Float | Rational (14) -
冪(べき)乗を計算します。other が 0 以下の場合、計算結果を Rational オブジェクトで返します。
...算します。other が 0 以下の場合、計算結果を
Rational オブジェクトで返します。
(1<<32).rpower(2) # => 18446744073709551616
(1<<32).rpower(-2) # => Rational(1, 18446744073709551616)
@param other 自身を other 乗する数...
