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/cproj.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/cproj.3')
-rw-r--r-- | lib/libm/man/cproj.3 | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/lib/libm/man/cproj.3 b/lib/libm/man/cproj.3 index 75fb47dcc2e..6170bf32abe 100644 --- a/lib/libm/man/cproj.3 +++ b/lib/libm/man/cproj.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: cproj.3,v 1.1 2010/07/19 12:48:23 millert Exp $ +.\" $OpenBSD: cproj.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 CPROJ 3 .Os .Sh NAME .Nm cproj , -.Nm cprojf +.Nm cprojf , +.Nm cprojl .Nd compute projection onto Riemann sphere .Sh SYNOPSIS .Fd #include <complex.h> @@ -27,19 +28,23 @@ .Fn cproj "double complex z" .Ft float complex .Fn cprojf "float complex z" +.Ft long double complex +.Fn cprojl "long double complex z" .Sh DESCRIPTION The -.Fn cproj -and +.Fn cproj , .Fn cprojf +and +.Fn cprojl functions compute a projection of .Fa z onto the Riemann sphere. .Sh RETURN VALUES The -.Fn cproj -and +.Fn cproj , .Fn cprojf +and +.Fn cprojl functions return .Fa z for all finite complex numbers. @@ -54,8 +59,9 @@ INFINITY + I * copysign(0.0, cimag(z)) .Xr cimag 3 .Sh STANDARDS The -.Fn cproj -and +.Fn cproj , .Fn cprojf +and +.Fn cprojl functions conform to .St -isoC-99 . |