diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-23 21:39:12 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-04-23 21:39:12 +0000 |
commit | f68344e7c9b22713d613e7eaf53e471eabc8658a (patch) | |
tree | 11a66d225e58b0a5e11cbbbbb72b4ddd8d0252bb /libgo | |
parent | be39fa57654cc3d8f31a004375149c75adab65a8 (diff) | |
download | gcc-f68344e7c9b22713d613e7eaf53e471eabc8658a.tar.gz |
* go-lang.c (go_langhook_init): Set MPFR precision to 256.
time: Adjust float expression so that it first integer context.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@186727 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/go/time/time_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/time/time_test.go b/libgo/go/time/time_test.go index 3430526b8bf..e1a75e46d8e 100644 --- a/libgo/go/time/time_test.go +++ b/libgo/go/time/time_test.go @@ -804,7 +804,7 @@ var jsonTests = []struct { time Time json string }{ - {Date(9999, 4, 12, 23, 20, 50, .52*1e9, UTC), `"9999-04-12T23:20:50.52Z"`}, + {Date(9999, 4, 12, 23, 20, 50, 520*1e6, UTC), `"9999-04-12T23:20:50.52Z"`}, {Date(1996, 12, 19, 16, 39, 57, 0, Local), `"1996-12-19T16:39:57-08:00"`}, {Date(0, 1, 1, 0, 0, 0, 1, FixedZone("", 1*60)), `"0000-01-01T00:00:00.000000001+00:01"`}, } |