---
name: "test_zcomplexmult.f"
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/test_zcomplexmult.f"
---

# test\_zcomplexmult.f(3)

## NAME

INSTALL/test\_zcomplexmult.f

## SYNOPSIS

### Functions/Subroutines

program **zmul**\
 zmul tests the robustness and precision of the double complex multiplication

## Function/Subroutine Documentation

### program zmul

zmul tests the robustness and precision of the double complex multiplication

**Author**

Weslley S. Pereira, University of Colorado Denver, U.S.

```
!>
!> Tests:
!>
!> (a) Inf inputs:
!>    (1) y = ( Inf + 0   * I)
!>    (2) y = (-Inf + 0   * I)
!>    (3) y = ( 0   + Inf * I)
!>    (4) y = ( 0   - Inf * I)
!>    (5) y = ( Inf + Inf * I)
!> Tests:
!>    (a) 0 * y is NaN.
!>    (b) 1 * y is y is either y or NaN.
!>    (c) y * y is either  Inf or NaN (cases 1 and 3),
!>                 either -Inf or NaN (cases 2 and 4),
!>                 NaN (case 5).
!>
!> (b) NaN inputs:
!>    (1) y = (NaN + 0   * I)
!>    (2) y = (0   + NaN * I)
!>    (3) y = (NaN + NaN * I)
!> Tests:
!>    (a) 0 * y is NaN.
!>    (b) 1 * y is NaN.
!>    (c) y * y is NaN.
!>
!>
```

Definition at line **44** of file **test\_zcomplexmult.f**.

## Author

Generated automatically by Doxygen for LAPACK from the source code.
