fmaf4

NAME

fmaf4 - multiply and add elements of three float vectors

SYNOPSIS

Procedure call syntax:

#include <simdmath.h>
vector float fmaf4(vector float x, vector float y, vector float z);
Link with -lsimdmath

Inline call syntax:

#include <simdmath.h>
#include <fmaf4.h>
vector float _fmaf4(vector float x, vector float y, vector float z);
Parameters  
x,y,z input vectors

DESCRIPTION

The fmaf4 function computes (x * y) + z.

RETURN VALUE

The function fmaf4 returns a float 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.

ENVIRONMENT

SPU and PPU

CONFORMING TO

SIMD Math library specification for the Cell Broadband Engineā„¢ Architecture.

NOTES

Basis

ISO9899 (C99) fma functions.

SEE ALSO

fma(3), fmad2(3), div(3), divf4(3), divi4(3), divu4(3), divd2(3), lldivi2(3), lldivu2(3), modf(3), modff4(3), modfd2(3), fmod(3), fmodf4(3), fmodd2(3), remainder(3), remainderf4(3), remainderd2(3), remquo(3) , remquof4(3), remquod2(3), recip(3), recipf4(3), recipd2(3), rsqrt(3), rsqrtf4(3), rsqrtd2(3)