fabs man page on Tru64

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
Tru64 logo
[printable version]

hypot(3)							      hypot(3)

NAME
       hypot, cabs, fabs - Calculate Euclidean distance and absolute value

SYNOPSIS
       #include <math.h>

       double hypot(
	       double x,
	       double y ); float hypotf(
	       float x,
	       float y ); long double hypotl(
	       long double x,
	       long double y ); double cabs(
	       double x,
	       double y ); float cabsf(
	       float x,
	       float y ); long double cabsl(
	       long double x,
	       long double y ); double fabs(
	       double x ); float fabsf(
	       float x ); long double fabsl(
	       long double x );

LIBRARY
       Math Library (libm)

STANDARDS
       Interfaces  documented on this reference page conform to industry stan‐
       dards as follows:

       hypot():	 XPG4

       fabs():	XPG4

       Refer to the standards(5) reference page	 for  more  information	 about
       industry standards and associated tags.

DESCRIPTION
       The hypot(), hypotf(), and hypotl() functions compute the length of the
       hypotenuse of a right triangle, where x and y represent the perpendicu‐
       lar  sides of the triangle. The hypot(x,y), hypotf(x,y) and hypotl(x,y)
       functions are defined as sqrt(x**2 + y**2).

       The cabs(), cabsf(), and cabsl() functions return the complex  absolute
       value  of  x. The cabs(), cabsf(), and cabsfl) functions are defined as
       hypot() and hypotf(), respectively.

       The fabs(), fabsf(), and fabsl() functions compute the  absolute	 value
       of x.

       The  following  table describes function behavior in response to excep‐
       tional arguments:

       ────────────────────────────────────────────────────────────────────────────
       Function			       Exceptional Argument	     Routine
								     Behavior
       ────────────────────────────────────────────────────────────────────────────
       hypot(), hypotf(), hypotl()     sqrt(x**2 + y**2)>max_float   Overflow
       cabs(), cabsf(), cabsl()	       sqrt(x**2 + y**2)>max_float   Overflow
       ────────────────────────────────────────────────────────────────────────────

       The following table lists boundary values used by these functions:

       ─────────────────────────────────────────────────────────────────
       Value Name   Data Type	Hexadecimal Value   Decimal Value
       ─────────────────────────────────────────────────────────────────
       max_float    S_FLOAT	7F7FFFFF	    3.402823e38
		    T_FLOAT	7FEFFFFFFFFFFFFF    1.7976931348623e308
       ─────────────────────────────────────────────────────────────────

								      hypot(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Tru64

List of man pages available for Tru64

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net