Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

C programming/complex.h/cimag

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Prototypes double cimag(double complex z); float cimagf(float complex z); long double cimagl(long double complex z); Description cimag is a complex function in c programming. As complex numbers contain two parts, one real part and one imaginary part, this function is used to declare the imaginary part of a complex number. For example, let 'M' be any complex number which can be represented using c functions as follows: M = creal(M) + cimag(M) * i where creal(M) = real part of M. The function returns the imaginary part of the complex no. deep