ライブラリ
- rational (1)
検索結果
-
Integer
# **(other) -> Rational | Float | Integer (23001) -
冪(べき)乗を計算します。
...を other 乗する数
計算結果は以下のようになります。
* otherが正または0の整数(Integer)ならば、整数(Integer)を返す。
* otherが負の整数(Integer)ならば、有理数(Rational)を返す。
* otherが有理数(Rational)や浮動小数(Float)ならば、...
