1.\" $OpenBSD: conj.3,v 1.1 2010/07/19 12:48:23 millert Exp $ 2.\" 3.\" Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com> 4.\" 5.\" Permission to use, copy, modify, and distribute this software for any 6.\" purpose with or without fee is hereby granted, provided that the above 7.\" copyright notice and this permission notice appear in all copies. 8.\" 9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" 17.Dd $Mdocdate: July 19 2010 $ 18.Dt CONJ 3 19.Os 20.Sh NAME 21.Nm conj , 22.Nm conjf 23.Nd compute the complex conjugate 24.Sh SYNOPSIS 25.Fd #include <complex.h> 26.Ft double complex 27.Fn conj "double complex z" 28.Ft float complex 29.Fn conjf "float complex z" 30.Sh DESCRIPTION 31The 32.Fn conj 33and 34.Fn conjf 35reverse the sign of the imaginary part of 36.Fa z , 37producing the complex conjugate. 38.Sh RETURN VALUES 39The 40.Fn conj 41and 42.Fn conjf 43functions return the complex conjugate of the complex number 44.Fa z . 45.Sh STANDARDS 46The 47.Fn conj 48and 49.Fn conjf 50functions conform to 51.St -isoC-99 . 52