---
name: "sla_wwaddw"
section: "3"
platform: "linux"
package: "lapack-doc"
version: "3.12.1-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/sla_wwaddw.f"
---

# sla\_wwaddw(3)

Part of [sla\_wwaddw.f(3)](/sla_wwaddw.f/3.md).

## NAME

SRC/sla\_wwaddw.f

## SYNOPSIS

### Functions/Subroutines

subroutine **sla\_wwaddw** (n, x, y, w)\
 **SLA\_WWADDW** adds a vector into a doubled-single vector.

## Function/Subroutine Documentation

### subroutine sla\_wwaddw (integer n, real, dimension( \* ) x, real, dimension( \* ) y, real, dimension( \* ) w)

**SLA\_WWADDW** adds a vector into a doubled-single vector.

**Purpose:**

```
!>
!>    SLA_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*

```
!>          N is INTEGER
!>            The length of vectors X, Y, and W.
!>
```

*X*

```
!>          X is REAL array, dimension (N)
!>            The first part of the doubled-single accumulation vector.
!>
```

*Y*

```
!>          Y is REAL array, dimension (N)
!>            The second part of the doubled-single accumulation vector.
!>
```

*W*

```
!>          W is REAL array, dimension (N)
!>            The vector to be added.
!>
```

**Author**

Univ. of Tennessee

Univ. of California Berkeley

Univ. of Colorado Denver

NAG Ltd.

Definition at line **80** of file **sla\_wwaddw.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
