From 262eec3e8361d25682387df7a077e4afcea96fd3 Mon Sep 17 00:00:00 2001 From: Vincent Lefevre Date: Sun, 12 Jan 2014 22:26:09 +0100 Subject: [PATCH] Fixed the LDBL_* macros in include/float.h for x86-64: as said when x86-64 support was added, "for long double, we use x87 FPU". And indeed, tests show that Intel's extended precision is used, not double precision. --- include/float.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/float.h b/include/float.h index 5f1c6f7..f16f1f0 100644 --- a/include/float.h +++ b/include/float.h @@ -27,7 +27,7 @@ #define DBL_MAX_10_EXP 308 /* horrible intel long double */ -#ifdef __i386__ +#if defined __i386__ || defined __x86_64__ #define LDBL_MANT_DIG 64 #define LDBL_DIG 18