Go to the first, previous, next, last section, table of contents.


hypot

Syntax

#include <math.h>

double hypot(double x, double y);

Return Value

The length of a hypotenuse of a right triangle whose shorter sides are x and y. In other words, the distance between (0,0) and (x,y).

Portability

not ANSI, not POSIX


Go to the first, previous, next, last section, table of contents.