summaryrefslogtreecommitdiff
path: root/src/pkg/math/hypot.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/hypot.go')
-rw-r--r--src/pkg/math/hypot.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/math/hypot.go b/src/pkg/math/hypot.go
index ecd115d9e..233257b52 100644
--- a/src/pkg/math/hypot.go
+++ b/src/pkg/math/hypot.go
@@ -14,7 +14,9 @@ package math
// Special cases are:
// Hypot(p, q) = +Inf if p or q is infinite
// Hypot(p, q) = NaN if p or q is NaN
-func Hypot(p, q float64) float64 {
+func Hypot(p, q float64) float64
+
+func hypot(p, q float64) float64 {
// TODO(rsc): Remove manual inlining of IsNaN, IsInf
// when compiler does it for us
// special cases