46 unsigned long long ll;
62 0x7FF0000000000000ULL,
63 0x7FFF000000000000ULL,
64 0x7FF0000000000000ULL,
65 0x7FF0000000000000ULL,
66 0x3FF0000000000000ULL,
67 0x0000000000000000ULL,
68 0x3FF0000000000000ULL,
69 0x0000000000000000ULL,
70 0x8000000000000000ULL,
71 0x3FF0000000000000ULL,
72 0x3FF0000000000000ULL,
73 0x4000000000000000ULL,
74 0x3FD0000000000000ULL,
75 0xC000000000000000ULL,
76 0xBFD0000000000000ULL,
77 0x4000000000000000ULL,
78 0xBFD0000000000000ULL,
79 0xC000000000000000ULL,
80 0x3FD0000000000000ULL,
85 0xFFFFFFFFFFFFFFFFULL,
86 0xFFF0000000000000ULL,
87 0x0000000000000000ULL,
88 0x3FF0000000000000ULL,
89 0xFFFF000000000000ULL,
90 0x7FF0000000000000ULL,
91 0x7FF0000000000000ULL,
92 0x3FF0000000000000ULL,
93 0x3FF0000000000000ULL,
94 0x0000000000000000ULL,
95 0x8000000000000000ULL,
96 0x3FD0000000000000ULL,
97 0x4000000000000000ULL,
98 0xBFD0000000000000ULL,
99 0xC000000000000000ULL,
100 0xBFD0000000000000ULL,
101 0x4000000000000000ULL,
102 0x3FD0000000000000ULL,
103 0xC000000000000000ULL,
104 0x0000000000000000ULL
108 0xFFFFFFFFFFFFFFFFULL,
109 0x7FFF000000000000ULL,
110 0x7FFFFFFFFFFFFFFFULL,
111 0x7FF0000000000000ULL,
112 0xFFFF000000000000ULL,
113 0x7FFFFFFFFFFFFFFFULL,
114 0x7FF0000000000000ULL,
115 0x0000000000000000ULL,
116 0x8000000000000000ULL,
117 0x0000000000000000ULL,
118 0x8000000000000000ULL,
119 0x3FE0000000000000ULL,
120 0x3FE0000000000000ULL,
121 0x3FE0000000000000ULL,
122 0x3FE0000000000000ULL,
123 0xBFE0000000000000ULL,
124 0xBFE0000000000000ULL,
125 0xBFE0000000000000ULL,
126 0xBFE0000000000000ULL,
127 0x0000000000000000ULL
137 for (i = 0; i <
N; i++)
143 main_result += (result !=
z_output[i]);
146 (
"a_input=%016llx b_input=%016llx expected=%016llx output=%016llx (%lf)\n",
150 printf (
"%d\n", main_result);
float64 float64_mul(float64 a, float64 b)
const float64 z_output[N]
unsigned long long float64
double ullong_to_double(unsigned long long x)
x
Return the smallest n such that 2^n >= _x.