diff options
author | 2011-07-20 17:50:43 +0000 | |
---|---|---|
committer | 2011-07-20 17:50:43 +0000 | |
commit | 2bfdbafec9951640ad90a58b3c5683cd216ec3b5 (patch) | |
tree | 1b50665a05a65c2d284a6bdb519d024b25e119ea /lib/libm/man/conj.3 | |
parent | - Replace digicert 2nd-level cert with the root which issued it. (diff) | |
download | wireguard-openbsd-2bfdbafec9951640ad90a58b3c5683cd216ec3b5.tar.xz wireguard-openbsd-2bfdbafec9951640ad90a58b3c5683cd216ec3b5.zip |
Document complex math library.
Diffstat (limited to 'lib/libm/man/conj.3')
-rw-r--r-- | lib/libm/man/conj.3 | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/lib/libm/man/conj.3 b/lib/libm/man/conj.3 index eb88f13fb0b..8dd6f98f78b 100644 --- a/lib/libm/man/conj.3 +++ b/lib/libm/man/conj.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: conj.3,v 1.1 2010/07/19 12:48:23 millert Exp $ +.\" $OpenBSD: conj.3,v 1.2 2011/07/20 17:50:43 martynas Exp $ .\" .\" Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com> .\" @@ -14,12 +14,13 @@ .\" 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 19 2010 $ +.Dd $Mdocdate: July 20 2011 $ .Dt CONJ 3 .Os .Sh NAME .Nm conj , -.Nm conjf +.Nm conjf , +.Nm conjl .Nd compute the complex conjugate .Sh SYNOPSIS .Fd #include <complex.h> @@ -27,24 +28,31 @@ .Fn conj "double complex z" .Ft float complex .Fn conjf "float complex z" +.Ft long double complex +.Fn conjl "long double complex z" .Sh DESCRIPTION The -.Fn conj -and +.Fn conj , .Fn conjf +and +.Fn conjl reverse the sign of the imaginary part of .Fa z , producing the complex conjugate. .Sh RETURN VALUES The -.Fn conj -and +.Fn conj , .Fn conjf +and +.Fn conjl functions return the complex conjugate of the complex number .Fa z . +.Sh SEE ALSO +.Xr carg 3 .Sh STANDARDS The -.Fn conj +.Fn conj , +.Fn conjl and .Fn conjf functions conform to |