hypotf 函数

计算_X 和_Y 正方形的总和的平方根

inline float hypotf(
   float _X,
   float _Y
) restrict(amp);

参数

  • _X
    浮点值

  • _Y
    浮点值

返回值

返回_X 和_Y 正方形的总和的平方根

要求

**头文件:**amp_math.h

**命名空间:**Concurrency::precise_math

请参见

参考

Concurrency::precise_math 命名空间