VMS Help  —  CRTL  cimag
    Returns the imaginary part of its complex argument.

    This function is OpenVMS Alpha and Integrity servers only.

    Format

      #include  <complex.h>

      double cimag  (double complex z);

      float cimagf  (float complex z);

      long double cimagl  (long double complex z);

1  –  Argument

 z

    A complex value.

2  –  Description

    The cimag functions return the imaginary part of z as a real
    number.

3  –  Return Values

    x                  The imaginary part value.
Close Help