summaryrefslogtreecommitdiff
path: root/libgo/go/math/frexp.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/frexp.go')
-rw-r--r--libgo/go/math/frexp.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/libgo/go/math/frexp.go b/libgo/go/math/frexp.go
index 867b78f3648..6b928e714c5 100644
--- a/libgo/go/math/frexp.go
+++ b/libgo/go/math/frexp.go
@@ -14,6 +14,10 @@ package math
// Frexp(±Inf) = ±Inf, 0
// Frexp(NaN) = NaN, 0
func Frexp(f float64) (frac float64, exp int) {
+ return frexp(f)
+}
+
+func frexp(f float64) (frac float64, exp int) {
// TODO(rsc): Remove manual inlining of IsNaN, IsInf
// when compiler does it for us
// special cases