From f18acdf1b716a340b6ac041d5576b96cb55f01e1 Mon Sep 17 00:00:00 2001 From: Martynas Venckus Date: Wed, 20 Jul 2011 17:50:44 +0000 Subject: Document complex math library. --- lib/libm/man/creal.3 | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 lib/libm/man/creal.3 (limited to 'lib/libm/man/creal.3') diff --git a/lib/libm/man/creal.3 b/lib/libm/man/creal.3 new file mode 100644 index 00000000000..3aedcd47526 --- /dev/null +++ b/lib/libm/man/creal.3 @@ -0,0 +1,58 @@ +.\" $OpenBSD: creal.3,v 1.1 2011/07/20 17:50:43 martynas Exp $ +.\" +.\" Copyright (c) 2011 Martynas Venckus +.\" +.\" Permission to use, copy, modify, and distribute this software for any +.\" purpose with or without fee is hereby granted, provided that the above +.\" copyright notice and this permission notice appear in all copies. +.\" +.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +.\" +.Dd $Mdocdate: July 20 2011 $ +.Dt CREAL 3 +.Os +.Sh NAME +.Nm creal , +.Nm crealf , +.Nm creall +.Nd complex real functions +.Sh SYNOPSIS +.Fd #include +.Ft double +.Fn creal "double complex z" +.Ft float +.Fn crealf "float complex z" +.Ft long double +.Fn creall "long double complex z" +.Sh DESCRIPTION +The +.Fn creal , +.Fn crealf +and +.Fn creall +functions compute the real part of +.Fa z . +.Sh RETURN VALUES +The +.Fn creal , +.Fn crealf +and +.Fn creall +functions return the real part of +.Fa z . +.Sh SEE ALSO +.Xr carg 3 +.Sh STANDARDS +The +.Fn creal , +.Fn crealf +and +.Fn creall +functions conform to +.St -isoC-99 . -- cgit v1.2.3