summaryrefslogtreecommitdiff
path: root/libgo/go/math/exp_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/exp_test.go')
-rw-r--r--libgo/go/math/exp_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/libgo/go/math/exp_test.go b/libgo/go/math/exp_test.go
new file mode 100644
index 0000000000..7381fd5ad3
--- /dev/null
+++ b/libgo/go/math/exp_test.go
@@ -0,0 +1,10 @@
+// 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 expGo and exp2Go available for testing.
+
+func ExpGo(x float64) float64 { return expGo(x) }
+func Exp2Go(x float64) float64 { return exp2Go(x) }