- 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
This commit is contained in:
Robert Griesemer 2008-08-04 17:17:59 -07:00
parent d28acc42ec
commit 2f4352a26d
25 changed files with 118 additions and 157 deletions

View file

@ -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
{