Share via


hypot Function

Computes the square root of the sum of the squares of _X and _Y

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

Parameters

  • _X
    Floating-point value

  • _Y
    Floating-point value

Return Value

Returns the square root of the sum of the squares of _X and _Y

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace