opendarwin man page for cabs

Query: cabs

OS: opendarwin

Section: 3

Links: opendarwin man pages   all man pages

Forums: forum home   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CABS(3) 						   BSD Library Functions Manual 						   CABS(3)

NAME
cabs -- complex absolute value function
SYNOPSIS
#include <math.h> struct {double x, y;} z; double cabs(z);
DESCRIPTION
The cabs() function computes the complex absolute value (also called norm, modulus, or magnitude) of z, without undue underflow or overflow. It is specified by cabs(x+iy) = hypot(x, y)
SEE ALSO
hypot(3), math(3), sqrt(3), cabsf
STANDARDS
The cabs() function conforms to ISO/IEC 9899:1999(E). 4th Berkeley Distribution January 28, 2003 4th Berkeley Distribution