Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ (2) — Plan9 4th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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

Plan 9  —  December 11, 1999

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026