sqrt()
原文
数値の平方根を計算します。
書式
double sqrt(double x)
数値の平方根を計算します。
引数
x :計算対象の数値(double型)。 この値は負であってはなりません。
戻り値
xの平方根。 戻り値は決して負ではありません。
Arduinoとの互換性
Male(Arduino STM32)バージョンのsqrt()はArduinoと互換性があります。
関連項目
pow()
sq()
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 リファレンス 日本語版 に戻る