HYPOT(2)HYPOT(2)

NAME

hypot – Euclidean distance

SYNOPSIS

#include <u.h>
#include <libc.h>

double hypot(double x, double y)

DESCRIPTION

Hypot returns

	sqrt(x*x + y*y)

taking precautions against unwarranted overflows.

SOURCE

/sys/src/libc/port/hypot.c