计算参数的平方根。
inline float sqrt(
float _X
) restrict(amp);
inline double sqrt(
double _X
) restrict(amp);
参数
- _X
浮点值
返回值
返回参数的平方根。
要求
**头文件:**amp_math.h
**命名空间:**Concurrency::precise_math
计算参数的平方根。
inline float sqrt(
float _X
) restrict(amp);
inline double sqrt(
double _X
) restrict(amp);
返回参数的平方根。
**头文件:**amp_math.h
**命名空间:**Concurrency::precise_math