Procedure call syntax:
#include <simdmath.h> |
vector double fmad2(vector double x, vector double y, vector double z); |
Link with -lsimdmath |
Inline call syntax:
#include <simdmath.h> |
#include <fmad2.h> |
vector double _fmad2(vector double x, vector double y, vector double z); |
Parameters | |
x,y,z | input vectors |
The fmad2 function computes (x * y) + z.
The function fmad2 returns a double vector in which each element is defined as (x*y)+z rounded as one ternary operation for each of the corresponding elements of x, y, and z.
SPU only
SIMD Math library specification for the Cell Broadband Engineā¢ Architecture.
Basis
ISO9899 (C99) fma functions.