mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
- 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:
parent
d28acc42ec
commit
2f4352a26d
25 changed files with 118 additions and 157 deletions
|
|
@ -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
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue