xref: /netbsd-src/lib/libm/complex/cabs.3 (revision 411564dc9ac78e3b850fc18d857ae90e152b8fb4)
1.\" $NetBSD: cabs.3,v 1.4 2017/09/27 09:20:27 maya Exp $
2.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved
3.Dd September 27, 2017
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.In tgmath.h
20.Ft complex-floating
21.Fn cabs "complex-floating z"
22.Sh DESCRIPTION
23These functions compute the complex absolute value (also called
24norm, modulus, or magnitude) of
25.Ar z .
26.Sh RETURN VALUES
27These functions return the complex absolute value.
28.Sh ERRORS
29No errors are defined.
30.Sh SEE ALSO
31.St -p1003.1-2001
32.Aq Pa complex.h
33.Sh COPYRIGHT
34Portions of this text are reprinted and reproduced in electronic form
35from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
36-- Portable Operating System Interface (POSIX), The Open Group Base
37Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
38Electrical and Electronics Engineers, Inc and The Open Group.
39In the
40event of any discrepancy between this version and the original IEEE and
41The Open Group Standard, the original IEEE and The Open Group Standard
42is the referee document.
43The original Standard can be obtained online at
44http://www.opengroup.org/unix/online.html .
45