summaryrefslogtreecommitdiff
path: root/src/lib/math/log.go
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2008-08-04 17:17:59 -0700
committerRobert Griesemer <gri@golang.org>2008-08-04 17:17:59 -0700
commitea1438954697a2b8fc91720bcd97d737a9c77244 (patch)
tree80e7db696b1c8292c000aa0967b28f586522e78b /src/lib/math/log.go
parent058f49d45414069884317b918b8506db8708d31e (diff)
downloadgolang-ea1438954697a2b8fc91720bcd97d737a9c77244.tar.gz
- switched most of existing Go code to new export syntax
- adjusted lang doc R=r DELTA=192 (26 added, 65 deleted, 101 changed) OCL=13844 CL=13848
Diffstat (limited to 'src/lib/math/log.go')
-rw-r--r--src/lib/math/log.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/math/log.go b/src/lib/math/log.go
index 927a7acdf..5cd73bf89 100644
--- a/src/lib/math/log.go
+++ b/src/lib/math/log.go
@@ -4,8 +4,6 @@
package math
-export log, log10
-
/*
* log returns the natural logarithm of its floating
* point argument.
@@ -29,7 +27,7 @@ const
q2 = -.891110902798312337e1;
)
-func
+export func
log(arg float64) float64
{
var x, z, zsq, temp float64;
@@ -58,7 +56,7 @@ log(arg float64) float64
return temp;
}
-func
+export func
log10(arg float64) float64
{