File:  [Research Unix] / researchv10dc / dist / man / v4 / man3 / hypot.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.th HYPOT III 6/12/72
.sh NAME
hypot \*- calculate hypotenuse
.sh SYNOPSIS
.ft B
jsr	r5,hypot
.br
.ft R
.sh DESCRIPTION
The
square root of fr0*fr0 + fr1*fr1
is returned in fr0.
The calculation is done in such a way
that overflow will not occur unless
the answer is not representable in floating point.
.sh DIAGNOSTICS
The
c-bit is set if the result cannot
be represented.
.sh BUGS

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.