名前空間
変種
操作

std::sqrt

提供: cppreference.com
< cpp‎ | numeric‎ | math
2012年11月2日 (金) 22:19時点におけるP12bot (トーク | 投稿記録)による版

 
 
 
一般的な数学関数
関数
基本的な演算
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
指数関数
(C++11)
(C++11)
(C++11)
(C++11)
冪関数
sqrt
(C++11)
(C++11)
三角関数と双曲線関数
(C++11)
(C++11)
(C++11)
誤差関数とガンマ関数
(C++11)
(C++11)
(C++11)
(C++11)
最も近い整数
(C++11)(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
浮動小数点操作関数
(C++11)(C++11)
(C++11)
(C++11)
(C++11)(C++11)
(C++11)
分類および比較
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
(C++11)
マクロ定数
(C++11)(C++11)(C++11)(C++11)(C++11)
 
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.

パラメータ

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.
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.

も参照してください

テンプレート:cpp/numeric/math/dcl list cbrtテンプレート:cpp/numeric/math/dcl list powテンプレート:cpp/numeric/complex/dcl list sqrtテンプレート:cpp/numeric/valarray/dcl list sqrt