summaryrefslogtreecommitdiff
path: root/src/pkg/math/sqrt_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/sqrt_test.go')
-rw-r--r--src/pkg/math/sqrt_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/pkg/math/sqrt_test.go b/src/pkg/math/sqrt_test.go
new file mode 100644
index 000000000..84cbc169e
--- /dev/null
+++ b/src/pkg/math/sqrt_test.go
@@ -0,0 +1,9 @@
+// Copyright 2010 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package math
+
+// Make sqrtGo available for testing.
+
+func SqrtGo(x float64) float64 { return sqrtGo(x) }