summaryrefslogtreecommitdiff
path: root/src/pkg/math/atan2.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/atan2.go')
-rw-r--r--src/pkg/math/atan2.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/math/atan2.go b/src/pkg/math/atan2.go
index 49d4bdd71..3d1b52a5c 100644
--- a/src/pkg/math/atan2.go
+++ b/src/pkg/math/atan2.go
@@ -26,7 +26,9 @@ package math
// Atan2(y<0, -Inf) = -Pi
// Atan2(+Inf, x) = +Pi/2
// Atan2(-Inf, x) = -Pi/2
-func Atan2(y, x float64) float64 {
+func Atan2(y, x float64) float64
+
+func atan2(y, x float64) float64 {
// TODO(rsc): Remove manual inlining of IsNaN, IsInf
// when compiler does it for us
// special cases