mirror of
https://github.com/frida/tinycc
synced 2024-12-25 06:26:49 +03:00
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:
parent
8e724128e8
commit
262eec3e83
@ -27,7 +27,7 @@
|
|||||||
#define DBL_MAX_10_EXP 308
|
#define DBL_MAX_10_EXP 308
|
||||||
|
|
||||||
/* horrible intel long double */
|
/* horrible intel long double */
|
||||||
#ifdef __i386__
|
#if defined __i386__ || defined __x86_64__
|
||||||
|
|
||||||
#define LDBL_MANT_DIG 64
|
#define LDBL_MANT_DIG 64
|
||||||
#define LDBL_DIG 18
|
#define LDBL_DIG 18
|
||||||
|
Loading…
Reference in New Issue
Block a user