diff options
Diffstat (limited to 'static/unix-v10/man3/hypot.3')
| -rw-r--r-- | static/unix-v10/man3/hypot.3 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/static/unix-v10/man3/hypot.3 b/static/unix-v10/man3/hypot.3 new file mode 100644 index 00000000..2b477a7a --- /dev/null +++ b/static/unix-v10/man3/hypot.3 @@ -0,0 +1,35 @@ +.pa 1 +.he 'HYPOT (III)'6/12/72'HYPOT (III)' +.ti 0 +NAME hypot -- calculate hypotenuse +.sp +.ti 0 +SYNOPSIS movf a,fr0 +.br +movf b,fr1 +.br +jsr r5,hypot +.br +movf fr0,... +.sp +.ti 0 +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. +.sp +.ti 0 +FILES kept in /lib/liba.a +.sp +.ti 0 +SEE ALSO sqrt(III) +.sp +.ti 0 +DIAGNOSTICS The +c-bit is set if the result cannot +be represented. +.sp +.ti 0 +BUGS -- |
