Intel® C++ Compiler 16.0 User and Reference Guide
Computes the length of the hypotenuse of a right angled triangle. Vector variant of hypot(x) function for a 128-bit/256-bit vector argument of float32 values.
extern __m128 _mm_hypot_ps(__m128 v1, __m128 v2); |
extern __m256 _mm256_hypot_ps(__m256 v1, __m256 v2); |
v1 |
vector with float32 values |
v2 |
vector with float32 values |
Computes the length of the hypotenuse of a right angled triangle with sides v1 and v2, defined by:
sqrt (v12 + v22)
128-bit/256-bit vector with the result of the operation.
Many routines in the svml library are more highly optimized for Intel® microprocessors than for non-Intel microprocessors.