summaryrefslogtreecommitdiff
path: root/src/pkg/math/exp.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/math/exp.go')
-rw-r--r--src/pkg/math/exp.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/pkg/math/exp.go b/src/pkg/math/exp.go
index b801d58ac..90409c341 100644
--- a/src/pkg/math/exp.go
+++ b/src/pkg/math/exp.go
@@ -139,8 +139,3 @@ func Exp(x float64) float64 {
// TODO(rsc): make sure Ldexp can handle boundary k
return Ldexp(y, k)
}
-
-// Exp2 returns 2**x, the base-2 exponential of x.
-//
-// Special cases are the same as Exp.
-func Exp2(x float64) float64 { return Exp(x * Ln2) }