4 #include <mdpi/mdpi_user.h> 16 printf(
"lhs: %.8e 0x%016llX\n", lhs.
d, lhs.
u);
18 printf(
"lhs: 0x%016llX\n", lhs.
u);
20 printf(
"res: 0x%016llX\n", res.
u);
22 printf(
"res: %.8e 0x%016llX\n\n", res.
d, res.
u);
94 ref = __builtin_exp(lhs.
d);
95 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)
double double_prec_exp(double a)
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)
#define __float_to_in(in)
int parse_double_array(char *s, double *arr, int n)
void run_benchmark(void *vargs)