diff options
author | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2011-01-17 12:40:45 +0100 |
commit | 3e45412327a2654a77944249962b3652e6142299 (patch) | |
tree | bc3bf69452afa055423cbe0c5cfa8ca357df6ccf /src/pkg/math/log.go | |
parent | c533680039762cacbc37db8dc7eed074c3e497be (diff) | |
download | golang-upstream/2011.01.12.tar.gz |
Imported Upstream version 2011.01.12upstream/2011.01.12
Diffstat (limited to 'src/pkg/math/log.go')
-rw-r--r-- | src/pkg/math/log.go | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pkg/math/log.go b/src/pkg/math/log.go index 02e767b95..39d94512d 100644 --- a/src/pkg/math/log.go +++ b/src/pkg/math/log.go @@ -121,11 +121,3 @@ func Log(x float64) float64 { hfsq := 0.5 * f * f return k*Ln2Hi - ((hfsq - (s*(hfsq+R) + k*Ln2Lo)) - f) } - -// Log10 returns the decimal logarithm of x. -// The special cases are the same as for Log. -func Log10(x float64) float64 { return Log(x) * (1 / Ln10) } - -// Log2 returns the binary logarithm of x. -// The special cases are the same as for Log. -func Log2(x float64) float64 { return Log(x) * (1 / Ln2) } |