1 .\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
3 .\" %%%LICENSE_START(GPL_NOVERSION_ONELINE)
4 .\" Distributed under GPL
7 .TH CABS 3 2008-08-11 "" "Linux Programmer's Manual"
9 cabs, cabsf, cabsl \- absolute value of a complex number
11 .B #include <complex.h>
13 .BI "double cabs(double complex " z );
15 .BI "float cabsf(float complex " z );
17 .BI "long double cabsl(long double complex " z );
23 function returns the absolute value of the complex number
25 The result is a real number.
27 These functions first appeared in glibc in version 2.1.
31 The function is actually an alias for
34 .IR "sqrt(a*a\ +\ b*b)" ).
41 This page is part of release 3.65 of the Linux
44 A description of the project,
45 and information about reporting bugs,
47 \%http://www.kernel.org/doc/man\-pages/.