diff options
Diffstat (limited to 'src/pkg/math/log.go')
-rw-r--r-- | src/pkg/math/log.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/math/log.go b/src/pkg/math/log.go index a786c8ce3..1d467fbda 100644 --- a/src/pkg/math/log.go +++ b/src/pkg/math/log.go @@ -77,7 +77,9 @@ package math // Log(0) = -Inf // Log(x < 0) = NaN // Log(NaN) = NaN -func Log(x float64) float64 { +func Log(x float64) float64 + +func log(x float64) float64 { const ( Ln2Hi = 6.93147180369123816490e-01 /* 3fe62e42 fee00000 */ Ln2Lo = 1.90821492927058770002e-10 /* 3dea39ef 35793c76 */ |