Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

CentOS 5.1

hypotf(3)


HYPOT

HYPOT

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO
SEE ALSO

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

Link with −lm.

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

SVr4, 4.3BSD, C99. The float and long double variants are C99 requirements.

SEE ALSO

cabs(3), sqrt(3)



hypotf(3)