cabs(3)


NAME

   cabs, cabsf, cabsl - absolute value of a complex number

SYNOPSIS

   #include <complex.h>

   double cabs(double complex z);
   float cabsf(float complex z);
   long double cabsl(long double complex z);

   Link with -lm.

DESCRIPTION

   These functions return the absolute value of the complex number z.  The
   result is a real number.

VERSIONS

   These functions first appeared in glibc in version 2.1.

ATTRIBUTES

   For  an  explanation  of  the  terms  used   in   this   section,   see
   attributes(7).

   
   Interface                 Attribute      Value   
   
   cabs(), cabsf(), cabsl()  Thread safety  MT-Safe 
   

CONFORMING TO

   C99, POSIX.1-2001, POSIX.1-2008.

NOTES

   The  function  is  actually an alias for hypot(a, b) (or, equivalently,
   sqrt(a*a + b*b)).

SEE ALSO

   abs(3), cimag(3), hypot(3), complex(7)

COLOPHON

   This page is part of release 4.09 of the Linux  man-pages  project.   A
   description  of  the project, information about reporting bugs, and the
   latest    version    of    this    page,    can     be     found     at
   https://www.kernel.org/doc/man-pages/.

                              2015-04-19                           CABS(3)


More Linux Commands

manpages/XkbKeyActionEntry.3.html
XkbKeyActionEntry(3) - Returns a pointer to the key action c
XkbKeyActionEntry.3 - A key action defines the effect key presses and releases have on the internal state of the server. For example, the expected key action as

manpages/SDL_SemPost.3.html
SDL_SemPost(3) - Unlock a semaphore - Linux manual page.....
SDL_SemPost unlocks the semaphore pointed to by sem and atomically increments the semaphores value. Threads that were blocking on the semaphore may be scheduled

manpages/gnutls_x509_crq_get_attribute_by_oid.3.html
gnutls_x509_crq_get_attribute_by_oid(3) - API function......
This function will return the attribute in the certificate request specified by the given Object ID. The attribute will be DER encoded. RETURNS On success, GNUT

manpages/ps2pdf.1.html
ps2pdf(1) - Convert PostScript to PDF using ghostscript.....
The ps2pdf scripts are work-alikes for nearly all the functionality (but not the user interface) of Adobes Acrobat(TM) Distiller(TM) product: they convert PostS

manpages/tar.1.html
tar(1) - The GNU version of the tar archiving utility.......
GNU tar is an archiving program designed to store multiple files in a single file (an archive), and to manipulate such archives. The archive can be either a reg

manpages/DisplayOfScreen.3.html
DisplayOfScreen(3) - screen information functions and macros
The BlackPixelOfScreen macro returns the black pixel value of the specified screen. The WhitePixelOfScreen macro returns the white pixel value of the specified

manpages/glColor3ub.3gl.html
glColor3ub(3gl) - set the current color - Linux manual page
The GL stores both a current single-valued color index and a current four-valued RGBA color. glColor sets a new four-valued RGBA color. glColor has two major va

manpages/iso_8859_9.7.html
iso_8859_9(7) - ISO 8859-9 character set encoded in octal, d
The ISO 8859 standard includes several 8-bit extensions to the ASCII character set (also known as ISO 646-IRV). ISO 8859-9, also known as the Latin Alphabet No.

manpages/DMXGetScreenAttributes.3.html
DMXGetScreenAttributes(3) - determine back-end screen attrib
DMXGetScreenAttributes() returns the attributes for the single DMX screen specified in screen. The DMXScreenAttributes structure is: typedef struct { char *disp

manpages/XClientMessageEvent.3.html
XClientMessageEvent(3) - ClientMessage event structure......
The structure for ClientMessage events contains: typedef struct { int type; /* ClientMessage */ unsigned long serial; /* # of last request processed by server *

manpages/saslpasswd2.8.html
saslpasswd2(8) - set a user's sasl password - Linux man page
saslpasswd2 is used by a server administrator to set a users sasl password for server programs and SASL mechanisms which use the standard libsasl database of us

manpages/perlepoc.1.html
perlepoc(1) - Perl for EPOC (Commands - Linux man page).....
EPOC is an OS for palmtops and mobile phones. For more information look at: &lt;http://www.symbian.com/&gt; This is a port of perl to the epocemx SDK by Eberhard Matt





We can't live, work or learn in freedom unless the software we use is free.