?la_wwaddw

Adds a vector into a doubled-single vector.

Syntax

call sla_wwaddw( n, x, y, w )

call dla_wwaddw( n, x, y, w )

call cla_wwaddw( n, x, y, w )

call zla_wwaddw( n, x, y, w )

Include Files

  • mkl.fi

Description

The ?la_wwaddw routine adds a vector W into a doubled-single vector (X, Y). This works for all existing IBM hex and binary floating-point arithmetics, but not for decimal.

Input Parameters

n

INTEGER. The length of vectors X, Y, and W .

x, y, w

REAL for sla_wwaddw

DOUBLE PRECISION for dla_wwaddw

COMPLEX for cla_wwaddw

DOUBLE COMPLEX for zla_wwaddw.

Arrays DIMENSIONn.

x and y contain the first and second parts of the doubled-single accumulation vector, respectively.

w contains the vector W to be added.

Output Parameters

x, y

Contain the first and second parts of the doubled-single accumulation vector, respectively, after adding the vector W.

For more complete information about compiler optimizations, see our Optimization Notice.