Procedure call syntax:
#include <simdmath.h> |
vector double fmaxd2(vector double x, vector double y); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <fmaxd2.h> |
vector double _fmaxd2(vector double x, vector double y); |
Parameters | |
x.y | input vectors |
The fmaxd2 functions returns a vector containing the larger (more positive) elements of x and y.
In double precision subnormals1 equate to zero and so compare as equal. This means that the value returned may be either one of the subnormals, thereby making the following possibly true for two subnormal inputs:
fmaxd2(a, b) != fmaxd2(b, a)
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) fmax functions.