]> Cypherpunks repositories - gostls13.git/commit
go_spec: fixed a couple omissions/type errors
authorRobert Griesemer <gri@golang.org>
Thu, 2 Dec 2010 20:32:14 +0000 (12:32 -0800)
committerRobert Griesemer <gri@golang.org>
Thu, 2 Dec 2010 20:32:14 +0000 (12:32 -0800)
commit777a96a5b09f00bf531a75d9d65251e1771f05ed
treede4da7568e82cd983b88408fe03d54d41a63589b
parentb88b38ac12ef6d10fe15f2b03a9a1d8559f4b038
go_spec: fixed a couple omissions/type errors

- use math.Sqrt instead of Math.sqrt
- use float64 for Point fields to match math.Sqrt
- distinguish between Point and Point3D for clarity
- add alignment sizes for complex types

R=r, rsc, iant, ken2
CC=golang-dev
https://golang.org/cl/3420041
doc/go_spec.html