diff options
author | das <das@FreeBSD.org> | 2012-01-16 04:04:35 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2012-01-16 04:04:35 +0000 |
commit | b2eac838ccdcf3c8f2a5f094f46aaf83b3b8538f (patch) | |
tree | db7cf9d0e172c193a32c42011828e09a9744e784 /lib/libc/arm | |
parent | 06f584305631de1e438ac4ee40a87cc8b960f975 (diff) | |
download | FreeBSD-src-b2eac838ccdcf3c8f2a5f094f46aaf83b3b8538f.zip FreeBSD-src-b2eac838ccdcf3c8f2a5f094f46aaf83b3b8538f.tar.gz |
Correct some bugs that resulted from arm/_fpmath.h being blindly copied
from the x86 version, which has a completely different long double
format.
Submitted by: Maks Verver
Diffstat (limited to 'lib/libc/arm')
-rw-r--r-- | lib/libc/arm/_fpmath.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/arm/_fpmath.h b/lib/libc/arm/_fpmath.h index b0ce8f4..4c18945 100644 --- a/lib/libc/arm/_fpmath.h +++ b/lib/libc/arm/_fpmath.h @@ -55,9 +55,10 @@ union IEEEl2bits { }; #define LDBL_NBIT 0 +#define LDBL_IMPLICIT_NBIT #define mask_nbit_l(u) ((void)0) -#define LDBL_MANH_SIZE 32 +#define LDBL_MANH_SIZE 20 #define LDBL_MANL_SIZE 32 #define LDBL_TO_ARRAY32(u, a) do { \ |