diff options
author | Russ Cox <rsc@golang.org> | 2011-01-19 23:09:00 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2011-01-19 23:09:00 -0500 |
commit | f2b5a07453277de6bc500dc283799441cc375239 (patch) | |
tree | 2c5fdc55fd72274b49b5eff68736ff3075389b3d /test/iota.go | |
parent | 0849944694543a3446da4b1fa0c3d314781ced14 (diff) | |
download | go-f2b5a07453277de6bc500dc283799441cc375239.tar.gz go-f2b5a07453277de6bc500dc283799441cc375239.zip |
delete float, complex - code changes
also:
cmplx -> complex
float64(1.0) -> 1.0
float64(1) -> 1.0
R=gri, r, gri1, r2
CC=golang-dev
https://golang.org/cl/3991043
Diffstat (limited to 'test/iota.go')
-rw-r--r-- | test/iota.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/iota.go b/test/iota.go index 20b77c6cc0..c40ca1f382 100644 --- a/test/iota.go +++ b/test/iota.go @@ -17,8 +17,8 @@ const ( x int = iota y = iota z = 1 << iota - f float = 2 * iota - g float = 4.5 * float(iota) + f float32 = 2 * iota + g float32 = 4.5 * float32(iota) ) const ( @@ -57,7 +57,7 @@ const ( ) const ( - p = float(iota) + p = float32(iota) q r ) @@ -68,9 +68,9 @@ const ( ) const ( - abit, amask = 1 << iota, 1 << iota - 1 - bbit, bmask = 1 << iota, 1 << iota - 1 - cbit, cmask = 1 << iota, 1 << iota - 1 + abit, amask = 1 << iota, 1<<iota - 1 + bbit, bmask = 1 << iota, 1<<iota - 1 + cbit, cmask = 1 << iota, 1<<iota - 1 ) func main() { |