sqrt 函式

計算引數的平方根

inline float sqrt(
   float _X
) restrict(amp);
inline double sqrt(
   double _X
) restrict(amp);

參數

  • _X
    浮點數值

傳回值

傳回引數的平方根

需求

標頭: amp_math.h

命名空間: Concurrency::precise_math

請參閱

參考

Concurrency::precise_math 命名空間