Next: AINT, Previous: ADJUSTR, Up: Intrinsic Procedures
AIMAG — Imaginary part of complex numberAIMAG(Z) yields the imaginary part of complex argument Z.
     X = AIMAG(Z)
     | Z | The type of the argument shall be COMPLEX(*). | 
          program test_aimag
            complex(4) z4
            complex(8) z8
            z4 = cmplx(1.e0_4, 0.e0_4)
            z8 = cmplx(0.e0_8, 1.e0_8)
            print *, aimag(z4), dimag(z8)
          end program test_aimag
     
     | Name | Argument | Return type | Option | 
| DIMAG(Z) | COMPLEX(8) Z | REAL(8) | f95, gnu |