3 // Some functions for converting floating point numbers to binary
4 // representations and vice versa
6 union double_bits_pun {
11 inline static uint64_t double_bits(double x) {
17 inline static double bits_double(uint64_t y) {
23 union float_bits_pun {
28 inline static uint32_t float_bits(float x) {
34 inline static float bits_float(uint32_t y) {