]> Cypherpunks repositories - gostls13.git/commit
time: change float expression to ensure it is an integer
authorIan Lance Taylor <iant@golang.org>
Mon, 23 Apr 2012 22:46:54 +0000 (15:46 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 23 Apr 2012 22:46:54 +0000 (15:46 -0700)
commit426bf361316ab495a29c9e0a05da6236894dd392
tree6eb4b7561c274c5ca8ec1b428e31d3ff27311a57
parentc17d09a65774e03376fc1a7fd536646297f408cb
time: change float expression to ensure it is an integer

When I increased the number of bits that gccgo uses for
untyped floats, the expression 0.52*1e9 was no longer
integral.  This patch fixes that.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/6113043
src/pkg/time/time_test.go