power!(other) -> Integer | Float[permalink][rdoc] [added by rational]-
冪(べき)乗を計算します。
- [PARAM] other:
- 自身を other 乗する数
rationalで再定義される前のInteger#**の別名です。 other が正または 0 の整数 (Integer) ならば、整数 (Integer) を、それ以外なら、浮動小数 (Float) を返します。
このマニュアルは既にメンテナンスが終了したバージョンの Ruby を対象としています。 最新版のマニュアルへ
power!(other) -> Integer | Float[permalink][rdoc] [added by rational]
冪(べき)乗を計算します。
rationalで再定義される前のInteger#**の別名です。 other が正または 0 の整数 (Integer) ならば、整数 (Integer) を、それ以外なら、浮動小数 (Float) を返します。