Procedure call syntax:
#include <simdmath.h> |
vector double hypotd2(vector double x, vector double y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <hypotd2.h> |
vector double _hypotd2(vector double x, vector double y); |
Parameters | |
x, y | Vectors containing the lengths of catheti (sides) from which the hypotenuses are to be calculated. |
The hypotd2 function
returns a vector of for corresponding elements of x and y,
without undue overflow or underflow.
The function hypotd2 returns a double 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.
SPU only
SIMD Math library specification for the Cell Broadband Engine⢠Architecture.
Basis
ISO9899 (C99) hypot functions.