1
0
mirror of https://github.com/golang/go synced 2024-10-04 12:31:21 -06:00
go/src/pkg/time
Ian Lance Taylor 426bf36131 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
2012-04-23 15:46:54 -07:00
..
example_test.go godoc: make example code more readable with new comment convention 2012-02-16 11:50:28 +11:00
format.go time: parse fractional second with single digit 2012-04-16 11:56:37 +10:00
internal_test.go time: fix daysIn for December 2011-12-07 14:47:25 -05:00
sleep_test.go time: skip a often-flaky test in short mode 2012-02-29 13:14:05 -08:00
sleep.go time: fix godoc for After and NewTicker. 2012-01-07 20:53:53 -05:00
sys_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
sys_unix.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
sys_windows.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
tick_test.go time: during short test, do not bother tickers take longer than expected 2012-03-07 01:10:55 +08:00
tick.go time: fix godoc for After and NewTicker. 2012-01-07 20:53:53 -05:00
time_test.go time: change float expression to ensure it is an integer 2012-04-23 15:46:54 -07:00
time.go time: panic if UnixNano is out of range 2012-04-12 22:16:31 -03:00
zoneinfo_plan9.go os,time: fix Plan 9 build 2012-02-20 12:31:24 +11:00
zoneinfo_read.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
zoneinfo_unix.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00
zoneinfo_windows.go time: fix handling of locations with no dst on windows 2012-04-03 11:39:38 +10:00
zoneinfo.go time: switch to using (uncompressed) zoneinfo zip file 2012-02-19 03:16:20 -05:00