std::sqrt
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <cmath>
|
||
float sqrt( float arg ); |
||
double sqrt( double arg ); |
||
long double sqrt( long double arg ); |
||
double sqrt( Integral arg ); |
(C++11以上) | |
arg
の平方根を計算.Original:
Computes square root of
arg
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
パラメータ
arg | - | 浮動小数点または整数値
Original: floating point or integer value The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
値を返します
arg
の平方根.Original:
square root of
arg
.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
arg
が負の場合はドメイン·エラーが発生します。 NANはその場合に返されます.Original:
Domain error occurs if
arg
is negative. NAN is returned in that case.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.