_mm256_hypot_pd
Classification
SVML, Trigonometry, CPUID Test: AVX
Header File
Synopsis
_mm256_hypot_pd(__m256d a, __m256d b);
Description
Compute the length of the hypotenous of a right triangle, with the lengths of the other two sides of the triangle stored as packed double-precision (64-bit) floating-point elements in "a" and "b", and store the results in "dst".
Operation
FOR j := 0 to 3
i := j*64
dst[i+63:i] := SQRT(POW(a[i+63:i], 2.0) + POW(b[i+63:i], 2.0))
ENDFOR
dst[MAX:256] := 0