_mm_hypot_ps
Classification
SVML, Trigonometry, CPUID Test: SSE
Header File
Synopsis
_mm_hypot_ps(__m128 a, __m128 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 single-precision (32-bit) floating-point elements in "a" and "b", and store the results in "dst".
Operation
FOR j := 0 to 3
i := j*32
dst[i+31:i] := SQRT(POW(a[i+31:i], 2.0) + POW(b[i+31:i], 2.0))
ENDFOR
dst[MAX:128] := 0