From 63b9cc777323488da3474e8bc53e0ac4d3521382 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Wed, 4 Sep 2013 16:39:41 +0000 Subject: math: remove *_WORD64 macros from libm.h only fma used these macros and the explicit union is clearer --- src/internal/libm.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/internal') 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 { \ -- cgit v1.2.1