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.
This commit is contained in:
Vincent Lefevre 2014-01-12 22:26:09 +01:00
parent 8e724128e8
commit 262eec3e83

View File

@ -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