4 #include <mdpi/mdpi_user.h> 17 printf(
"lhs: %.8e 0x%016llX\nrhs: %.8e 0x%016llX\n", lhs.
d, lhs.
u, rhs.
d, rhs.
u);
20 printf(
"lhs: 0x%016llX\nrhs: 0x%016llX\n", lhs.
u, rhs.
u);
22 printf(
"res: 0x%016llX\n", res.
u);
24 printf(
"res: %.8e 0x%016llX\n\n", res.
d, res.
u);
107 has_errors |= m_float_distance(data->
c[i], ref) >
MAX_ULP;
void data_to_input(int fd, void *vdata)
int check_data(void *vdata, void *vref)
int write_double_array(int fd, double *arr, int n)
void data_to_output(int fd, void *vdata)
#define __out_to_float(out)
int write_section_header(int fd)
void output_to_data(int fd, void *vdata)
#define __float_recast(in)
void input_to_data(int fd, void *vdata)
char * find_section_start(char *s, int n)
double double_prec_addition(double a, double b)
#define __float_to_in(in)
int parse_double_array(char *s, double *arr, int n)
void run_benchmark(void *vargs)