46 unsigned long long ll;
63 0x7FFF000000000000ULL,
64 0x7FF0000000000000ULL,
65 0x7FF0000000000000ULL,
66 0x7FF0000000000000ULL,
67 0x3FF0000000000000ULL,
68 0x3FF0000000000000ULL,
69 0x0000000000000000ULL,
70 0x3FF0000000000000ULL,
71 0x0000000000000000ULL,
72 0x8000000000000000ULL,
73 0x4008000000000000ULL,
74 0xC008000000000000ULL,
75 0x4008000000000000ULL,
76 0xC008000000000000ULL,
77 0x4000000000000000ULL,
78 0xC000000000000000ULL,
79 0x4000000000000000ULL,
80 0xC000000000000000ULL,
81 0x3FF0000000000000ULL,
82 0xBFF0000000000000ULL,
83 0x3FF0000000000000ULL,
88 0x3FF0000000000000ULL,
89 0x7FF8000000000000ULL,
90 0x7FF0000000000000ULL,
91 0x3FF0000000000000ULL,
92 0x7FF8000000000000ULL,
93 0x7FF0000000000000ULL,
94 0x0000000000000000ULL,
95 0x0000000000000000ULL,
96 0x3FF0000000000000ULL,
97 0x3FF0000000000000ULL,
98 0x4000000000000000ULL,
99 0x4000000000000000ULL,
100 0xC000000000000000ULL,
101 0xC000000000000000ULL,
102 0x4010000000000000ULL,
103 0x4010000000000000ULL,
104 0xC010000000000000ULL,
105 0xC010000000000000ULL,
106 0x3FF8000000000000ULL,
107 0x3FF8000000000000ULL,
108 0xBFF8000000000000ULL,
109 0xBFF8000000000000ULL
113 0x7FFF000000000000ULL,
114 0x7FF8000000000000ULL,
115 0x7FFFFFFFFFFFFFFFULL,
116 0x7FF0000000000000ULL,
117 0x7FF8000000000000ULL,
118 0x0000000000000000ULL,
119 0x7FFFFFFFFFFFFFFFULL,
120 0x7FF0000000000000ULL,
121 0x0000000000000000ULL,
122 0x8000000000000000ULL,
123 0x3FF8000000000000ULL,
124 0xBFF8000000000000ULL,
125 0xBFF8000000000000ULL,
126 0x3FF8000000000000ULL,
127 0x3FE0000000000000ULL,
128 0xBFE0000000000000ULL,
129 0xBFE0000000000000ULL,
130 0x3FE0000000000000ULL,
131 0x3FE5555555555555ULL,
132 0xBFE5555555555555ULL,
133 0xBFE5555555555555ULL,
134 0x3FE5555555555555ULL
144 for (i = 0; i <
N; i++)
150 main_result += (result !=
z_output[i]);
153 (
"a_input=%016llx b_input=%016llx expected=%016llx output=%016llx (%lf)\n",
157 printf (
"%d\n", main_result);
float64 float64_div(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.