Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Jun 28, 2024
1 parent 96ab790 commit a13a8e0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,17 @@ static inline double generate_all_ones_double()
#define ALL_BIT_1_32 generate_all_ones_float()
#define ALL_BIT_1_64 generate_all_ones_double()

typedef union bit64_union_t {
double f64;
int64_t i64;
uint64_t u64;
} bit64_union_t;
typedef union bit32_union_t {
float f32;
int32_t i32;
uint32_t u32;
} bit32_union_t;

template <typename T>
result_t validate128(T a, T b)
{
Expand Down

0 comments on commit a13a8e0

Please sign in to comment.