pow()
原文
べき乗の計算を行い、その値を返します。
書式
double pow(double x, double y)
べき乗を計算します。小数も使えます。
引数
x :基底;y <= 0の場合、0であってはなりません。yが整数値でない場合、負であってはなりません。
y :指数
戻り値
べき乗の計算の結果
関連項目
sqrt()
float
double
License and Attribution: Portions of this page were adapted from the Arduino Reference Documentation, which is released under a Creative Commons Attribution-ShareAlike 3.0 License.
このドキュメントはleafLabs, LLC.が執筆し、たま吉が翻訳・一部加筆修正したものです。
Arduino STM32 リファレンス 日本語版 に戻る