diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-07-20 17:50:44 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2011-07-20 17:50:44 +0000 |
commit | f18acdf1b716a340b6ac041d5576b96cb55f01e1 (patch) | |
tree | 0c2e4c3b71cb969b2fae566f7c10892d251591f2 /lib/libm/man/creal.3 | |
parent | 3953ba96e1384e297b889bf9cea4fa0d253b1a0e (diff) |
Document complex math library.
Diffstat (limited to 'lib/libm/man/creal.3')
-rw-r--r-- | lib/libm/man/creal.3 | 58 |
1 files changed, 58 insertions, 0 deletions
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 <martynas@openbsd.org> +.\" +.\" 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 <complex.h> +.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 . |