summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-07-14 20:54:00 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2016-07-14 20:54:00 +0000
commit6078d9d43fced296eee435e866350fc6553a6b3e (patch)
treeef1734439a3774b93bd5ac09d77af16391aec7a3 /tests
parent4952dd2e2665dac599e3e63fcec90b5c53eff764 (diff)
downloadmpfr-6078d9d43fced296eee435e866350fc6553a6b3e.tar.gz
[src/mpfr-impl.h] Require <float.h> to be included in order to be
able to use the "long double macros and typedef" part. Moved the IEEE_FLOAT128_MANT_DIG macro definition out of this part. [tests/tcmp_ld.c] Added missing #include <float.h>. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@10618 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'tests')
-rw-r--r--tests/tcmp_ld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcmp_ld.c b/tests/tcmp_ld.c
index 5b23446f3..ea594fdf1 100644
--- a/tests/tcmp_ld.c
+++ b/tests/tcmp_ld.c
@@ -20,6 +20,8 @@ along with the GNU MPFR Library; see the file COPYING.LESSER. If not, see
http://www.gnu.org/licenses/ or write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */
+#include <float.h>
+
#include "mpfr-test.h"
int