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


   #include <complex.h>

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

   Link with -lm.


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


   These functions first appeared in glibc in version 2.1.


   For  an  explanation  of  the  terms  used   in   this   section,   see

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


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


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


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


   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

                              2015-04-19                           CABS(3)

More Linux Commands

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

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

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

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

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

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

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

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.

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

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 *

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

perlepoc(1) - Perl for EPOC (Commands - Linux man page).....
EPOC is an OS for palmtops and mobile phones. For more information look at: &lt;; 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.