:man| Alphabetical   Categories   About us 
 
CIMAG (3) | C library functions | Unix Manual Pages | :man

NAME

cimag, cimagf, cimagl, conj, conjf, conjl, creal, crealf, creall - "functions to manipulate complex numbers"

CONTENTS

Library
Synopsis
Description
Standards
History

LIBRARY


.Lb libm

SYNOPSIS


.In complex.h double cimag "double complex z" float cimagf "float complex z" "long double" cimagl "long double complex z" "double complex" conj "double complex z" "float complex" conjf "float complex z" "long double complex" conjl "long double complex z" double creal "double complex z" float crealf "float complex z" "long double" creall "long double complex z"

DESCRIPTION

Let
.Sm off a + b * i
.Sm on denote the complex number z.

The cimag functions return the imaginary part b.

The conj functions return the complex conjugate
.Sm off a - b * i.
.Sm on

The creal functions return the real part a.

STANDARDS

The cimag, conj and creal functions conform to -isoC-99.

HISTORY

The cimag, conj and creal functions first appeared in
.Fx 5.3 .

August 7, 2004 CIMAG (3)
shtml">manServer 1.07 from cimag.3 using doc macros.

 
Created by Blin Media, 2008-2013