]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't bother with #pragma STDC FENV_ACCESS ON, as
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Nov 2005 18:30:28 +0000 (18:30 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Nov 2005 18:30:28 +0000 (18:30 +0000)
coreutils no longer futzes with rounding modes.

lib/ChangeLog
lib/xstrtod.c

index 6b62579cc6828397b976fea13cb2227e8c299a9b..e02f9cdde792751e3f6fb0948bb1112291ac4013 100644 (file)
@@ -1,3 +1,8 @@
+2005-11-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * xstrtod.c: Don't bother with #pragma STDC FENV_ACCESS ON, as
+       coreutils no longer futzes with rounding modes.
+
 2005-11-08  Eric Blake  <ebb9@byu.net>
 
        * getaddrinfo.h: Use #if !, not #ifndef, for AC_CHECK_DECLS.
index 06360dd3f8ea3f2a83047022a9e420ff567de164..8639869f9990845057addcadf141cbf757fbadae 100644 (file)
@@ -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
 #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