aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVincent Lefevre <vincent@vinc17.net>2014-01-12 22:26:09 +0100
committerVincent Lefevre <vincent@vinc17.net>2014-01-12 22:26:09 +0100
commit262eec3e8361d25682387df7a077e4afcea96fd3 (patch)
tree4aec9f9180b3d05cc3db5199f62fffc5afee2e96 /include
parent8e724128e8233c1e0addef8f0860e33194bd9ab9 (diff)
downloadtinycc-262eec3e8361d25682387df7a077e4afcea96fd3.tar.gz
tinycc-262eec3e8361d25682387df7a077e4afcea96fd3.tar.bz2
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.
Diffstat (limited to 'include')
-rw-r--r--include/float.h2
1 files changed, 1 insertions, 1 deletions
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