1*84d9c625SLionel Sambuc.\" $NetBSD: creal.3,v 1.4 2012/12/27 21:34:10 wiz Exp $ 22fe8fb19SBen Gras.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 3*84d9c625SLionel Sambuc.Dd December 27, 2012 4*84d9c625SLionel Sambuc.Dt CREAL 3 5*84d9c625SLionel Sambuc.Os 6*84d9c625SLionel Sambuc.Sh NAME 7*84d9c625SLionel Sambuc.Nm creal , 8*84d9c625SLionel Sambuc.Nm crealf , 9*84d9c625SLionel Sambuc.Nm creall 10*84d9c625SLionel Sambuc.Nd complex real functions 11*84d9c625SLionel Sambuc.Sh SYNOPSIS 12*84d9c625SLionel Sambuc.In complex.h 13*84d9c625SLionel Sambuc.Ft double 14*84d9c625SLionel Sambuc.Fn creal "double complex z" 15*84d9c625SLionel Sambuc.Ft float 16*84d9c625SLionel Sambuc.Fn crealf "float complex z" 17*84d9c625SLionel Sambuc.Ft long double 18*84d9c625SLionel Sambuc.Fn creall "long double complex z" 19*84d9c625SLionel Sambuc.Sh DESCRIPTION 20*84d9c625SLionel SambucThese functions compute the real part of 21*84d9c625SLionel Sambuc.Ar z . 22*84d9c625SLionel Sambuc.Sh RETURN VALUES 232fe8fb19SBen GrasThese functions return the real part value. 24*84d9c625SLionel Sambuc.Sh ERRORS 252fe8fb19SBen GrasNo errors are defined. 26*84d9c625SLionel Sambuc.Sh APPLICATION USAGE 27*84d9c625SLionel SambucFor a variable 28*84d9c625SLionel Sambuc.Ar z 29*84d9c625SLionel Sambucof type 30*84d9c625SLionel Sambuc.Vt complex : 31*84d9c625SLionel Sambuc.Bd -literal -offset indent 32*84d9c625SLionel Sambucz == creal(z) + cimag(z)*I 33*84d9c625SLionel Sambuc.Ed 34*84d9c625SLionel Sambuc.Sh SEE ALSO 35*84d9c625SLionel Sambuc.Xr carg 3 , 36*84d9c625SLionel Sambuc.Xr cimag 3 , 37*84d9c625SLionel Sambuc.Xr conj 3 , 38*84d9c625SLionel Sambuc.Xr cproj 3 , 39*84d9c625SLionel Sambuc.St -p1003.1-2001 40*84d9c625SLionel Sambuc.Aq Pa complex.h 41*84d9c625SLionel Sambuc.Sh COPYRIGHT 422fe8fb19SBen GrasPortions of this text are reprinted and reproduced in electronic form 432fe8fb19SBen Grasfrom IEEE Std 1003.1, 2003 Edition, Standard for Information Technology 442fe8fb19SBen Gras-- Portable Operating System Interface (POSIX), The Open Group Base 452fe8fb19SBen GrasSpecifications Issue 6, Copyright (C) 2001-2003 by the Institute of 46*84d9c625SLionel SambucElectrical and Electronics Engineers, Inc and The Open Group. 47*84d9c625SLionel SambucIn the 482fe8fb19SBen Grasevent of any discrepancy between this version and the original IEEE and 492fe8fb19SBen GrasThe Open Group Standard, the original IEEE and The Open Group Standard 50*84d9c625SLionel Sambucis the referee document. 51*84d9c625SLionel SambucThe original Standard can be obtained online at 522fe8fb19SBen Grashttp://www.opengroup.org/unix/online.html . 53