Signup
Search Linux manpages For:  

hypotl(3) -- Linux man page

 

NAME

hypot, hypotf, hypotl - Euclidean distance function  

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);
 

DESCRIPTION

The hypot() function returns sqrt(x*x+y*y). This is the length of the hypotenuse of a right-angle triangle with sides of length x and y, or the distance of the point (x,y) from the origin.  

CONFORMING TO

SVID 3, BSD 4.3, C99. The float and the long double variants are C99 requirements.  

SEE ALSO

sqrt(3), cabs(3)


 
LINUX MAN PAGES
Man1 -- User Commands (Intro)
Man2 -- System Calls (Intro)
Man3 -- Library Functions (Intro)
Man4 -- Special Files (Intro)
Man5 -- File Formats (Intro)
Man6 -- Games (Intro)
Man7 -- Miscellaneous (Intro)
Man8 -- Administration (Intro)
Mann -- TCL Functions (not available)


WEB HOSTING SHOWCASE




 
Cheap Web HostingBudget Web HostingEcommerce Web Hosting
Link to UsLink ExchangeAdvertisePrivacy PolicyTerms Of ServiceAbout UsContact UsSitemap
Copyright © 2006 - 2012 Broadband Media, Inc. All rights reserved.