1*84d9c625SLionel Sambuc.\" $NetBSD: cabs.3,v 1.3 2013/01/29 02:05:08 matt Exp $ 22fe8fb19SBen Gras.\" Copyright (c) 2001-2003 The Open Group, All Rights Reserved 3*84d9c625SLionel Sambuc.Dd January 29, 2013 4*84d9c625SLionel Sambuc.Dt CABS 3 5*84d9c625SLionel Sambuc.Os 6*84d9c625SLionel Sambuc.Sh NAME 7*84d9c625SLionel Sambuc.Nm cabs , 8*84d9c625SLionel Sambuc.Nm cabsf , 9*84d9c625SLionel Sambuc.Nm cabsl 10*84d9c625SLionel Sambuc.Nd return a complex absolute value 11*84d9c625SLionel Sambuc.Sh SYNOPSIS 12*84d9c625SLionel Sambuc.In complex.h 13*84d9c625SLionel Sambuc.Ft double 14*84d9c625SLionel Sambuc.Fn cabs "double complex z" 15*84d9c625SLionel Sambuc.Ft float 16*84d9c625SLionel Sambuc.Fn cabsf "float complex z" 17*84d9c625SLionel Sambuc.Ft long double 18*84d9c625SLionel Sambuc.Fn cabsl "long double complex z" 19*84d9c625SLionel Sambuc.Sh DESCRIPTION 202fe8fb19SBen GrasThese functions compute the complex absolute value (also called 21*84d9c625SLionel Sambucnorm, modulus, or magnitude) of 22*84d9c625SLionel Sambuc.Ar z . 23*84d9c625SLionel Sambuc.Sh RETURN VALUES 242fe8fb19SBen GrasThese functions return the complex absolute value. 25*84d9c625SLionel Sambuc.Sh ERRORS 262fe8fb19SBen GrasNo errors are defined. 27*84d9c625SLionel Sambuc.Sh SEE ALSO 28*84d9c625SLionel Sambuc.St -p1003.1-2001 29*84d9c625SLionel Sambuc.Aq Pa complex.h 30*84d9c625SLionel Sambuc.Sh COPYRIGHT 312fe8fb19SBen GrasPortions of this text are reprinted and reproduced in electronic form 322fe8fb19SBen Grasfrom IEEE Std 1003.1, 2003 Edition, Standard for Information Technology 332fe8fb19SBen Gras-- Portable Operating System Interface (POSIX), The Open Group Base 342fe8fb19SBen GrasSpecifications Issue 6, Copyright (C) 2001-2003 by the Institute of 35*84d9c625SLionel SambucElectrical and Electronics Engineers, Inc and The Open Group. 36*84d9c625SLionel SambucIn the 372fe8fb19SBen Grasevent of any discrepancy between this version and the original IEEE and 382fe8fb19SBen GrasThe Open Group Standard, the original IEEE and The Open Group Standard 39*84d9c625SLionel Sambucis the referee document. 40*84d9c625SLionel SambucThe original Standard can be obtained online at 412fe8fb19SBen Grashttp://www.opengroup.org/unix/online.html . 42