diff options
author | Szabolcs Nagy <nsz@port70.net> | 2013-09-04 16:39:41 +0000 |
---|---|---|
committer | Szabolcs Nagy <nsz@port70.net> | 2013-09-05 11:30:08 +0000 |
commit | 63b9cc777323488da3474e8bc53e0ac4d3521382 (patch) | |
tree | b82e0a0dd1f887c53e915d67d554b93d9feb4a86 /src/internal/libm.h | |
parent | 94a3d13ae69764c0e2b67c6e17dc5126e103d0e3 (diff) | |
download | musl-63b9cc777323488da3474e8bc53e0ac4d3521382.tar.gz |
math: remove *_WORD64 macros from libm.h
only fma used these macros and the explicit union is clearer
Diffstat (limited to 'src/internal/libm.h')
-rw-r--r-- | src/internal/libm.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/internal/libm.h b/src/internal/libm.h index d7562d10..99448a08 100644 --- a/src/internal/libm.h +++ b/src/internal/libm.h @@ -80,14 +80,6 @@ do { \ (lo) = (uint32_t)__u.bits; \ } while (0) -/* Get a 64 bit int from a double. */ -#define EXTRACT_WORD64(i,d) \ -do { \ - union dshape __u; \ - __u.value = (d); \ - (i) = __u.bits; \ -} while (0) - /* Get the more significant 32 bit int from a double. */ #define GET_HIGH_WORD(i,d) \ do { \ @@ -112,14 +104,6 @@ do { \ (d) = __u.value; \ } while (0) -/* Set a double from a 64 bit int. */ -#define INSERT_WORD64(d,i) \ -do { \ - union dshape __u; \ - __u.bits = (i); \ - (d) = __u.value; \ -} while (0) - /* Set the more significant 32 bits of a double from an int. */ #define SET_HIGH_WORD(d,hi) \ do { \ |