LA_WWADDW - LA_WWADDW - 5.3 English - 68552

AOCL API Guide (68552)

Document_ID
68552
Release_Date
2026-05-13
Version
5.3 English
template<typename T>
void la_wwaddw(integer *n, T *x, T *y, T *w)#

LA_WWADDW adds a vector into a doubled-single vector.

Purpose:

 LA_WWADDW adds a vector W into a doubled-single vector (X, Y).

 This works for all extant IBM's hex and binary floating point
 arithmetic, but not for decimal.
Parameters:
  • N – [in]

    N is INTEGER

    The length of vectors X, Y, and W.

  • X – [inout]

    X is REAL array, dimension (N)

    The first part of the doubled-single accumulation vector.

  • Y – [inout]

    Y is REAL array, dimension (N)

    The second part of the doubled-single accumulation vector.

  • W – [in]

    W is REAL array, dimension (N)

    The vector to be added.