diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-11-15 18:30:06 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-11-15 18:30:06 +0000 |
commit | 485eb21c324b8e6a558df69a06e46ca904c33f39 (patch) | |
tree | 57ff30f75e82c52ea3117693f58aea5e6661266b /lib/xstrtod.c | |
parent | 22403b089802680b3146c51d85815040fc4e9d46 (diff) | |
download | gnulib-485eb21c324b8e6a558df69a06e46ca904c33f39.tar.gz |
* xstrtod.c: Don't bother with #pragma STDC FENV_ACCESS ON, as
coreutils no longer futzes with rounding modes.
Diffstat (limited to 'lib/xstrtod.c')
-rw-r--r-- | lib/xstrtod.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/xstrtod.c b/lib/xstrtod.c index 06360dd3f8..8639869f99 100644 --- a/lib/xstrtod.c +++ b/lib/xstrtod.c @@ -1,6 +1,7 @@ /* error-checking interface to strtod-like functions - Copyright (C) 1996, 1999, 2000, 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 1996, 1999, 2000, 2003, 2004, 2005 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -28,11 +29,6 @@ #include <limits.h> #include <stdio.h> -/* Tell the compiler that non-default rounding modes are used. */ -#if 199901 <= __STDC_VERSION__ - #pragma STDC FENV_ACCESS ON -#endif - /* An interface to strtod that encapsulates all the error checking one should usually perform. Like strtod, but upon successful conversion put the result in *RESULT and return true. Return |