diff options
| author | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
|---|---|---|
| committer | Robert Griesemer <gri@golang.org> | 2009-11-09 12:07:39 -0800 |
| commit | e940edc7a026293153ba09ece40e8092a2fc2463 (patch) | |
| tree | c94a425c84b7a48f91a5d76a222effad70c9a88c /src/pkg/math/floor.go | |
| parent | e067f862f1774ab89a2096a88571a94e3b9cd353 (diff) | |
| download | golang-e940edc7a026293153ba09ece40e8092a2fc2463.tar.gz | |
remove semis after statements in one-statement statement lists
R=rsc, r
http://go/go-review/1025029
Diffstat (limited to 'src/pkg/math/floor.go')
| -rw-r--r-- | src/pkg/math/floor.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/math/floor.go b/src/pkg/math/floor.go index cb3110fb2..7a999852d 100644 --- a/src/pkg/math/floor.go +++ b/src/pkg/math/floor.go @@ -10,7 +10,7 @@ func Floor(x float64) float64 { if x < 0 { d, fract := Modf(-x); if fract != 0.0 { - d = d+1; + d = d+1 } return -d; } |
