Developer Reference for Intel® oneAPI Math Kernel Library for Fortran

ID 766686
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

?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.