1.\" $NetBSD: cimag.3,v 1.4 2012/12/27 21:34:10 wiz Exp $ 2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 3.Dd December 27, 2012 4.Dt CIMAG 3 5.Os 6.Sh NAME 7.Nm cimag , 8.Nm cimagf , 9.Nm cimagl 10.Nd complex imaginary functions 11.Sh SYNOPSIS 12.In complex.h 13.Ft double 14.Fn cimag "double complex z" 15.Ft float 16.Fn cimagf "float complex z" 17.Ft long double 18.Fn cimagl "long double complex z" 19.Sh DESCRIPTION 20These functions compute the imaginary part of 21.Ar z . 22.Sh RETURN VALUES 23These functions return the imaginary part value (as a real). 24.Sh ERRORS 25No errors are defined. 26.Sh APPLICATION USAGE 27For a variable 28.Ar z 29of complex type: 30.Bd -literal -offset indent 31z = creal(z) + cimag(z)*I 32.Ed 33.Sh SEE ALSO 34.Xr carg 3 , 35.Xr conj 3 , 36.Xr cproj 3 , 37.Xr creal 3 , 38.St -p1003.1-2001 39.Aq Pa complex.h 40.Sh COPYRIGHT 41Portions of this text are reprinted and reproduced in electronic form 42from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology 43-- Portable Operating System Interface (POSIX), The Open Group Base 44Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of 45Electrical and Electronics Engineers, Inc and The Open Group. 46In the 47event of any discrepancy between this version and the original IEEE and 48The Open Group Standard, the original IEEE and The Open Group Standard 49is the referee document. 50The original Standard can be obtained online at 51http://www.opengroup.org/unix/online.html . 52