summaryrefslogtreecommitdiffstats
path: root/tests/math_data/significand_intel_data.h
blob: 107627287d0aeed1204ef92610b67b22dd0cf676 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
/*
 * Copyright (C) 2014 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

static data_1_1_t<double, double> g_significand_intel_data[] = {
  { // Entry 0
    0x1.p0,
    0x1.0p100
  },
  { // Entry 1
    0x1.2aaaaaaaaaaab0p0,
    0x1.2aaaaaaaaaaabp100
  },
  { // Entry 2
    0x1.55555555555560p0,
    0x1.5555555555556p100
  },
  { // Entry 3
    0x1.80000000000010p0,
    0x1.8000000000001p100
  },
  { // Entry 4
    0x1.aaaaaaaaaaaac0p0,
    0x1.aaaaaaaaaaaacp100
  },
  { // Entry 5
    0x1.d5555555555570p0,
    0x1.d555555555557p100
  },
  { // Entry 6
    0x1.p0,
    0x1.0p101
  },
  { // Entry 7
    0x1.p0,
    0x1.0p200
  },
  { // Entry 8
    0x1.2aaaaaaaaaaab0p0,
    0x1.2aaaaaaaaaaabp200
  },
  { // Entry 9
    0x1.55555555555560p0,
    0x1.5555555555556p200
  },
  { // Entry 10
    0x1.80000000000010p0,
    0x1.8000000000001p200
  },
  { // Entry 11
    0x1.aaaaaaaaaaaac0p0,
    0x1.aaaaaaaaaaaacp200
  },
  { // Entry 12
    0x1.d5555555555570p0,
    0x1.d555555555557p200
  },
  { // Entry 13
    0x1.p0,
    0x1.0p201
  },
  { // Entry 14
    0x1.p0,
    0x1.0p1000
  },
  { // Entry 15
    0x1.2aaaaaaaaaaab0p0,
    0x1.2aaaaaaaaaaabp1000
  },
  { // Entry 16
    0x1.55555555555560p0,
    0x1.5555555555556p1000
  },
  { // Entry 17
    0x1.80000000000010p0,
    0x1.8000000000001p1000
  },
  { // Entry 18
    0x1.aaaaaaaaaaaac0p0,
    0x1.aaaaaaaaaaaacp1000
  },
  { // Entry 19
    0x1.d5555555555570p0,
    0x1.d555555555557p1000
  },
  { // Entry 20
    0x1.p0,
    0x1.0p1001
  },
  { // Entry 21
    -0x1.p0,
    -0x1.0p101
  },
  { // Entry 22
    -0x1.d5555555555550p0,
    -0x1.d555555555555p100
  },
  { // Entry 23
    -0x1.aaaaaaaaaaaaa0p0,
    -0x1.aaaaaaaaaaaaap100
  },
  { // Entry 24
    -0x1.7ffffffffffff0p0,
    -0x1.7ffffffffffffp100
  },
  { // Entry 25
    -0x1.55555555555540p0,
    -0x1.5555555555554p100
  },
  { // Entry 26
    -0x1.2aaaaaaaaaaa90p0,
    -0x1.2aaaaaaaaaaa9p100
  },
  { // Entry 27
    -0x1.p0,
    -0x1.0p100
  },
  { // Entry 28
    -0x1.p0,
    -0x1.0p201
  },
  { // Entry 29
    -0x1.d5555555555550p0,
    -0x1.d555555555555p200
  },
  { // Entry 30
    -0x1.aaaaaaaaaaaaa0p0,
    -0x1.aaaaaaaaaaaaap200
  },
  { // Entry 31
    -0x1.7ffffffffffff0p0,
    -0x1.7ffffffffffffp200
  },
  { // Entry 32
    -0x1.55555555555540p0,
    -0x1.5555555555554p200
  },
  { // Entry 33
    -0x1.2aaaaaaaaaaa90p0,
    -0x1.2aaaaaaaaaaa9p200
  },
  { // Entry 34
    -0x1.p0,
    -0x1.0p200
  },
  { // Entry 35
    -0x1.p0,
    -0x1.0p1001
  },
  { // Entry 36
    -0x1.d5555555555550p0,
    -0x1.d555555555555p1000
  },
  { // Entry 37
    -0x1.aaaaaaaaaaaaa0p0,
    -0x1.aaaaaaaaaaaaap1000
  },
  { // Entry 38
    -0x1.7ffffffffffff0p0,
    -0x1.7ffffffffffffp1000
  },
  { // Entry 39
    -0x1.55555555555540p0,
    -0x1.5555555555554p1000
  },
  { // Entry 40
    -0x1.2aaaaaaaaaaa90p0,
    -0x1.2aaaaaaaaaaa9p1000
  },
  { // Entry 41
    -0x1.p0,
    -0x1.0p1000
  },
  { // Entry 42
    0x1.p0,
    0x1.0p50
  },
  { // Entry 43
    0x1.p0,
    0x1.0p51
  },
  { // Entry 44
    0x1.p0,
    0x1.0p52
  },
  { // Entry 45
    0x1.p0,
    0x1.0p53
  },
  { // Entry 46
    0x1.p0,
    0x1.0p-1026
  },
  { // Entry 47
    0x1.ae8ba2e8ba2e80p0,
    0x1.ae8ba2e8ba2e8p-1024
  },
  { // Entry 48
    0x1.8e8ba2e8ba2e80p0,
    0x1.8e8ba2e8ba2e8p-1023
  },
  { // Entry 49
    0x1.22e8ba2e8ba2e0p0,
    0x1.22e8ba2e8ba2ep-1022
  },
  { // Entry 50
    0x1.7e8ba2e8ba2e80p0,
    0x1.7e8ba2e8ba2e8p-1022
  },
  { // Entry 51
    0x1.da2e8ba2e8ba20p0,
    0x1.da2e8ba2e8ba2p-1022
  },
  { // Entry 52
    0x1.1ae8ba2e8ba2e0p0,
    0x1.1ae8ba2e8ba2ep-1021
  },
  { // Entry 53
    0x1.48ba2e8ba2e8b0p0,
    0x1.48ba2e8ba2e8bp-1021
  },
  { // Entry 54
    0x1.768ba2e8ba2e80p0,
    0x1.768ba2e8ba2e8p-1021
  },
  { // Entry 55
    0x1.a45d1745d17450p0,
    0x1.a45d1745d1745p-1021
  },
  { // Entry 56
    0x1.d22e8ba2e8ba20p0,
    0x1.d22e8ba2e8ba2p-1021
  },
  { // Entry 57
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-1021
  },
  { // Entry 58
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp50
  },
  { // Entry 59
    0x1.p0,
    0x1.0p51
  },
  { // Entry 60
    0x1.00000000000010p0,
    0x1.0000000000001p51
  },
  { // Entry 61
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp51
  },
  { // Entry 62
    0x1.p0,
    0x1.0p52
  },
  { // Entry 63
    0x1.00000000000010p0,
    0x1.0000000000001p52
  },
  { // Entry 64
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp52
  },
  { // Entry 65
    0x1.p0,
    0x1.0p53
  },
  { // Entry 66
    0x1.00000000000010p0,
    0x1.0000000000001p53
  },
  { // Entry 67
    -0x1.00000000000010p0,
    -0x1.0000000000001p51
  },
  { // Entry 68
    -0x1.p0,
    -0x1.0p51
  },
  { // Entry 69
    -0x1.fffffffffffff0p0,
    -0x1.fffffffffffffp50
  },
  { // Entry 70
    -0x1.00000000000010p0,
    -0x1.0000000000001p52
  },
  { // Entry 71
    -0x1.p0,
    -0x1.0p52
  },
  { // Entry 72
    -0x1.fffffffffffff0p0,
    -0x1.fffffffffffffp51
  },
  { // Entry 73
    -0x1.00000000000010p0,
    -0x1.0000000000001p53
  },
  { // Entry 74
    -0x1.p0,
    -0x1.0p53
  },
  { // Entry 75
    -0x1.fffffffffffff0p0,
    -0x1.fffffffffffffp52
  },
  { // Entry 76
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp1023
  },
  { // Entry 77
    -0x1.fffffffffffff0p0,
    -0x1.fffffffffffffp1023
  },
  { // Entry 78
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-7
  },
  { // Entry 79
    0x1.p0,
    0x1.0p-6
  },
  { // Entry 80
    0x1.00000000000010p0,
    0x1.0000000000001p-6
  },
  { // Entry 81
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-6
  },
  { // Entry 82
    0x1.p0,
    0x1.0p-5
  },
  { // Entry 83
    0x1.00000000000010p0,
    0x1.0000000000001p-5
  },
  { // Entry 84
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-5
  },
  { // Entry 85
    0x1.p0,
    0x1.0p-4
  },
  { // Entry 86
    0x1.00000000000010p0,
    0x1.0000000000001p-4
  },
  { // Entry 87
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-4
  },
  { // Entry 88
    0x1.p0,
    0x1.0p-3
  },
  { // Entry 89
    0x1.00000000000010p0,
    0x1.0000000000001p-3
  },
  { // Entry 90
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-3
  },
  { // Entry 91
    0x1.p0,
    0x1.0p-2
  },
  { // Entry 92
    0x1.00000000000010p0,
    0x1.0000000000001p-2
  },
  { // Entry 93
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-2
  },
  { // Entry 94
    0x1.p0,
    0x1.0p-1
  },
  { // Entry 95
    0x1.00000000000010p0,
    0x1.0000000000001p-1
  },
  { // Entry 96
    -0x1.p0,
    -0x1.0p-1074
  },
  { // Entry 97
    -0.0,
    -0.0
  },
  { // Entry 98
    0x1.p0,
    0x1.0p-1074
  },
  { // Entry 99
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-1
  },
  { // Entry 100
    0x1.p0,
    0x1.0p0
  },
  { // Entry 101
    0x1.00000000000010p0,
    0x1.0000000000001p0
  },
  { // Entry 102
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp0
  },
  { // Entry 103
    0x1.p0,
    0x1.0p1
  },
  { // Entry 104
    0x1.00000000000010p0,
    0x1.0000000000001p1
  },
  { // Entry 105
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp1
  },
  { // Entry 106
    0x1.p0,
    0x1.0p2
  },
  { // Entry 107
    0x1.00000000000010p0,
    0x1.0000000000001p2
  },
  { // Entry 108
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp2
  },
  { // Entry 109
    0x1.p0,
    0x1.0p3
  },
  { // Entry 110
    0x1.00000000000010p0,
    0x1.0000000000001p3
  },
  { // Entry 111
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp3
  },
  { // Entry 112
    0x1.p0,
    0x1.0p4
  },
  { // Entry 113
    0x1.00000000000010p0,
    0x1.0000000000001p4
  },
  { // Entry 114
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp4
  },
  { // Entry 115
    0x1.p0,
    0x1.0p5
  },
  { // Entry 116
    0x1.00000000000010p0,
    0x1.0000000000001p5
  },
  { // Entry 117
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp5
  },
  { // Entry 118
    0x1.p0,
    0x1.0p6
  },
  { // Entry 119
    0x1.00000000000010p0,
    0x1.0000000000001p6
  },
  { // Entry 120
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp6
  },
  { // Entry 121
    0x1.p0,
    0x1.0p7
  },
  { // Entry 122
    0x1.00000000000010p0,
    0x1.0000000000001p7
  },
  { // Entry 123
    HUGE_VAL,
    HUGE_VAL
  },
  { // Entry 124
    -HUGE_VAL,
    -HUGE_VAL
  },
  { // Entry 125
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp1023
  },
  { // Entry 126
    -0x1.fffffffffffff0p0,
    -0x1.fffffffffffffp1023
  },
  { // Entry 127
    0x1.ffffffffffffe0p0,
    0x1.ffffffffffffep1023
  },
  { // Entry 128
    -0x1.ffffffffffffe0p0,
    -0x1.ffffffffffffep1023
  },
  { // Entry 129
    0x1.921fb54442d180p0,
    0x1.921fb54442d18p1
  },
  { // Entry 130
    -0x1.921fb54442d180p0,
    -0x1.921fb54442d18p1
  },
  { // Entry 131
    0x1.921fb54442d180p0,
    0x1.921fb54442d18p0
  },
  { // Entry 132
    -0x1.921fb54442d180p0,
    -0x1.921fb54442d18p0
  },
  { // Entry 133
    0x1.00000000000010p0,
    0x1.0000000000001p0
  },
  { // Entry 134
    -0x1.00000000000010p0,
    -0x1.0000000000001p0
  },
  { // Entry 135
    0x1.p0,
    0x1.0p0
  },
  { // Entry 136
    -0x1.p0,
    -0x1.0p0
  },
  { // Entry 137
    0x1.fffffffffffff0p0,
    0x1.fffffffffffffp-1
  },
  { // Entry 138
    -0x1.fffffffffffff0p0,
    -0x1.fffffffffffffp-1
  },
  { // Entry 139
    0x1.921fb54442d180p0,
    0x1.921fb54442d18p-1
  },
  { // Entry 140
    -0x1.921fb54442d180p0,
    -0x1.921fb54442d18p-1
  },
  { // Entry 141
    0x1.00000000000010p0,
    0x1.0000000000001p-1022
  },
  { // Entry 142
    -0x1.00000000000010p0,
    -0x1.0000000000001p-1022
  },
  { // Entry 143
    0x1.p0,
    0x1.0p-1022
  },
  { // Entry 144
    -0x1.p0,
    -0x1.0p-1022
  },
  { // Entry 145
    0x1.ffffffffffffe0p0,
    0x1.ffffffffffffep-1023
  },
  { // Entry 146
    -0x1.ffffffffffffe0p0,
    -0x1.ffffffffffffep-1023
  },
  { // Entry 147
    0x1.ffffffffffffc0p0,
    0x1.ffffffffffffcp-1023
  },
  { // Entry 148
    -0x1.ffffffffffffc0p0,
    -0x1.ffffffffffffcp-1023
  },
  { // Entry 149
    0x1.p0,
    0x1.0p-1073
  },
  { // Entry 150
    -0x1.p0,
    -0x1.0p-1073
  },
  { // Entry 151
    0x1.p0,
    0x1.0p-1074
  },
  { // Entry 152
    -0x1.p0,
    -0x1.0p-1074
  },
  { // Entry 153
    0.0,
    0.0
  },
  { // Entry 154
    -0.0,
    -0.0
  }
};