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
Copyright © 2024 Alcatel-Lucent. All rights reserved.