[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions, Volume 1

cimag, cimagf, or cimagl Subroutine

Purpose

Performs complex imaginary computations.

Syntax

#include <complex.h>

double cimag (z)
double complex z;

float cimagf (z)
float complex z;

long double cimagl (z)
long double complex z;

Description

The cimag, cimagf, and cimagl subroutines compute the imaginary part of z.

Parameters

z Specifies the value to be computed.

Return Values

The cimag, cimagf, and cimagl subroutines return the imaginary part value (as a real).

Related Information

carg, cargf, or cargl Subroutine, conj, conjf, or conjl Subroutine, cproj, cprojf, or cprojl Subroutine, and creal, crealf, or creall Subroutine.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]