Procedure call syntax:
#include <simdmath.h> |
vector float hypotf4(vector float x, vector float y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <hypotf4.h> |
vector float _hypotf4(vector float x, vector float y); |
Parameters | |
x, y | Vectors containing the lengths of catheti (sides) from which the hypotenuses are to be calculated. |
The hypotf4 function returns a vector of for corresponding elements of x and y.
The function hypotf4 returns a float vector in which each element is defined as the square root of the sum of the squares of the corresponding elements of x and y, without undue overflow or underflow.
PPU and SPU
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) hypot functions.