Go to the source code of this file.
◆ EXTRACT_WORDS
#define EXTRACT_WORDS |
( |
| ix0, |
|
|
| ix1, |
|
|
| d ) |
Value: do { \
uint64_t bits = base::bit_cast<uint64_t>(d); \
(ix0) = bits >> 32; \
(ix1) = bits & 0xFFFFFFFFu; \
} while (false)
Definition at line 54 of file ieee754.cc.
◆ GET_HIGH_WORD
#define GET_HIGH_WORD |
( |
| i, |
|
|
| d ) |
Value: do { \
uint64_t bits = base::bit_cast<uint64_t>(d); \
} while (false)
Definition at line 63 of file ieee754.cc.
◆ GET_LOW_WORD
#define GET_LOW_WORD |
( |
| i, |
|
|
| d ) |
Value: do { \
uint64_t bits = base::bit_cast<uint64_t>(d); \
(
i) = bits & 0xFFFFFFFFu; \
} while (false)
Definition at line 71 of file ieee754.cc.
◆ INSERT_WORDS
#define INSERT_WORDS |
( |
| d, |
|
|
| ix0, |
|
|
| ix1 ) |
Value: do { \
uint64_t bits = 0; \
bits |= static_cast<uint64_t>(ix0) << 32; \
bits |= static_cast<uint32_t>(ix1); \
(d) = base::bit_cast<double>(bits); \
} while (false)
Definition at line 79 of file ieee754.cc.
◆ one
◆ pio4
◆ pio4lo
◆ SET_HIGH_WORD
#define SET_HIGH_WORD |
( |
| d, |
|
|
| v ) |
Value: do { \
uint64_t bits = base::bit_cast<uint64_t>(d); \
bits &= 0x0000'0000'FFFF'FFFF; \ bits |= static_cast<uint64_t>(v) << 32; \ (d) = base::bit_cast<double>(bits); \ } while (false)#define SET_LOW_WORD(d, v) \ do { \ uint64_t bits = base::bit_cast<uint64_t>(d); \ bits &= 0xFFFF'FFFF'0000'0000; \
bits |= static_cast<uint32_t>(v); \
(d) = base::bit_cast<double>(bits); \
} while (false)
Definition at line 89 of file ieee754.cc.