OpenBSD manual page server

Manual Page Search Parameters

CIMAG(3) Library Functions Manual CIMAG(3)

cimag, cimagf, cimaglcompute the imaginary part of a complex number

#include <complex.h>

double
cimag(double complex z);

float
cimagf(float complex z);

long double
cimagl(long double complex z);

The (), () and () functions compute the imaginary part of z.

The cimag(), cimagf() and cimagl() functions return the imaginary part of the complex number z as a real number.

carg(3)

The cimag(), cimagf() and cimagl() functions conform to ISO/IEC 9899:1999 (“ISO C99”).

January 25, 2019 OpenBSD-current