diff options
author | Ian Lance Taylor <iant@google.com> | 2012-04-23 21:39:12 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2012-04-23 21:39:12 +0000 |
commit | 1ec20ea138a66e277f503fa627c9760348a23ce2 (patch) | |
tree | 11a66d225e58b0a5e11cbbbbb72b4ddd8d0252bb /gcc/go | |
parent | 62fa805ffa7ed1794662a00ff0871ebb6e568a80 (diff) | |
download | gcc-1ec20ea138a66e277f503fa627c9760348a23ce2.zip gcc-1ec20ea138a66e277f503fa627c9760348a23ce2.tar.gz gcc-1ec20ea138a66e277f503fa627c9760348a23ce2.tar.bz2 |
go-lang.c (go_langhook_init): Set MPFR precision to 256.
* go-lang.c (go_langhook_init): Set MPFR precision to 256.
time: Adjust float expression so that it first integer context.
From-SVN: r186727
Diffstat (limited to 'gcc/go')
-rw-r--r-- | gcc/go/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/go/go-lang.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/go/ChangeLog b/gcc/go/ChangeLog index efbb8b1..652a36d 100644 --- a/gcc/go/ChangeLog +++ b/gcc/go/ChangeLog @@ -1,3 +1,7 @@ +2012-04-23 Ian Lance Taylor <iant@google.com> + + * go-lang.c (go_langhook_init): Set MPFR precision to 256. + 2012-04-20 Ian Lance Taylor <iant@google.com> * lang.opt: Add -fgo-check-divide-zero and diff --git a/gcc/go/go-lang.c b/gcc/go/go-lang.c index 1d4c18b..895e39d 100644 --- a/gcc/go/go-lang.c +++ b/gcc/go/go-lang.c @@ -103,7 +103,7 @@ go_langhook_init (void) /* The default precision for floating point numbers. This is used for floating point constants with abstract type. This may eventually be controllable by a command line option. */ - mpfr_set_default_prec (128); + mpfr_set_default_prec (256); /* Go uses exceptions. */ using_eh_for_cleanups (); |