diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-05-24 08:33:50 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2019-05-24 08:33:50 +0000 |
commit | 87238be7ea47a5a05b95d1aaca213bf3ac7e9d71 (patch) | |
tree | b125b3588f81473e5b906762d1a97766415017b0 /src/mpfr-impl.h | |
parent | 5a83dece52d2eb127ea4494e1b36a0a37c7a31be (diff) | |
download | mpfr-87238be7ea47a5a05b95d1aaca213bf3ac7e9d71.tar.gz |
[src] Instead of including <float.h> in volatile.c (r13493), do that
unconditionally in mpfr-impl.h to make sure that macro definitions
in this header file are always correct: some definitions depend on
various macros from <float.h>, such as FLT_RADIX and DBL_MANT_DIG.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@13494 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/mpfr-impl.h')
-rw-r--r-- | src/mpfr-impl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mpfr-impl.h b/src/mpfr-impl.h index 30c29a81a..75428f68c 100644 --- a/src/mpfr-impl.h +++ b/src/mpfr-impl.h @@ -57,6 +57,7 @@ https://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc., #include <stdlib.h> #include <limits.h> +#include <float.h> /* for FLT_RADIX, etc., tested below */ /****************************************************** |