1/*
2 * Copyright (C) 2014 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17#include <math.h>
18
19#include <gtest/gtest.h>
20
21#if defined(__BIONIC__)
22typedef struct {
23  double expected;
24  double call_data;
25} log_intel_data_t;
26
27static log_intel_data_t g_log_intel_data[] = {
28  { // Entry 0
29    0x1.d77fd13d27ffefffffffffffb5ed9843p-11,
30    0x1.003af6c37c1d3p0
31  },
32  { // Entry 1
33    0x1.411efd297c7808000000000016d615b2p-6,
34    0x1.05112792934b3p0
35  },
36  { // Entry 2
37    0x1.d4840664446fb800000000001f574ffcp-6,
38    0x1.076d1d8c75ea6p0
39  },
40  { // Entry 3
41    0x1.f6e4c3ced7c71ffffffffffffee947dap-3,
42    0x1.47408cb9583cep0
43  },
44  { // Entry 4
45    0x1.1a0408712e009ffffffffffffee46012p-2,
46    0x1.512b3126454f3p0
47  },
48  { // Entry 5
49    0x1.8b52c15ea9c237fffffffffffe61395cp-2,
50    0x1.789e95b11578cp0
51  },
52  { // Entry 6
53    0x1.d707029bb59d8ffffffffffffecf6ef6p-2,
54    0x1.958497f7b353fp0
55  },
56  { // Entry 7
57    0x1.0727af5fee8f5ffffffffffffec7021fp-1,
58    0x1.ac032a8d2ec23p0
59  },
60  { // Entry 8
61    0x1.12fcce02efb320000000000001435b90p-1,
62    0x1.b604e1942098dp0
63  },
64  { // Entry 9
65    0x1.178e6d3ecace98000000000001300accp-1,
66    0x1.b9f1fa4587967p0
67  },
68  { // Entry 10
69    0x1.62f71c4656b60fffffffffffff7f168ep-1,
70    0x1.000976581ce4ep1
71  },
72  { // Entry 11
73    0x1.d6336a88077a9fffffffffffffe1f817p0,
74    0x1.91a8dff540ff7p2
75  },
76  { // Entry 12
77    0x1.016e82ceda358fffffffffffffacbf62p1,
78    0x1.de37fb31fd5fcp2
79  },
80  { // Entry 13
81    0x1.1e126f5d95f3880000000000005d3761p1,
82    0x1.2b1199e497739p3
83  },
84  { // Entry 14
85    0x1.2f3832cad3d5f000000000000078801cp1,
86    0x1.55f0eaa1b2fc8p3
87  },
88  { // Entry 15
89    0x1.42ee3c7dc494600000000000004ea57fp1,
90    0x1.8ede492d96072p3
91  },
92  { // Entry 16
93    0x1.6b5df7e3cd421800000000000044613bp1,
94    0x1.11867637cbd03p4
95  },
96  { // Entry 17
97    0x1.7e7f095703eee7ffffffffffffacdc06p1,
98    0x1.3d9d7d597a9ddp4
99  },
100  { // Entry 18
101    0x1.9687c83faf0067ffffffffffffb9cf3fp1,
102    0x1.7f3825778aaafp4
103  },
104  { // Entry 19
105    0x1.83d4bcdebb3f3fffffffffffffffacc9p2,
106    0x1.ac50b409c8aeep8
107  },
108  { // Entry 20
109    0x1.fffffffffffff0000000000000aaaaaap-53,
110    0x1.0000000000001p0
111  },
112  { // Entry 21
113    0x1.76e7e5d7b6eabffffffffffffff06f80p3,
114    0x1.de7cd6751029ap16
115  },
116  { // Entry 22
117    0x1.fffffffffffff0000000000000aaaaaap-53,
118    0x1.0000000000001p0
119  },
120  { // Entry 23
121    -0x1.91550c357f883fff899dff30d0f303eep8,
122    0x1.0000000000003p-579
123  },
124  { // Entry 24
125    0x1.7fffffffffffb8000000000011ffffffp-50,
126    0x1.0000000000006p0
127  },
128  { // Entry 25
129    0x1.bffffffffffe780000000001c9555555p-48,
130    0x1.000000000001cp0
131  },
132  { // Entry 26
133    0x1.7fdfffffff7017ff000047ee017ff52cp-41,
134    0x1.0000000000bffp0
135  },
136  { // Entry 27
137    0x1.0fffffffedf0000001996aaaaa81e28ap-35,
138    0x1.00000000220p0
139  },
140  { // Entry 28
141    0x1.ffffffff00000000aaaaaaaa2aaaaaabp-33,
142    0x1.000000010p0
143  },
144  { // Entry 29
145    0x1.7fffff70000047ffffd78000184cccbdp-25,
146    0x1.000000cp0
147  },
148  { // Entry 30
149    0x1.0a2ea3e77af060004010c4f6b437fb45p1,
150    0x1.00070p3
151  },
152  { // Entry 31
153    0x1.90412094d367f99f3c615231ad98bf3dp-13,
154    0x1.000c82573f5f9p0
155  },
156  { // Entry 32
157    0x1.ffe002aa6ab1106678ad8b318cb38545p-12,
158    0x1.002p0
159  },
160  { // Entry 33
161    0x1.bfcf07242969d15db4d2b3efe1c037e0p-11,
162    0x1.00380p0
163  },
164  { // Entry 34
165    0x1.d77fd13d27ffefffffffffffb5ed9843p-11,
166    0x1.003af6c37c1d3p0
167  },
168  { // Entry 35
169    0x1.ea054ce8508e4874442e95e41718b0dep-10,
170    0x1.007a9ea7a9e80p0
171  },
172  { // Entry 36
173    0x1.ff004a7ab9083f9e1717d3a4aaec8657p-10,
174    0x1.007fdff7fdfe0p0
175  },
176  { // Entry 37
177    0x1.ffda65d44dccc889115a4a4ff75c5a77p-10,
178    0x1.0080169a16cd5p0
179  },
180  { // Entry 38
181    0x1.b956989d2589d7fd6838e57a702f38acp-9,
182    0x1.00dd0a8317176p0
183  },
184  { // Entry 39
185    0x1.fd0816d97152c7fead7b849f7614fb48p-9,
186    0x1.00ff02ba8a543p0
187  },
188  { // Entry 40
189    -0x1.37915555785b07fc19dd2632088a1e7fp9,
190    0x1.00fffffffffffp-899
191  },
192  { // Entry 41
193    0x1.64a2a9b6a40588010102807138dff50cp0,
194    0x1.01c00000000dcp2
195  },
196  { // Entry 42
197    0x1.d465957106bd286bae67c08297163ea3p-8,
198    0x1.01d6131d09dc5p0
199  },
200  { // Entry 43
201    0x1.fdf639bea5ad3762df24a208e2a1cbe8p-8,
202    0x1.01fff37a34084p0
203  },
204  { // Entry 44
205    0x1.fdf6e4fcf456977205228530acd57155p-8,
206    0x1.01fff426c8cb6p0
207  },
208  { // Entry 45
209    0x1.fdf6e4fd0426f76d6d7b839b5f6c8bafp-8,
210    0x1.01fff426c8db5p0
211  },
212  { // Entry 46
213    0x1.fdfe9c57debe1760fe4ff0899bf9e6dcp-8,
214    0x1.01fffbed922e3p0
215  },
216  { // Entry 47
217    -0x1.d17be2451229ffff11e851804e97cdd7p3,
218    0x1.028p-21
219  },
220  { // Entry 48
221    0x1.6dcb2fed7f25d3f286707230be190760p-7,
222    0x1.02dfafa07df6dp0
223  },
224  { // Entry 49
225    0x1.ff092a85ee02f7fe7fc5dc1d417184c0p-7,
226    0x1.040615461f6cap0
227  },
228  { // Entry 50
229    0x1.0aa53cea3f1abfff1ddfb5af4ac49aaep-6,
230    0x1.04334eec5a65dp0
231  },
232  { // Entry 51
233    0x1.6ea07021c133480174835d142a4b831ep-6,
234    0x1.05cb09bb9fed7p0
235  },
236  { // Entry 52
237    0x1.7199f984f560800135ff3aec3a0796a8p-6,
238    0x1.05d735184261cp0
239  },
240  { // Entry 53
241    0x1.7788bc9c08318801546c035cbd9a269ap-6,
242    0x1.05ef7bdee7be0p0
243  },
244  { // Entry 54
245    0x1.c2688e952a7237fdd8563297de625acfp-6,
246    0x1.0722a05711778p0
247  },
248  { // Entry 55
249    0x1.e02151352512f7c230cc4b895dc68dd1p-6,
250    0x1.079cf00fe24f9p0
251  },
252  { // Entry 56
253    -0x1.3e1fee699c6bc7fc001a359e0efe2db7p8,
254    0x1.07cp-459
255  },
256  { // Entry 57
257    0x1.f31b56b8b6f1a2862582f528b33c4de2p-6,
258    0x1.07eb259ee01b5p0
259  },
260  { // Entry 58
261    -0x1.d0819095fcd6c800924ecd0308ebe218p3,
262    0x1.0a8551f8fc7f8p-21
263  },
264  { // Entry 59
265    -0x1.0268d40000c718005da0249ebb0a3024p1,
266    0x1.0fff8p-3
267  },
268  { // Entry 60
269    0x1.6b5df7e3cd421800000000000044613bp1,
270    0x1.11867637cbd03p4
271  },
272  { // Entry 61
273    0x1.6b96cb66f55c2800172d81c1cef357b1p1,
274    0x1.11ffffffffff8p4
275  },
276  { // Entry 62
277    -0x1.f7a213a7cd380fffde498c453f12553dp0,
278    0x1.1e6p-3
279  },
280  { // Entry 63
281    -0x1.a0765853dec06ffedf49002b5d3008bep8,
282    0x1.206658d9b0f05p-601
283  },
284  { // Entry 64
285    0x1.0d7b6ff6e3a247fffffefb9449faf8e6p6,
286    0x1.2514738e6dcadp97
287  },
288  { // Entry 65
289    0x1.1ee3899f6818e7ffffd09e6eb4879725p1,
290    0x1.2cfbb9e4a1599p3
291  },
292  { // Entry 66
293    -0x1.33153336792897fd38f4af7ab5c00769p6,
294    0x1.2f0617037e590p-111
295  },
296  { // Entry 67
297    -0x1.04c1e6cec96377febe1183e3bd373c3ep3,
298    0x1.2f29fd4b42515p-12
299  },
300  { // Entry 68
301    -0x1.0578bc4a143d699806f945d1356d06a2p-1,
302    0x1.333e1f03af55ep-1
303  },
304  { // Entry 69
305    -0x1.fd2a1d4dcf23d7fe75f7eef9498fdaa2p-2,
306    0x1.3767a0aaf1452p-1
307  },
308  { // Entry 70
309    -0x1.fb0ce0ec79bc97fe95141ce227ed47d2p-2,
310    0x1.380c640e6246cp-1
311  },
312  { // Entry 71
313    -0x1.ee693caa501a93f30062e2a3c445ac9cp-2,
314    0x1.3bec837d601c1p-1
315  },
316  { // Entry 72
317    -0x1.ed67b9b0f2f8d420adcdf51f432817fap-2,
318    0x1.3c3c0p-1
319  },
320  { // Entry 73
321    0x1.25397dc9f85bd800000a3d55bd6d8e50p1,
322    0x1.3c419b9db662ap3
323  },
324  { // Entry 74
325    0x1.9c041f7ed8d329e312aad8493a3a79a2p0,
326    0x1.3ffffffffffffp2
327  },
328  { // Entry 75
329    0x1.c8ff7c79a9a21ac25d81ef2ffb9a24aep-3,
330    0x1.4p0
331  },
332  { // Entry 76
333    0x1.d42adfec35d147fe04ff7b1b027c5fdap-3,
334    0x1.41cp0
335  },
336  { // Entry 77
337    0x1.d7577477b9ead7fe9b2bc6960a766303p-3,
338    0x1.423fc24d04fc6p0
339  },
340  { // Entry 78
341    -0x1.d360e90c3850b36d61103f575b991880p-2,
342    0x1.446p-1
343  },
344  { // Entry 79
345    -0x1.cdeabe01a86b2d50c8ea3bb030c66bbcp-2,
346    0x1.461c159a76d4bp-1
347  },
348  { // Entry 80
349    0x1.fb9186d5e3e244ee4e28531563b69a2cp-3,
350    0x1.47fffffffffffp0
351  },
352  { // Entry 81
353    0x1.fb9186d5e3e2a8d55466c3794d2ca092p-3,
354    0x1.480p0
355  },
356  { // Entry 82
357    0x1.fb920464f5fc777f3cb0d8448c30e701p-3,
358    0x1.4800141bea83fp0
359  },
360  { // Entry 83
361    0x1.fb9c2792045e9e82eff43ef1ce0bee02p-3,
362    0x1.4801b3bf42a4ap0
363  },
364  { // Entry 84
365    0x1.fc46718a2dc22ddbfabb2598a137baa7p-3,
366    0x1.481cfade8a64dp0
367  },
368  { // Entry 85
369    0x1.ff9bd7855aaeab815fd85d2cb0694231p-3,
370    0x1.48a5d0c7ac5b5p0
371  },
372  { // Entry 86
373    0x1.ffd65f29bfd4edf98ec849c90032f302p-3,
374    0x1.48af356081ca1p0
375  },
376  { // Entry 87
377    0x1.e737cb23865c6b921552ad81d572b729p-1,
378    0x1.4b8p1
379  },
380  { // Entry 88
381    0x1.90ed52d1a23c4ffed8ee7725c53035d6p8,
382    0x1.556ee611fa309p578
383  },
384  { // Entry 89
385    -0x1.b25b8d863b3b4800fcec4eb5c14a7c2ep3,
386    0x1.55ep-20
387  },
388  { // Entry 90
389    0x1.16758a93d29af7ff100a0c107fb0c9e7p6,
390    0x1.5996659966598p100
391  },
392  { // Entry 91
393    -0x1.7e3a93bf3540d81e3dbbb57585ec1674p-2,
394    0x1.608054de74582p-1
395  },
396  { // Entry 92
397    0x1.583a417be2216cb936610ca9843511dbp-2,
398    0x1.6649bb515354fp0
399  },
400  { // Entry 93
401    -0x1.4f7dac3f1d7f3fffffdf521ccfc9dbcdp5,
402    0x1.69b109377f7p-61
403  },
404  { // Entry 94
405    0x1.62e42fefa383734a769bb41258319c1ap-2,
406    0x1.6a09e667f3b31p0
407  },
408  { // Entry 95
409    -0x1.e7a2dd016daa87ffa79528e89b610c0ap1,
410    0x1.6b0p-6
411  },
412  { // Entry 96
413    0x1.739d7f6bbd0069ce24c53fad3ef796abp-2,
414    0x1.7p0
415  },
416  { // Entry 97
417    -0x1.4c3af4797206280013c4d45af696d7cbp-2,
418    0x1.7223cef78e25dp-1
419  },
420  { // Entry 98
421    -0x1.48e65fe2c23057fdeb25c7f7c4859e9cp-2,
422    0x1.73587ce753680p-1
423  },
424  { // Entry 99
425    -0x1.4057b02bfdd097fe57379888740d8103p-2,
426    0x1.76764087395fcp-1
427  },
428  { // Entry 100
429    0x1.4a5f12ed407a400083645efcc658eda6p8,
430    0x1.8ad934b838bdap476
431  },
432  { // Entry 101
433    -0x1.83d0f90690d0f7ff207b1f007f7a3917p1,
434    0x1.8bep-5
435  },
436  { // Entry 102
437    -0x1.e387545735931400edb47ee4265d728ep-1,
438    0x1.8e4p-2
439  },
440  { // Entry 103
441    -0x1.fcc59e01369768243eca599e59e6a909p-3,
442    0x1.8f6p-1
443  },
444  { // Entry 104
445    -0x1.edd6149b33156828750bb3a608c4ddc1p-3,
446    0x1.924c57d629082p-1
447  },
448  { // Entry 105
449    0x1.cfbe6164a73f1361604926a0a90f519fp-2,
450    0x1.92a4cb798664bp0
451  },
452  { // Entry 106
453    -0x1.b428216a5c1587fdbf2f97d4c27148ccp4,
454    0x1.980p-40
455  },
456  { // Entry 107
457    -0x1.d081f0f25d66380027d59b6ebdb9bac9p-3,
458    0x1.9819d0255be60p-1
459  },
460  { // Entry 108
461    -0x1.cc0d6a92b79157fe82bfad0addd085a5p-1,
462    0x1.a0ef883be2177p-2
463  },
464  { // Entry 109
465    -0x1.8f62e2cb658638000030eb1a289f78e3p-3,
466    0x1.a549336310e6fp-1
467  },
468  { // Entry 110
469    -0x1.3651d0de2368d7fee3d1d6ee2b227744p-3,
470    0x1.b80300c030118p-1
471  },
472  { // Entry 111
473    0x1.20f25e686e7f97feceff9a7299fcd1edp-1,
474    0x1.c22024dc8289cp0
475  },
476  { // Entry 112
477    -0x1.9e327eb6ac2c37f7a39af2c988abe2b6p-1,
478    0x1.c80p-2
479  },
480  { // Entry 113
481    -0x1.b76f3d0aaf0c97fadefb4f5332d365a9p-4,
482    0x1.cbea22c8a9a16p-1
483  },
484  { // Entry 114
485    -0x1.9335e5d59499181fa0f312a9854d3042p-4,
486    0x1.cffffffffffffp-1
487  },
488  { // Entry 115
489    0x1.b6cc2b05c90a77fe9a0bb3019d8a9aedp2,
490    0x1.dae1894a2dbedp9
491  },
492  { // Entry 116
493    -0x1.fc702b8d96d0d7d4794fd56c9bec2ce2p-5,
494    0x1.e1304c1304c13p-1
495  },
496  { // Entry 117
497    -0x1.f6c7f7d0b03557d1c2690fc214b3ef43p-5,
498    0x1.e185646bc7856p-1
499  },
500  { // Entry 118
501    -0x1.eb8dcb764e07e7d4f0ef36c6ee88eacap-5,
502    0x1.e22e7349f6e97p-1
503  },
504  { // Entry 119
505    -0x1.d94a9c323e77c7fd43e2e13f541141cbp-5,
506    0x1.e341f0592c2abp-1
507  },
508  { // Entry 120
509    -0x1.ccb106085394f7a05e03df8ac23eae5dp-5,
510    0x1.e4005dfd66c32p-1
511  },
512  { // Entry 121
513    -0x1.a9bd8afc6d84b7ec7bbc80cc6f2983f8p-5,
514    0x1.e61222241ca7fp-1
515  },
516  { // Entry 122
517    -0x1.787392a45888d8006bb538c724c45f7ep-5,
518    0x1.e901133e161e4p-1
519  },
520  { // Entry 123
521    -0x1.79a634cdfb255800008607b0c2c01570p4,
522    0x1.eddc0821c76c1p-35
523  },
524  { // Entry 124
525    0x1.5172153d5fe9b7ff0f26a87c085b87d7p-1,
526    0x1.eed9208a6a349p0
527  },
528  { // Entry 125
529    -0x1.12b227244ff977d878e1166c29f76aa5p-5,
530    0x1.ef1dbcea195cdp-1
531  },
532  { // Entry 126
533    -0x1.f8a34d2505f817d848f4e8959713fb76p-6,
534    0x1.f0786fa48bd9cp-1
535  },
536  { // Entry 127
537    0x1.06885d03c19c38000002f99205a60b54p1,
538    0x1.f1a945a457d96p2
539  },
540  { // Entry 128
541    0x1.a28cccb9c6f0d7fedd89e9c4d4b9f68bp6,
542    0x1.f1fffffffffffp150
543  },
544  { // Entry 129
545    -0x1.b032da095671e7c8d427eb42292764d2p-6,
546    0x1.f2ab9dee841b5p-1
547  },
548  { // Entry 130
549    -0x1.9d66ada69056485326194e3f1c7b170cp-6,
550    0x1.f33e2a944ac96p-1
551  },
552  { // Entry 131
553    -0x1.88e7a6bf1b5b97fdbf4dd5e05467c25dp-6,
554    0x1.f3de268394e8dp-1
555  },
556  { // Entry 132
557    -0x1.84e362ad217017fe7ee6c5e9580aa1ddp-6,
558    0x1.f3fd86b392884p-1
559  },
560  { // Entry 133
561    -0x1.744eff6d77dde7d2a179669e225699e3p-6,
562    0x1.f47f1e1f53f24p-1
563  },
564  { // Entry 134
565    -0x1.68b4f86497a0a7fe24c5fba78bf17a88p0,
566    0x1.f48p-3
567  },
568  { // Entry 135
569    -0x1.6f51e68fcd7cd7fa1e6acd9f4b979341p-6,
570    0x1.f4a622df760c9p-1
571  },
572  { // Entry 136
573    -0x1.6bab4f93a37207d2376593e12e890d80p-6,
574    0x1.f4c2b2a5a5c1dp-1
575  },
576  { // Entry 137
577    -0x1.65ae4deeda7b77fe9c5dac2c0c0dedf4p-6,
578    0x1.f4f18fab5c3b8p-1
579  },
580  { // Entry 138
581    -0x1.4c2a64cb22441fe74e2f868934e9e491p-6,
582    0x1.f5b96e5b96eb7p-1
583  },
584  { // Entry 139
585    -0x1.43ae6c44b9f767f34ebf8a2cc3744c94p-6,
586    0x1.f5fbf5cedc480p-1
587  },
588  { // Entry 140
589    -0x1.41f7812310c9b0015ca3978caea2af49p-6,
590    0x1.f60968a5952d9p-1
591  },
592  { // Entry 141
593    -0x1.3b0cb0b1469db800b20aa116988cb6f2p-6,
594    0x1.f63fae6bae321p-1
595  },
596  { // Entry 142
597    -0x1.311e67575b4f5006994df3158c7316ccp-6,
598    0x1.f68da368da368p-1
599  },
600  { // Entry 143
601    -0x1.020da703f2f9d7d88c2361f9312c8382p-6,
602    0x1.f7ffbefc5d9d8p-1
603  },
604  { // Entry 144
605    -0x1.0205658935b947ec5874530468145ae7p-6,
606    0x1.f7fffffffffe6p-1
607  },
608  { // Entry 145
609    -0x1.ae825fe2eb6707f96a6e4c1dd535f9ccp-7,
610    0x1.f95139c561139p-1
611  },
612  { // Entry 146
613    -0x1.23851c80dddf27fb847cdd237db32e86p-7,
614    0x1.fb77177fb5d35p-1
615  },
616  { // Entry 147
617    -0x1.7c498eb87ed687f5ab6d00e39946d3bfp-8,
618    0x1.fd09a0b5b17f0p-1
619  },
620  { // Entry 148
621    -0x1.50dd41aeb4865700c68f5df4a8438e0dp-8,
622    0x1.fd6p-1
623  },
624  { // Entry 149
625    -0x1.08b8bba5db3a85b4e252ed1003e3481fp-8,
626    0x1.fdef9fe7f9fe3p-1
627  },
628  { // Entry 150
629    -0x1.07c989add9f585e65c78fe912c1a8cp-8,
630    0x1.fdf17c5f17cp-1
631  },
632  { // Entry 151
633    -0x1.008055958e10b542f640a94ed45f9bc0p-8,
634    0x1.fdfffffffff55p-1
635  },
636  { // Entry 152
637    -0x1.1f3e47178f97c75334a62a2f7aa66bc5p-9,
638    0x1.fee1123d05c1bp-1
639  },
640  { // Entry 153
641    -0x1.ff7faa9ab136778a743baa4f52803c4ep-10,
642    0x1.ff007ffffffffp-1
643  },
644  { // Entry 154
645    -0x1.ff39ecbe26759778f8bbf67f1e4a7e0ap-10,
646    0x1.ff00a2cd88b55p-1
647  },
648  { // Entry 155
649    -0x1.6363477698d257fc17522b50ff55553cp0,
650    0x1.ff020ffffffffp-3
651  },
652  { // Entry 156
653    -0x1.f7a248bf22fa97facadb946630e3967cp-10,
654    0x1.ff046cbe6cbddp-1
655  },
656  { // Entry 157
657    -0x1.dae60fee9fa9f7e341fe9059ccf60974p-10,
658    0x1.ff12c3ff12c30p-1
659  },
660  { // Entry 158
661    -0x1.d208bc8587776791c38a76a675c1ea45p-10,
662    0x1.ff17309fefcd2p-1
663  },
664  { // Entry 159
665    -0x1.babff263eabf87ac216ead65574acf01p-12,
666    0x1.ffc8aaff534d4p-1
667  },
668  { // Entry 160
669    -0x1.c00c40725b0617de17d7b74e49091d74p-13,
670    0x1.ffe3fffffffffp-1
671  },
672  { // Entry 161
673    -0x1.78bfa5004153173f2f5226cd23948518p-13,
674    0x1.ffe874904abd0p-1
675  },
676  { // Entry 162
677    -0x1.1148dff957e7c74564229e9cb9c4b83cp-13,
678    0x1.ffeeebbaeebb8p-1
679  },
680  { // Entry 163
681    -0x1.4aa196aae1ef97ff1730897799ee4f02p8,
682    0x1.fffffbbffffffp-478
683  },
684  { // Entry 164
685    0x1.8e8f43d38040fffeda732c8d164c1eb5p8,
686    0x1.fffffbbffffffp574
687  },
688  { // Entry 165
689    -0x1.00000401000008015565655755957558p-31,
690    0x1.fffffffbfffffp-1
691  },
692  { // Entry 166
693    -0x1.ff8040007fc027f82c8ac2a212ef8e0ep-34,
694    0x1.ffffffff003fep-1
695  },
696  { // Entry 167
697    0x1.86ef5ccdfa1b17fe78c886a9d8b2faaep7,
698    0x1.ffffffffddfffp281
699  },
700  { // Entry 168
701    -0x1.00080000008008002000555d55955640p-40,
702    0x1.fffffffffdfffp-1
703  },
704  { // Entry 169
705    -0x1.00200000002008008000055755955801p-42,
706    0x1.ffffffffff7ffp-1
707  },
708  { // Entry 170
709    -0x1.00400000001008010000015655955aaap-43,
710    0x1.ffffffffffbffp-1
711  },
712  { // Entry 171
713    0x1.30fc1931f09c97ff42ff5cad467897fdp7,
714    0x1.fffffffffffeep219
715  },
716  { // Entry 172
717    -0x1.00000000000010000000000001555555p-51,
718    0x1.ffffffffffffcp-1
719  },
720  { // Entry 173
721    -0x1.00000000000008000000000000555555p-52,
722    0x1.ffffffffffffep-1
723  },
724  { // Entry 174
725    -0x1.03fe55a061c757fed6a1da317da50b1ap-1,
726    0x1.342185798f6d6p-1
727  },
728  { // Entry 175
729    -0x1.62e42fefa39f0ce4e0d5078578892721p-2,
730    0x1.6a09e667f3bccp-1
731  },
732  { // Entry 176
733    -0x1.da391c9043a0f16abe056e384bf07f29p-3,
734    0x1.962b5f9438d25p-1
735  },
736  { // Entry 177
737    -0x1.06fbec52082bd253e20210b58868e521p-3,
738    0x1.c24cd8c07de7ep-1
739  },
740  { // Entry 178
741    -0x1.1e0a8f670c50ad172b2608e4a78b5e60p-5,
742    0x1.ee6e51ecc2fd7p-1
743  },
744  { // Entry 179
745    0x1.9e548e7e3dde7b0f34385f075e850106p-5,
746    0x1.0d47e58c84098p0
747  },
748  { // Entry 180
749    0x1.08e0bae73ac238d5d0d1fd9a04579630p-3,
750    0x1.2358a222a6944p0
751  },
752  { // Entry 181
753    0x1.9e6462187c36a8ddeed899c4e3596896p-3,
754    0x1.39695eb8c91f0p0
755  },
756  { // Entry 182
757    0x1.14dd6b0af939ac9fd1cf8d8a3a630a07p-2,
758    0x1.4f7a1b4eeba9cp0
759  },
760  { // Entry 183
761    0x1.56181f19d7198035cf7c5df02d166026p-2,
762    0x1.658ad7e50e348p0
763  },
764  { // Entry 184
765    0x1.936a82fadcd85a768a1655a807a5c5fdp-2,
766    0x1.7b9b947b30bf4p0
767  },
768  { // Entry 185
769    0x1.cd45b0a9f25021e4c6ab876e541defc9p-2,
770    0x1.91ac5111534a0p0
771  },
772  { // Entry 186
773    0x1.02044c9b70627350f5c613ba3eff7f14p-1,
774    0x1.a7bd0da775d4cp0
775  },
776  { // Entry 187
777    0x1.1c01dad59e72fa047b61ac26c51f4c17p-1,
778    0x1.bdcdca3d985f8p0
779  },
780  { // Entry 188
781    0x1.34bde9b821fe31136e67453dfecf9e34p-1,
782    0x1.d3de86d3baea4p0
783  },
784  { // Entry 189
785    0x1.4c561dbbb21d9a8faab44f6777f929f7p-1,
786    0x1.e9ef4369dd750p0
787  },
788  { // Entry 190
789    0x1.62e42fefa39eb35793c7673003e5ed5ep-1,
790    0x1.ffffffffffffcp0
791  },
792  { // Entry 191
793    -0x1.62e42fefa39f0ce4e0d5078578892721p-2,
794    0x1.6a09e667f3bccp-1
795  },
796  { // Entry 192
797    -0x1.24cfce6f80d9b57bf711e8c7ba21def9p-2,
798    0x1.80aa84ce72f89p-1
799  },
800  { // Entry 193
801    -0x1.d490246defa6c24070421157c8bdbac4p-3,
802    0x1.974b2334f2346p-1
803  },
804  { // Entry 194
805    -0x1.65d558d4ce00a4188793f7452a41c9d3p-3,
806    0x1.adebc19b71703p-1
807  },
808  { // Entry 195
809    -0x1.f991c6cb3b376d3e05c0449d9978b9bbp-4,
810    0x1.c48c6001f0ac0p-1
811  },
812  { // Entry 196
813    -0x1.31b994d3a4f80646146a3561e1668213p-4,
814    0x1.db2cfe686fe7dp-1
815  },
816  { // Entry 197
817    -0x1.ccb73cdddb2b3b5b841eb150a3d5e34dp-6,
818    0x1.f1cd9cceef23ap-1
819  },
820  { // Entry 198
821    0x1.0b94f7c19617485bcb4375b0b82ed7aap-6,
822    0x1.04371d9ab72fbp0
823  },
824  { // Entry 199
825    0x1.e27076e2af2d92344012fb7464c787c6p-5,
826    0x1.0f876ccdf6cd9p0
827  },
828  { // Entry 200
829    0x1.986d3228180be0924ac3a19b72870e79p-4,
830    0x1.1ad7bc01366b7p0
831  },
832  { // Entry 201
833    0x1.1c898c16999f2915ad51a005b68ddcc4p-3,
834    0x1.26280b3476095p0
835  },
836  { // Entry 202
837    0x1.69d4592a03621b2e6cccc2036f3931ffp-3,
838    0x1.31785a67b5a73p0
839  },
840  { // Entry 203
841    0x1.b44f77bcc8f55a888449bc53e9d9bf3ep-3,
842    0x1.3cc8a99af5451p0
843  },
844  { // Entry 204
845    0x1.fc2d6cf47cf0b2e0b88f48832402408cp-3,
846    0x1.4818f8ce34e2fp0
847  },
848  { // Entry 205
849    0x1.20cdcd192ab6530b24d75ab4459e3bc3p-2,
850    0x1.536948017480dp0
851  },
852  { // Entry 206
853    0x1.426174dbd515d649d69984816e68940dp-2,
854    0x1.5eb99734b41ebp0
855  },
856  { // Entry 207
857    0x1.62e42fefa39e52069052cb73bf7c2d5fp-2,
858    0x1.6a09e667f3bc9p0
859  },
860  { // Entry 208
861    -0x1.269621134db92783beb7676c0aa9c2a3p-2,
862    0x1.8p-1
863  },
864  { // Entry 209
865    -0x1.89fa465cb93c39302d7a43bf8a8345c8p-3,
866    0x1.a666666666666p-1
867  },
868  { // Entry 210
869    -0x1.af8e8210a41648ad2ef5a75c80ae9b02p-4,
870    0x1.cccccccccccccp-1
871  },
872  { // Entry 211
873    -0x1.9ece955321b91119b64b048613dbc07dp-6,
874    0x1.f333333333332p-1
875  },
876  { // Entry 212
877    0x1.8fb063ef2c7d10ac8c5ce361f3a59a73p-5,
878    0x1.0ccccccccccccp0
879  },
880  { // Entry 213
881    0x1.e27076e2af2d7b106f9c6fe70000f0b8p-4,
882    0x1.1ffffffffffffp0
883  },
884  { // Entry 214
885    0x1.7565011e4966e394742cdeb80aaa0b85p-3,
886    0x1.3333333333332p0
887  },
888  { // Entry 215
889    0x1.f18dc41e8ef1708ddac617e72a16a351p-3,
890    0x1.4666666666665p0
891  },
892  { // Entry 216
893    0x1.334e9e47d07efd97d13fea265dcec2d1p-2,
894    0x1.5999999999998p0
895  },
896  { // Entry 217
897    0x1.6aac04146151ff3644f0da8793fe911fp-2,
898    0x1.6cccccccccccbp0
899  },
900  { // Entry 218
901    0x1.9f323ecbf98469d61382119eac3e89e1p-2,
902    0x1.7fffffffffffep0
903  },
904  { // Entry 219
905    0.0,
906    0x1.0p0
907  },
908  { // Entry 220
909    0x1.8663f793c46cc6d5699b82cc3bd3be38p-4,
910    0x1.199999999999ap0
911  },
912  { // Entry 221
913    0x1.7565011e4967b8e9c982340d62384469p-3,
914    0x1.3333333333334p0
915  },
916  { // Entry 222
917    0x1.0ca937be1b9df8e84ab52d4b0aefd012p-2,
918    0x1.4cccccccccccep0
919  },
920  { // Entry 223
921    0x1.588c2d9133494380eebceb76c1928f7cp-2,
922    0x1.6666666666668p0
923  },
924  { // Entry 224
925    0x1.9f323ecbf9851480be2cbc4956e9348bp-2,
926    0x1.8000000000002p0
927  },
928  { // Entry 225
929    0x1.e148a1a2726d394df8cdd6c80d7ec865p-2,
930    0x1.999999999999cp0
931  },
932  { // Entry 226
933    0x1.0fae81914a9947bd2de51187a6308fdbp-1,
934    0x1.b333333333336p0
935  },
936  { // Entry 227
937    0x1.2cf25fad8f1c715e5fafceb63bf60707p-1,
938    0x1.cccccccccccd0p0
939  },
940  { // Entry 228
941    0x1.48a11293d785f86a7b177f4aa4e9cadbp-1,
942    0x1.e66666666666ap0
943  },
944  { // Entry 229
945    0x1.62e42fefa39ef35793c7673007e5ed5ep-1,
946    0x1.0p1
947  },
948  { // Entry 230
949    0x1.1542457337d42e1c6b73c89d862ba171p6,
950    0x1.0p100
951  },
952  { // Entry 231
953    0x1.15a3de711cc5494e20ce2f7e393a9661p6,
954    0x1.199999999999ap100
955  },
956  { // Entry 232
957    0x1.15fcf7f3c6f8e1f8e05889b78cdcbd94p6,
958    0x1.3333333333334p100
959  },
960  { // Entry 233
961    0x1.164eeeaaf5efcc1553be7dcad1369141p6,
962    0x1.4cccccccccccep100
963  },
964  { // Entry 234
965    0x1.169ad1a0c907775fec628588fced3401p6,
966    0x1.6666666666668p100
967  },
968  { // Entry 235
969    0x1.16e177b203cdb330ec31f559cf828aa6p6,
970    0x1.8000000000002p100
971  },
972  { // Entry 236
973    0x1.17238e14da469b55b96c96744e39203ap6,
974    0x1.999999999999cp100
975  },
976  { // Entry 237
977    0x1.1761a2765a6960abe5cf92c095780291p6,
978    0x1.b333333333336p100
979  },
980  { // Entry 238
981    0x1.179c2a3292f266ff2833283af2a38d7fp6,
982    0x1.cccccccccccd0p100
983  },
984  { // Entry 239
985    0x1.17d387985f833a0d4069f79c1b757507p6,
986    0x1.e66666666666ap100
987  },
988  { // Entry 240
989    0x1.18080dd3171b6c031a9b576be63b6d4cp6,
990    0x1.0p101
991  },
992  { // Entry 241
993    0x1.1542457337d42e1c6b73c89d862ba171p7,
994    0x1.0p200
995  },
996  { // Entry 242
997    0x1.157311f22a4cbbb54620fc0ddfb31be9p7,
998    0x1.199999999999ap200
999  },
1000  { // Entry 243
1001    0x1.159f9eb37f66880aa5e6292a89842f82p7,
1002    0x1.3333333333334p200
1003  },
1004  { // Entry 244
1005    0x1.15c89a0f16e1fd18df9923342bb11959p7,
1006    0x1.4cccccccccccep200
1007  },
1008  { // Entry 245
1009    0x1.15ee8b8a006dd2be2beb2713418c6ab9p7,
1010    0x1.6666666666668p200
1011  },
1012  { // Entry 246
1013    0x1.1611de929dd0f0a6abd2defbaad7160cp7,
1014    0x1.8000000000002p200
1015  },
1016  { // Entry 247
1017    0x1.1632e9c4090d64b912702f88ea3260d6p7,
1018    0x1.999999999999cp200
1019  },
1020  { // Entry 248
1021    0x1.1651f3f4c91ec76428a1adaf0dd1d201p7,
1022    0x1.b333333333336p200
1023  },
1024  { // Entry 249
1025    0x1.166f37d2e5634a8dc9d3786c3c679778p7,
1026    0x1.cccccccccccd0p200
1027  },
1028  { // Entry 250
1029    0x1.168ae685cbabb414d5eee01cd0d08b3cp7,
1030    0x1.e66666666666ap200
1031  },
1032  { // Entry 251
1033    0x1.16a529a32777cd0fc3079004b633875fp7,
1034    0x1.0p201
1035  },
1036  { // Entry 252
1037    0x1.5a92d6d005c939a38650bac4e7b689cep9,
1038    0x1.0p1000
1039  },
1040  { // Entry 253
1041    -0x1.0000080000555559555588888b333357p-20,
1042    0x1.ffffep-1
1043  },
1044  { // Entry 254
1045    -0x1.0000040000155555d5555888889ddddep-21,
1046    0x1.fffffp-1
1047  },
1048  { // Entry 255
1049    0.0,
1050    0x1.0p0
1051  },
1052  { // Entry 256
1053    0x1.fffff800002aaaa9aaaab11110e66667p-22,
1054    0x1.0000080p0
1055  },
1056  { // Entry 257
1057    0x1.fffff00000aaaaa2aaab11110bbbbc04p-21,
1058    0x1.00001p0
1059  },
1060  { // Entry 258
1061    -0x1.00000002000000055555556555555588p-30,
1062    0x1.fffffff80p-1
1063  },
1064  { // Entry 259
1065    -0x1.00000001000000015555555755555558p-31,
1066    0x1.fffffffc0p-1
1067  },
1068  { // Entry 260
1069    0.0,
1070    0x1.0p0
1071  },
1072  { // Entry 261
1073    0x1.fffffffe00000002aaaaaaa6aaaaaab1p-32,
1074    0x1.000000020p0
1075  },
1076  { // Entry 262
1077    0x1.fffffffc0000000aaaaaaa8aaaaaab11p-31,
1078    0x1.000000040p0
1079  },
1080  { // Entry 263
1081    -0x1.00000000008000000000555555555595p-40,
1082    0x1.fffffffffe0p-1
1083  },
1084  { // Entry 264
1085    -0x1.0000000000400000000015555555555dp-41,
1086    0x1.ffffffffff0p-1
1087  },
1088  { // Entry 265
1089    0.0,
1090    0x1.0p0
1091  },
1092  { // Entry 266
1093    0x1.ffffffffff80000000002aaaaaaaaa9ap-42,
1094    0x1.00000000008p0
1095  },
1096  { // Entry 267
1097    0x1.ffffffffff0000000000aaaaaaaaaa2ap-41,
1098    0x1.00000000010p0
1099  },
1100  { // Entry 268
1101    -0x1.00000000000020000000000005555555p-50,
1102    0x1.ffffffffffff8p-1
1103  },
1104  { // Entry 269
1105    -0x1.00000000000010000000000001555555p-51,
1106    0x1.ffffffffffffcp-1
1107  },
1108  { // Entry 270
1109    0.0,
1110    0x1.0p0
1111  },
1112  { // Entry 271
1113    0x1.ffffffffffffe0000000000002aaaaaap-52,
1114    0x1.0000000000002p0
1115  },
1116  { // Entry 272
1117    0x1.ffffffffffffc000000000000aaaaaaap-51,
1118    0x1.0000000000004p0
1119  },
1120  { // Entry 273
1121    0x1.62e42fefa39ef35393c7673007e5dd5ep9,
1122    0x1.fffffffffffffp1023
1123  },
1124  { // Entry 274
1125    -0x1.74385446d71c36395a7ea3b9e048a775p9,
1126    0x1.0p-1074
1127  },
1128  { // Entry 275
1129    -0x1.62e42fefa39f3a261da205fd13cb53dfp-2,
1130    0x1.6a09e667f3bcbp-1
1131  },
1132  { // Entry 276
1133    -0x1.62e42fefa39f0ce4e0d5078578892721p-2,
1134    0x1.6a09e667f3bccp-1
1135  },
1136  { // Entry 277
1137    -0x1.62e42fefa39edfa3a408090ddf46fa62p-2,
1138    0x1.6a09e667f3bcdp-1
1139  },
1140  { // Entry 278
1141    0x1.62e42fefa39eac8909ecc862fc0086ddp-2,
1142    0x1.6a09e667f3bcbp0
1143  },
1144  { // Entry 279
1145    0x1.62e42fefa39ed9ca46b9c6da9742b39bp-2,
1146    0x1.6a09e667f3bccp0
1147  },
1148  { // Entry 280
1149    0x1.62e42fefa39f070b8386c5523084e05ap-2,
1150    0x1.6a09e667f3bcdp0
1151  },
1152  { // Entry 281
1153    -0x1.62e42fefa39f035793c767300825ed5ep-1,
1154    0x1.fffffffffffffp-2
1155  },
1156  { // Entry 282
1157    -0x1.62e42fefa39ef35793c7673007e5ed5ep-1,
1158    0x1.0p-1
1159  },
1160  { // Entry 283
1161    -0x1.62e42fefa39ed35793c7673008e5ed5ep-1,
1162    0x1.0000000000001p-1
1163  },
1164  { // Entry 284
1165    -0x1.269621134db9522e69621216b637fb86p-2,
1166    0x1.7ffffffffffffp-1
1167  },
1168  { // Entry 285
1169    -0x1.269621134db92783beb7676c0aa9c2a3p-2,
1170    0x1.8p-1
1171  },
1172  { // Entry 286
1173    -0x1.269621134db8fcd9140cbcc160e2a631p-2,
1174    0x1.8000000000001p-1
1175  },
1176  { // Entry 287
1177    0x1.9f323ecbf9849480be2cbc495993df36p-2,
1178    0x1.7ffffffffffffp0
1179  },
1180  { // Entry 288
1181    0x1.9f323ecbf984bf2b68d766f405221819p-2,
1182    0x1.8p0
1183  },
1184  { // Entry 289
1185    0x1.9f323ecbf984e9d61382119eaee9348bp-2,
1186    0x1.8000000000001p0
1187  },
1188  { // Entry 290
1189    0x1.54e3c0b10a36434abac277160311ccb4p-9,
1190    0x1.00aaaaaaaaaaap0
1191  },
1192  { // Entry 291
1193    0x1.54e3c0b10a562e0394dbbb9359f477ddp-9,
1194    0x1.00aaaaaaaaaabp0
1195  },
1196  { // Entry 292
1197    0x1.54e3c0b10a7618bc6ef5000eb37f2563p-9,
1198    0x1.00aaaaaaaaaacp0
1199  },
1200  { // Entry 293
1201    0x1.62e42fefa39eeb5793c7673007c5ed5ep0,
1202    0x1.fffffffffffffp1
1203  },
1204  { // Entry 294
1205    0x1.62e42fefa39ef35793c7673007e5ed5ep0,
1206    0x1.0p2
1207  },
1208  { // Entry 295
1209    0x1.62e42fefa39f035793c767300765ed5ep0,
1210    0x1.0000000000001p2
1211  },
1212  { // Entry 296
1213    0x1.62e42fefa39ee35793c7673007a5ed5ep-1,
1214    0x1.fffffffffffffp0
1215  },
1216  { // Entry 297
1217    0x1.62e42fefa39ef35793c7673007e5ed5ep-1,
1218    0x1.0p1
1219  },
1220  { // Entry 298
1221    0x1.62e42fefa39f135793c7673006e5ed5ep-1,
1222    0x1.0000000000001p1
1223  },
1224  { // Entry 299
1225    -0x1.00000000000004000000000000155555p-53,
1226    0x1.fffffffffffffp-1
1227  },
1228  { // Entry 300
1229    0.0,
1230    0x1.0p0
1231  },
1232  { // Entry 301
1233    0x1.fffffffffffff0000000000000aaaaaap-53,
1234    0x1.0000000000001p0
1235  },
1236  { // Entry 302
1237    -0x1.62e42fefa39f035793c767300825ed5ep-1,
1238    0x1.fffffffffffffp-2
1239  },
1240  { // Entry 303
1241    -0x1.62e42fefa39ef35793c7673007e5ed5ep-1,
1242    0x1.0p-1
1243  },
1244  { // Entry 304
1245    -0x1.62e42fefa39ed35793c7673008e5ed5ep-1,
1246    0x1.0000000000001p-1
1247  },
1248  { // Entry 305
1249    -0x1.62e42fefa39efb5793c767300805ed5ep0,
1250    0x1.fffffffffffffp-3
1251  },
1252  { // Entry 306
1253    -0x1.62e42fefa39ef35793c7673007e5ed5ep0,
1254    0x1.0p-2
1255  },
1256  { // Entry 307
1257    -0x1.62e42fefa39ee35793c767300865ed5ep0,
1258    0x1.0000000000001p-2
1259  },
1260  { // Entry 308
1261    -0x1.0a2b23f3bab73a81aed58d6405fc7206p1,
1262    0x1.fffffffffffffp-4
1263  },
1264  { // Entry 309
1265    -0x1.0a2b23f3bab73681aed58d6405ec7206p1,
1266    0x1.0p-3
1267  },
1268  { // Entry 310
1269    -0x1.0a2b23f3bab72e81aed58d64062c7206p1,
1270    0x1.0000000000001p-3
1271  },
1272  { // Entry 311
1273    -0x1.62e42fefa39ef75793c7673007f5ed5ep1,
1274    0x1.fffffffffffffp-5
1275  },
1276  { // Entry 312
1277    -0x1.62e42fefa39ef35793c7673007e5ed5ep1,
1278    0x1.0p-4
1279  },
1280  { // Entry 313
1281    -0x1.62e42fefa39eeb5793c767300825ed5ep1,
1282    0x1.0000000000001p-4
1283  },
1284  { // Entry 314
1285    -0x1.bb9d3beb8c86b42d78b940fc09ef68b6p1,
1286    0x1.fffffffffffffp-6
1287  },
1288  { // Entry 315
1289    -0x1.bb9d3beb8c86b02d78b940fc09df68b6p1,
1290    0x1.0p-5
1291  },
1292  { // Entry 316
1293    -0x1.bb9d3beb8c86a82d78b940fc0a1f68b6p1,
1294    0x1.0000000000001p-5
1295  },
1296  { // Entry 317
1297    -0x1.0a2b23f3bab73881aed58d6405f47206p2,
1298    0x1.fffffffffffffp-7
1299  },
1300  { // Entry 318
1301    -0x1.0a2b23f3bab73681aed58d6405ec7206p2,
1302    0x1.0p-6
1303  },
1304  { // Entry 319
1305    -0x1.0a2b23f3bab73281aed58d64060c7206p2,
1306    0x1.0000000000001p-6
1307  },
1308  { // Entry 320
1309    -0x1.3687a9f1af2b16eca14e7a4a06f12fb2p2,
1310    0x1.fffffffffffffp-8
1311  },
1312  { // Entry 321
1313    -0x1.3687a9f1af2b14eca14e7a4a06e92fb2p2,
1314    0x1.0p-7
1315  },
1316  { // Entry 322
1317    -0x1.3687a9f1af2b10eca14e7a4a07092fb2p2,
1318    0x1.0000000000001p-7
1319  },
1320  { // Entry 323
1321    -0x1.62e42fefa39ef55793c7673007eded5ep2,
1322    0x1.fffffffffffffp-9
1323  },
1324  { // Entry 324
1325    -0x1.62e42fefa39ef35793c7673007e5ed5ep2,
1326    0x1.0p-8
1327  },
1328  { // Entry 325
1329    -0x1.62e42fefa39eef5793c767300805ed5ep2,
1330    0x1.0000000000001p-8
1331  },
1332  { // Entry 326
1333    -0x1.8f40b5ed9812d3c28640541608eaab0ap2,
1334    0x1.fffffffffffffp-10
1335  },
1336  { // Entry 327
1337    -0x1.8f40b5ed9812d1c28640541608e2ab0ap2,
1338    0x1.0p-9
1339  },
1340  { // Entry 328
1341    -0x1.8f40b5ed9812cdc2864054160902ab0ap2,
1342    0x1.0000000000001p-9
1343  },
1344  { // Entry 329
1345    -0x1.bb9d3beb8c86b22d78b940fc09e768b6p2,
1346    0x1.fffffffffffffp-11
1347  },
1348  { // Entry 330
1349    -0x1.bb9d3beb8c86b02d78b940fc09df68b6p2,
1350    0x1.0p-10
1351  },
1352  { // Entry 331
1353    -0x1.bb9d3beb8c86ac2d78b940fc09ff68b6p2,
1354    0x1.0000000000001p-10
1355  },
1356  { // Entry 332
1357    -0x1.205966f2b4f126b7281203d7066ed0dcp3,
1358    0x1.fffffffffffffp-14
1359  },
1360  { // Entry 333
1361    -0x1.205966f2b4f125b7281203d7066ad0dcp3,
1362    0x1.0p-13
1363  },
1364  { // Entry 334
1365    -0x1.205966f2b4f123b7281203d7067ad0dcp3,
1366    0x1.0000000000001p-13
1367  },
1368  { // Entry 335
1369    -0x1.205966f2b4f126b7281203d7066ed0dcp3,
1370    0x1.fffffffffffffp-14
1371  },
1372  { // Entry 336
1373    -0x1.205966f2b4f125b7281203d7066ad0dcp3,
1374    0x1.0p-13
1375  },
1376  { // Entry 337
1377    -0x1.205966f2b4f123b7281203d7067ad0dcp3,
1378    0x1.0000000000001p-13
1379  },
1380  { // Entry 338
1381    -0x1.0a2b23f3bab73a81aed58d6405fc7206p1,
1382    0x1.fffffffffffffp-4
1383  },
1384  { // Entry 339
1385    -0x1.0a2b23f3bab73681aed58d6405ec7206p1,
1386    0x1.0p-3
1387  },
1388  { // Entry 340
1389    -0x1.0a2b23f3bab72e81aed58d64062c7206p1,
1390    0x1.0000000000001p-3
1391  },
1392  { // Entry 341
1393    -0x1.1178e8227e480707cafd4459785b0e8fp-3,
1394    0x1.bffffffffffffp-1
1395  },
1396  { // Entry 342
1397    -0x1.1178e8227e47bde338b41fc72de81e3bp-3,
1398    0x1.cp-1
1399  },
1400  { // Entry 343
1401    -0x1.1178e8227e4774bea66afb34e611e9fdp-3,
1402    0x1.c000000000001p-1
1403  },
1404  { // Entry 344
1405    -0x1.62e42fefa39ef75793c7673007f5ed5ep1,
1406    0x1.fffffffffffffp-5
1407  },
1408  { // Entry 345
1409    -0x1.62e42fefa39ef35793c7673007e5ed5ep1,
1410    0x1.0p-4
1411  },
1412  { // Entry 346
1413    -0x1.62e42fefa39eeb5793c767300825ed5ep1,
1414    0x1.0000000000001p-4
1415  },
1416  { // Entry 347
1417    -0x1.08598b59e3a0f112c86247d8be41d487p-4,
1418    0x1.dffffffffffffp-1
1419  },
1420  { // Entry 348
1421    -0x1.08598b59e3a0688a3fd9bf503372c12fp-4,
1422    0x1.ep-1
1423  },
1424  { // Entry 349
1425    -0x1.08598b59e39fe001b75136c7ad30c376p-4,
1426    0x1.e000000000001p-1
1427  },
1428  { // Entry 350
1429    -0x1.bb9d3beb8c86b42d78b940fc09ef68b6p1,
1430    0x1.fffffffffffffp-6
1431  },
1432  { // Entry 351
1433    -0x1.bb9d3beb8c86b02d78b940fc09df68b6p1,
1434    0x1.0p-5
1435  },
1436  { // Entry 352
1437    -0x1.bb9d3beb8c86a82d78b940fc0a1f68b6p1,
1438    0x1.0000000000001p-5
1439  },
1440  { // Entry 353
1441    -0x1.0415d89e74454f43844b7e55cedd837bp-5,
1442    0x1.effffffffffffp-1
1443  },
1444  { // Entry 354
1445    -0x1.0415d89e7444470173c75d4d8889de0ep-5,
1446    0x1.fp-1
1447  },
1448  { // Entry 355
1449    -0x1.0415d89e74433ebf63433c454abc7b39p-5,
1450    0x1.f000000000001p-1
1451  },
1452  { // Entry 356
1453    -0x1.0a2b23f3bab73881aed58d6405f47206p2,
1454    0x1.fffffffffffffp-7
1455  },
1456  { // Entry 357
1457    -0x1.0a2b23f3bab73681aed58d6405ec7206p2,
1458    0x1.0p-6
1459  },
1460  { // Entry 358
1461    -0x1.0a2b23f3bab73281aed58d64060c7206p2,
1462    0x1.0000000000001p-6
1463  },
1464  { // Entry 359
1465    -0x1.0205658935867cbfa5a9263bd81da4a0p-6,
1466    0x1.f7fffffffffffp-1
1467  },
1468  { // Entry 360
1469    -0x1.020565893584749f23a105b9c7bb9a6fp-6,
1470    0x1.f80p-1
1471  },
1472  { // Entry 361
1473    -0x1.0205658935826c7ea198e537c7dca08fp-6,
1474    0x1.f800000000001p-1
1475  },
1476  { // Entry 362
1477    -0x1.3687a9f1af2b16eca14e7a4a06f12fb2p2,
1478    0x1.fffffffffffffp-8
1479  },
1480  { // Entry 363
1481    -0x1.3687a9f1af2b14eca14e7a4a06e92fb2p2,
1482    0x1.0p-7
1483  },
1484  { // Entry 364
1485    -0x1.3687a9f1af2b10eca14e7a4a07092fb2p2,
1486    0x1.0000000000001p-7
1487  },
1488  { // Entry 365
1489    -0x1.010157588deb1a9cec9b03fbee49c6b0p-7,
1490    0x1.fbfffffffffffp-1
1491  },
1492  { // Entry 366
1493    -0x1.010157588de7128ccc5a82f9da00f48bp-7,
1494    0x1.fc0p-1
1495  },
1496  { // Entry 367
1497    -0x1.010157588de30a7cac1a01f7e639a670p-7,
1498    0x1.fc00000000001p-1
1499  },
1500  { // Entry 368
1501    -0x1.62e42fefa39ef55793c7673007eded5ep2,
1502    0x1.fffffffffffffp-9
1503  },
1504  { // Entry 369
1505    -0x1.62e42fefa39ef35793c7673007e5ed5ep2,
1506    0x1.0p-8
1507  },
1508  { // Entry 370
1509    -0x1.62e42fefa39eef5793c767300805ed5ep2,
1510    0x1.0000000000001p-8
1511  },
1512  { // Entry 371
1513    -0x1.0080559588bb5feda0eb4595c5fbe2b1p-8,
1514    0x1.fdfffffffffffp-1
1515  },
1516  { // Entry 372
1517    -0x1.0080559588b357e598e33d8d9db37a29p-8,
1518    0x1.fe0p-1
1519  },
1520  { // Entry 373
1521    -0x1.0080559588ab4fdd90db3585b5ebd2a1p-8,
1522    0x1.fe00000000001p-1
1523  },
1524  { // Entry 374
1525    -0x1.8f40b5ed9812d3c28640541608eaab0ap2,
1526    0x1.fffffffffffffp-10
1527  },
1528  { // Entry 375
1529    -0x1.8f40b5ed9812d1c28640541608e2ab0ap2,
1530    0x1.0p-9
1531  },
1532  { // Entry 376
1533    -0x1.8f40b5ed9812cdc2864054160902ab0ap2,
1534    0x1.0000000000001p-9
1535  },
1536  { // Entry 377
1537    -0x1.0040155d5899e674691fef41402f3e7bp-9,
1538    0x1.fefffffffffffp-1
1539  },
1540  { // Entry 378
1541    -0x1.0040155d5889de70671eeec0bfcefe53p-9,
1542    0x1.ff0p-1
1543  },
1544  { // Entry 379
1545    -0x1.0040155d5879d66c651dee40bfef1e6bp-9,
1546    0x1.ff00000000001p-1
1547  },
1548  { // Entry 380
1549    -0x1.bb9d3beb8c86b22d78b940fc09e768b6p2,
1550    0x1.fffffffffffffp-11
1551  },
1552  { // Entry 381
1553    -0x1.bb9d3beb8c86b02d78b940fc09df68b6p2,
1554    0x1.0p-10
1555  },
1556  { // Entry 382
1557    -0x1.bb9d3beb8c86ac2d78b940fc09ff68b6p2,
1558    0x1.0000000000001p-10
1559  },
1560  { // Entry 383
1561    -0x1.0020055655a89b377d5801fd08fd9f2dp-10,
1562    0x1.ff7ffffffffffp-1
1563  },
1564  { // Entry 384
1565    -0x1.00200556558893357cd7e1f486bd0705p-10,
1566    0x1.ff8p-1
1567  },
1568  { // Entry 385
1569    -0x1.0020055655688b337c57c1ed04fc9eedp-10,
1570    0x1.ff80000000001p-1
1571  },
1572  { // Entry 386
1573    -0x1.205966f2b4f126b7281203d7066ed0dcp3,
1574    0x1.fffffffffffffp-14
1575  },
1576  { // Entry 387
1577    -0x1.205966f2b4f125b7281203d7066ad0dcp3,
1578    0x1.0p-13
1579  },
1580  { // Entry 388
1581    -0x1.205966f2b4f123b7281203d7067ad0dcp3,
1582    0x1.0000000000001p-13
1583  },
1584  { // Entry 389
1585    -0x1.0004001556d56088dde0703f034ca096p-13,
1586    0x1.ffeffffffffffp-1
1587  },
1588  { // Entry 390
1589    -0x1.0004001555d558889dde702b028c9996p-13,
1590    0x1.fffp-1
1591  },
1592  { // Entry 391
1593    -0x1.0004001554d550885ddc701f024c9896p-13,
1594    0x1.fff0000000001p-1
1595  },
1596  { // Entry 392
1597    HUGE_VAL,
1598    HUGE_VAL
1599  },
1600  { // Entry 393
1601    0x1.62e42fefa39ef35393c7673007e5dd5ep9,
1602    0x1.fffffffffffffp1023
1603  },
1604  { // Entry 394
1605    0x1.62e42fefa39ef34f93c7673007e5ad5ep9,
1606    0x1.ffffffffffffep1023
1607  },
1608  { // Entry 395
1609    0x1.250d048e7a1bcdee499fa5b0ca1dd243p0,
1610    0x1.921fb54442d18p1
1611  },
1612  { // Entry 396
1613    0x1.ce6bb25aa1315109feefc86318ab6e52p-2,
1614    0x1.921fb54442d18p0
1615  },
1616  { // Entry 397
1617    0x1.fffffffffffff0000000000000aaaaaap-53,
1618    0x1.0000000000001p0
1619  },
1620  { // Entry 398
1621    0.0,
1622    0x1.0p0
1623  },
1624  { // Entry 399
1625    -0x1.00000000000004000000000000155555p-53,
1626    0x1.fffffffffffffp-1
1627  },
1628  { // Entry 400
1629    -0x1.eeb95b094c192b4a513e0bf9ee40d8d4p-3,
1630    0x1.921fb54442d18p-1
1631  },
1632  { // Entry 401
1633    -0x1.6232bdd7abcd23d5e7fd837c6fe23a67p9,
1634    0x1.0000000000001p-1022
1635  },
1636  { // Entry 402
1637    -0x1.6232bdd7abcd23dde7fd837c6fe1fa67p9,
1638    0x1.0p-1022
1639  },
1640  { // Entry 403
1641    -0x1.6232bdd7abcd23e5e7fd837c6fe23a67p9,
1642    0x1.ffffffffffffep-1023
1643  },
1644  { // Entry 404
1645    -0x1.6232bdd7abcd23ede7fd837c6fe2fa67p9,
1646    0x1.ffffffffffffcp-1023
1647  },
1648  { // Entry 405
1649    -0x1.73df9b3adb334e7c8499b1e01446adfap9,
1650    0x1.0p-1073
1651  },
1652  { // Entry 406
1653    -0x1.74385446d71c36395a7ea3b9e048a775p9,
1654    0x1.0p-1074
1655  },
1656  { // Entry 407
1657    -HUGE_VAL,
1658    0.0
1659  },
1660  { // Entry 408
1661    -HUGE_VAL,
1662    -0.0
1663  },
1664};
1665#endif // __BIONIC__
1666
1667TEST(math_log, log_intel) {
1668#if defined(__BIONIC__)
1669  for (size_t i = 0; i < sizeof(g_log_intel_data)/sizeof(log_intel_data_t); i++) {
1670    EXPECT_DOUBLE_EQ(g_log_intel_data[i].expected, log(g_log_intel_data[i].call_data)) << "Failed on element " << i;
1671  }
1672#else // __BIONIC__
1673  GTEST_LOG_(INFO) << "This test does nothing.";
1674#endif // __BIONIC__
1675}
1676