vec_nmadd

Purpose

Returns a vector containing the results of performing a negative multiply-add operation on the given vectors.

Syntax

d=vec_nmadd(a, b, c)

Result and argument types

The following table describes the types of the returned value and the function arguments.

d a b c
vector double vector double vector double vector double
vector float vector float vector float vector float

Result value

The value of each element of the result is the product of the corresponding elements of a and b, added to the corresponding elements of c, and then multiplied by -1.0.



Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us