次の方法で共有


hypot 関数

_X と _Y の四角形の合計の平方根を計算します

inline float hypot(
   float _X,
   float _Y
) restrict(amp);
inline double hypot(
   double _X,
   double _Y
) restrict(amp);

パラメーター

  • _X
    浮動小数点値

  • _Y
    浮動小数点値

戻り値

_X と _Y の四角形の合計の平方根を返します

必要条件

ヘッダー: amp_math.h

名前空間: の同時実行:: precise_math

参照

関連項目

Concurrency::precise_math 名前空間