xref: /minix3/lib/libm/complex/cabs.3 (revision 84d9c625bfea59e274550651111ae9edfdc40fbd)
1.\" $NetBSD: cabs.3,v 1.3 2013/01/29 02:05:08 matt Exp $
2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
3.Dd January 29, 2013
4.Dt CABS 3
5.Os
6.Sh NAME
7.Nm cabs ,
8.Nm cabsf ,
9.Nm cabsl
10.Nd return a complex absolute value
11.Sh SYNOPSIS
12.In complex.h
13.Ft double
14.Fn cabs "double complex z"
15.Ft float
16.Fn cabsf "float complex z"
17.Ft long double
18.Fn cabsl "long double complex z"
19.Sh DESCRIPTION
20These functions compute the complex absolute value (also called
21norm, modulus, or magnitude) of
22.Ar z .
23.Sh RETURN VALUES
24These functions return the complex absolute value.
25.Sh ERRORS
26No errors are defined.
27.Sh SEE ALSO
28.St -p1003.1-2001
29.Aq Pa complex.h
30.Sh COPYRIGHT
31Portions of this text are reprinted and reproduced in electronic form
32from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
33-- Portable Operating System Interface (POSIX), The Open Group Base
34Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
35Electrical and Electronics Engineers, Inc and The Open Group.
36In the
37event of any discrepancy between this version and the original IEEE and
38The Open Group Standard, the original IEEE and The Open Group Standard
39is the referee document.
40The original Standard can be obtained online at
41http://www.opengroup.org/unix/online.html .
42