complex.3 (98e0ffaefb0f241cda3a72395d3be04192ae0d47) complex.3 (0c0288a2187070cd4fa48f821000d29a7be44f5a)
1.\" Copyright (c) 2011 Murray Stokely <murray@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
1.\" Copyright (c) 2011 Murray Stokely <murray@FreeBSD.org>
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

--- 10 unchanged lines hidden (view full) ---

19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD$
26.\"
27.Dd October 17, 2011
27.Dd May 13, 2018
28.Dt COMPLEX 3
29.Os
30.Sh NAME
31.Nm complex
32.Nd "complex arithmetic"
33.Sh LIBRARY
34.Lb libm
35.Sh SYNOPSIS

--- 36 unchanged lines hidden (view full) ---

72.Cl
73cabs complex absolute value (i.e. norm, modulus, magnitude)
74csqrt complex square root
75.El
76.Ss Exponential Function
77.Cl
78cexp exponential base e
79.El
28.Dt COMPLEX 3
29.Os
30.Sh NAME
31.Nm complex
32.Nd "complex arithmetic"
33.Sh LIBRARY
34.Lb libm
35.Sh SYNOPSIS

--- 36 unchanged lines hidden (view full) ---

72.Cl
73cabs complex absolute value (i.e. norm, modulus, magnitude)
74csqrt complex square root
75.El
76.Ss Exponential Function
77.Cl
78cexp exponential base e
79.El
80.Ss Natural logrithm Function
81.Cl
82clog natural logrithm
83.El
80.\" Section 7.3.9 of ISO C99 standard
81.Ss Manipulation Functions
82.Cl
83carg compute the argument (i.e. phase angle)
84cimag compute the imaginary part
85conj compute the complex conjugate
86cproj compute projection onto Riemann sphere
87creal compute the real part

--- 24 unchanged lines hidden (view full) ---

112.%U http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
113.Re
114.Sh STANDARDS
115The
116.In complex.h
117functions described here conform to
118.St -isoC-99 .
119.Sh BUGS
84.\" Section 7.3.9 of ISO C99 standard
85.Ss Manipulation Functions
86.Cl
87carg compute the argument (i.e. phase angle)
88cimag compute the imaginary part
89conj compute the complex conjugate
90cproj compute projection onto Riemann sphere
91creal compute the real part

--- 24 unchanged lines hidden (view full) ---

116.%U http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf
117.Re
118.Sh STANDARDS
119The
120.In complex.h
121functions described here conform to
122.St -isoC-99 .
123.Sh BUGS
120The logarithmic functions
121.Fn clog
122and the power functions
124The power functions
123.Fn cpow
124are not implemented.
125.Fn cpow
126are not implemented.