]> Cypherpunks repositories - gostls13.git/commit
math: remove the leading F from Fabs etc.
authorRob Pike <r@golang.org>
Thu, 29 Sep 2011 16:54:20 +0000 (09:54 -0700)
committerRob Pike <r@golang.org>
Thu, 29 Sep 2011 16:54:20 +0000 (09:54 -0700)
commit1a13f9b810bc5ba43aa9786d06a0d06a58f1e110
tree5a880ceea30332920cd1fe2d30c915ae214e7ab8
parent61cc8728fbf52dbe5e76cea19aac8b87d2173174
math: remove the leading F from Fabs etc.
The letter is a holdover from C and unnecessary in Go.
Gofix module included.
Fixes #2306.

R=golang-dev, gri, dsymonds
CC=golang-dev
https://golang.org/cl/5158043
27 files changed:
src/cmd/gofix/Makefile
src/cmd/gofix/math.go [new file with mode: 0644]
src/cmd/gofix/math_test.go [new file with mode: 0644]
src/pkg/cmath/asin.go
src/pkg/cmath/sin.go
src/pkg/cmath/sqrt.go
src/pkg/cmath/tan.go
src/pkg/json/scanner_test.go
src/pkg/math/Makefile
src/pkg/math/abs.go [moved from src/pkg/math/fabs.go with 60% similarity]
src/pkg/math/abs_386.s [moved from src/pkg/math/fabs_386.s with 82% similarity]
src/pkg/math/abs_amd64.s [moved from src/pkg/math/fabs_amd64.s with 83% similarity]
src/pkg/math/abs_decl.go [moved from src/pkg/math/fabs_decl.go with 85% similarity]
src/pkg/math/all_test.go
src/pkg/math/bits.go
src/pkg/math/dim.go [moved from src/pkg/math/fdim.go with 57% similarity]
src/pkg/math/dim_amd64.s [moved from src/pkg/math/fdim_amd64.s with 69% similarity]
src/pkg/math/dim_decl.go [moved from src/pkg/math/fdim_decl.go with 64% similarity]
src/pkg/math/gamma.go
src/pkg/math/jn.go
src/pkg/math/lgamma.go
src/pkg/math/mod.go [moved from src/pkg/math/fmod.go with 83% similarity]
src/pkg/math/mod_386.s [moved from src/pkg/math/fmod_386.s with 88% similarity]
src/pkg/math/mod_decl.go [moved from src/pkg/math/fmod_decl.go with 84% similarity]
src/pkg/math/pow.go
src/pkg/math/remainder.go
src/pkg/rand/rand_test.go