summaryrefslogtreecommitdiff
path: root/src/lib/math/hypot.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/math/hypot.go')
-rw-r--r--src/lib/math/hypot.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/math/hypot.go b/src/lib/math/hypot.go
index 2c7e9c581..3b3c1e510 100644
--- a/src/lib/math/hypot.go
+++ b/src/lib/math/hypot.go
@@ -4,8 +4,6 @@
package math
-export hypot
-
/*
* hypot -- sqrt(p*p + q*q), but overflows only if the result does.
* See Cleve Moler and Donald Morrison,
@@ -14,7 +12,7 @@ export hypot
* Vol. 27, Number 6, pp. 577-581, Nov. 1983
*/
-func
+export func
hypot(p, q float64) float64
{
var r, s, pfac float64;