Debian Codegraph @

runtime/gdtoa/test/Q.ou0

raw
1
2 Input: 1.23
3
4 strtoQ consumes 4 bytes and returns 17
5 with bits = #3fff3ae1 47ae147a e147ae14 7ae147ae
6 g_Qfmt(0) gives 4 bytes: "1.23"
7
8 strtoIQ returns 17, consuming 4 bytes.
9 fI[0] = #3fff3ae1 47ae147a e147ae14 7ae147ae
10 fI[1] = #3fff3ae1 47ae147a e147ae14 7ae147af
11 fI[0] == strtod
12
13
14 Input: 1.23e+20
15
16 strtoQ consumes 8 bytes and returns 1
17 with bits = #4041aabd f2145b43 0 0
18 g_Qfmt(0) gives 8 bytes: "1.23e+20"
19
20 strtoIQ returns 1, consuming 8 bytes.
21 fI[0] == fI[1] = #4041aabd f2145b43 0 0
22
23
24 Input: 1.23e-20
25
26 strtoQ consumes 8 bytes and returns 17
27 with bits = #3fbcd0ae 4cf76753 9e4cbca ad934841
28 g_Qfmt(0) gives 8 bytes: "1.23e-20"
29
30 strtoIQ returns 17, consuming 8 bytes.
31 fI[0] = #3fbcd0ae 4cf76753 9e4cbca ad934841
32 fI[1] = #3fbcd0ae 4cf76753 9e4cbca ad934842
33 fI[0] == strtod
34
35
36 Input: 1.23456789
37
38 strtoQ consumes 10 bytes and returns 17
39 with bits = #3fff3c0c a4283de1 b7eb6945 1304948f
40 g_Qfmt(0) gives 10 bytes: "1.23456789"
41
42 strtoIQ returns 17, consuming 10 bytes.
43 fI[0] = #3fff3c0c a4283de1 b7eb6945 1304948f
44 fI[1] = #3fff3c0c a4283de1 b7eb6945 13049490
45 fI[0] == strtod
46
47
48 Input: 1.23456589e+20
49
50 strtoQ consumes 14 bytes and returns 1
51 with bits = #4041ac53 7a660b99 74000000 0
52 g_Qfmt(0) gives 14 bytes: "1.23456589e+20"
53
54 strtoIQ returns 1, consuming 14 bytes.
55 fI[0] == fI[1] = #4041ac53 7a660b99 74000000 0
56
57
58 Input: 1.23e+30
59
60 strtoQ consumes 8 bytes and returns 1
61 with bits = #4062f0cb 4e8fb79 4945600 0
62 g_Qfmt(0) gives 8 bytes: "1.23e+30"
63
64 strtoIQ returns 1, consuming 8 bytes.
65 fI[0] == fI[1] = #4062f0cb 4e8fb79 4945600 0
66
67
68 Input: 1.23e-30
69
70 strtoQ consumes 8 bytes and returns 17
71 with bits = #3f9b8f28 66f5010a a9d63f9e d7e8ba14
72 g_Qfmt(0) gives 8 bytes: "1.23e-30"
73
74 strtoIQ returns 17, consuming 8 bytes.
75 fI[0] = #3f9b8f28 66f5010a a9d63f9e d7e8ba14
76 fI[1] = #3f9b8f28 66f5010a a9d63f9e d7e8ba15
77 fI[0] == strtod
78
79
80 Input: 1.23456789e-20
81
82 strtoQ consumes 14 bytes and returns 33
83 with bits = #3fbcd268 1471e7ad a6a4a029 d86c1fa2
84 g_Qfmt(0) gives 14 bytes: "1.23456789e-20"
85
86 strtoIQ returns 33, consuming 14 bytes.
87 fI[0] = #3fbcd268 1471e7ad a6a4a029 d86c1fa1
88 fI[1] = #3fbcd268 1471e7ad a6a4a029 d86c1fa2
89 fI[1] == strtod
90
91
92 Input: 1.23456789e-30
93
94 strtoQ consumes 14 bytes and returns 17
95 with bits = #3f9b90a3 e33bbd99 51f85855 5a6b19d4
96 g_Qfmt(0) gives 14 bytes: "1.23456789e-30"
97
98 strtoIQ returns 17, consuming 14 bytes.
99 fI[0] = #3f9b90a3 e33bbd99 51f85855 5a6b19d4
100 fI[1] = #3f9b90a3 e33bbd99 51f85855 5a6b19d5
101 fI[0] == strtod
102
103
104 Input: 1.234567890123456789
105
106 strtoQ consumes 20 bytes and returns 17
107 with bits = #3fff3c0c a428c59f b71a4194 68dd175b
108 g_Qfmt(0) gives 20 bytes: "1.234567890123456789"
109
110 strtoIQ returns 17, consuming 20 bytes.
111 fI[0] = #3fff3c0c a428c59f b71a4194 68dd175b
112 fI[1] = #3fff3c0c a428c59f b71a4194 68dd175c
113 fI[0] == strtod
114
115
116 Input: 1.23456789012345678901234567890123456789
117
118 strtoQ consumes 40 bytes and returns 17
119 with bits = #3fff3c0c a428c59f b71a7be1 6b6b6d5b
120 g_Qfmt(0) gives 36 bytes: "1.2345678901234567890123456789012346"
121
122 strtoIQ returns 17, consuming 40 bytes.
123 fI[0] = #3fff3c0c a428c59f b71a7be1 6b6b6d5b
124 fI[1] = #3fff3c0c a428c59f b71a7be1 6b6b6d5c
125 fI[0] == strtod
126
127
128 Input: 1.23e306
129
130 strtoQ consumes 8 bytes and returns 33
131 with bits = #43f7c067 6cd1c61f 4daac5f1 e9fa3b55
132 g_Qfmt(0) gives 9 bytes: "1.23e+306"
133
134 strtoIQ returns 33, consuming 8 bytes.
135 fI[0] = #43f7c067 6cd1c61f 4daac5f1 e9fa3b54
136 fI[1] = #43f7c067 6cd1c61f 4daac5f1 e9fa3b55
137 fI[1] == strtod
138
139
140 Input: 1.23e-306
141
142 strtoQ consumes 9 bytes and returns 17
143 with bits = #3c06ba3b 85da396e 7e496ab7 d233c3dd
144 g_Qfmt(0) gives 9 bytes: "1.23e-306"
145
146 strtoIQ returns 17, consuming 9 bytes.
147 fI[0] = #3c06ba3b 85da396e 7e496ab7 d233c3dd
148 fI[1] = #3c06ba3b 85da396e 7e496ab7 d233c3de
149 fI[0] == strtod
150
151
152 Input: 1.23e-320
153
154 strtoQ consumes 9 bytes and returns 33
155 with bits = #3bd83731 86e30898 7e33b2e8 355f847b
156 g_Qfmt(0) gives 9 bytes: "1.23e-320"
157
158 strtoIQ returns 33, consuming 9 bytes.
159 fI[0] = #3bd83731 86e30898 7e33b2e8 355f847a
160 fI[1] = #3bd83731 86e30898 7e33b2e8 355f847b
161 fI[1] == strtod
162
163
164 Input: 1.23e-20
165
166 strtoQ consumes 8 bytes and returns 17
167 with bits = #3fbcd0ae 4cf76753 9e4cbca ad934841
168 g_Qfmt(0) gives 8 bytes: "1.23e-20"
169
170 strtoIQ returns 17, consuming 8 bytes.
171 fI[0] = #3fbcd0ae 4cf76753 9e4cbca ad934841
172 fI[1] = #3fbcd0ae 4cf76753 9e4cbca ad934842
173 fI[0] == strtod
174
175
176 Input: 1.23456789e307
177
178 strtoQ consumes 14 bytes and returns 17
179 with bits = #43fb194b 14bdaecd bcea468c 902464cf
180 g_Qfmt(0) gives 15 bytes: "1.23456789e+307"
181
182 strtoIQ returns 17, consuming 14 bytes.
183 fI[0] = #43fb194b 14bdaecd bcea468c 902464cf
184 fI[1] = #43fb194b 14bdaecd bcea468c 902464d0
185 fI[0] == strtod
186
187
188 Input: 1.23456589e-307
189
190 strtoQ consumes 15 bytes and returns 17
191 with bits = #3c036319 6bb9845f a6d234e3 39163574
192 g_Qfmt(0) gives 15 bytes: "1.23456589e-307"
193
194 strtoIQ returns 17, consuming 15 bytes.
195 fI[0] = #3c036319 6bb9845f a6d234e3 39163574
196 fI[1] = #3c036319 6bb9845f a6d234e3 39163575
197 fI[0] == strtod
198
199
200 Input: 1.234567890123456789
201
202 strtoQ consumes 20 bytes and returns 17
203 with bits = #3fff3c0c a428c59f b71a4194 68dd175b
204 g_Qfmt(0) gives 20 bytes: "1.234567890123456789"
205
206 strtoIQ returns 17, consuming 20 bytes.
207 fI[0] = #3fff3c0c a428c59f b71a4194 68dd175b
208 fI[1] = #3fff3c0c a428c59f b71a4194 68dd175c
209 fI[0] == strtod
210
211
212 Input: 1.234567890123456789e301
213
214 strtoQ consumes 24 bytes and returns 33
215 with bits = #43e726f5 175f5641 3017ea80 763990ef
216 g_Qfmt(0) gives 25 bytes: "1.234567890123456789e+301"
217
218 strtoIQ returns 33, consuming 24 bytes.
219 fI[0] = #43e726f5 175f5641 3017ea80 763990ee
220 fI[1] = #43e726f5 175f5641 3017ea80 763990ef
221 fI[1] == strtod
222
223
224 Input: 1.234567890123456789e-301
225
226 strtoQ consumes 25 bytes and returns 17
227 with bits = #3c1752a6 4e34ba0d 35b19b04 3222fce5
228 g_Qfmt(0) gives 25 bytes: "1.234567890123456789e-301"
229
230 strtoIQ returns 17, consuming 25 bytes.
231 fI[0] = #3c1752a6 4e34ba0d 35b19b04 3222fce5
232 fI[1] = #3c1752a6 4e34ba0d 35b19b04 3222fce6
233 fI[0] == strtod
234
235
236 Input: 1.234567890123456789e-321
237
238 strtoQ consumes 25 bytes and returns 17
239 with bits = #3bd4f3c2 3699d4db 99d1ea94 2fecd7de
240 g_Qfmt(0) gives 25 bytes: "1.234567890123456789e-321"
241
242 strtoIQ returns 17, consuming 25 bytes.
243 fI[0] = #3bd4f3c2 3699d4db 99d1ea94 2fecd7de
244 fI[1] = #3bd4f3c2 3699d4db 99d1ea94 2fecd7df
245 fI[0] == strtod
246
247
248 Input: 1e23
249
250 strtoQ consumes 4 bytes and returns 1
251 with bits = #404b52d0 2c7e14af 68000000 0
252 g_Qfmt(0) gives 5 bytes: "1e+23"
253
254 strtoIQ returns 1, consuming 4 bytes.
255 fI[0] == fI[1] = #404b52d0 2c7e14af 68000000 0
256
257
258 Input: 1e310
259
260 strtoQ consumes 5 bytes and returns 33
261 with bits = #4404bd03 c8140697 9e9ff00e fefd4cbd
262 g_Qfmt(0) gives 6 bytes: "1e+310"
263
264 strtoIQ returns 33, consuming 5 bytes.
265 fI[0] = #4404bd03 c8140697 9e9ff00e fefd4cbc
266 fI[1] = #4404bd03 c8140697 9e9ff00e fefd4cbd
267 fI[1] == strtod
268
269
270 Input: 9.0259718793241475e-277
271
272 strtoQ consumes 23 bytes and returns 17
273 with bits = #3c69ffff ffffffff f9ed5779 ac118fe1
274 g_Qfmt(0) gives 23 bytes: "9.0259718793241475e-277"
275
276 strtoIQ returns 17, consuming 23 bytes.
277 fI[0] = #3c69ffff ffffffff f9ed5779 ac118fe1
278 fI[1] = #3c69ffff ffffffff f9ed5779 ac118fe2
279 fI[0] == strtod
280
281
282 Input: 9.025971879324147880346310405869e-277
283
284 strtoQ consumes 37 bytes and returns 33
285 with bits = #3c6a0000 0 0 9a
286 g_Qfmt(0) gives 37 bytes: "9.025971879324147880346310405869e-277"
287
288 strtoIQ returns 33, consuming 37 bytes.
289 fI[0] = #3c6a0000 0 0 99
290 fI[1] = #3c6a0000 0 0 9a
291 fI[1] == strtod
292
293
294 Input: 9.025971879324147880346310405868e-277
295
296 strtoQ consumes 37 bytes and returns 17
297 with bits = #3c69ffff ffffffff ffffffff fffffcb5
298 g_Qfmt(0) gives 37 bytes: "9.025971879324147880346310405868e-277"
299
300 strtoIQ returns 17, consuming 37 bytes.
301 fI[0] = #3c69ffff ffffffff ffffffff fffffcb5
302 fI[1] = #3c69ffff ffffffff ffffffff fffffcb6
303 fI[0] == strtod
304
305
306 Input: 2.2250738585072014e-308
307
308 strtoQ consumes 23 bytes and returns 33
309 with bits = #3c010000 0 8c304c cf867de0
310 g_Qfmt(0) gives 23 bytes: "2.2250738585072014e-308"
311
312 strtoIQ returns 33, consuming 23 bytes.
313 fI[0] = #3c010000 0 8c304c cf867ddf
314 fI[1] = #3c010000 0 8c304c cf867de0
315 fI[1] == strtod
316
317
318 Input: 2.2250738585072013e-308
319
320 strtoQ consumes 23 bytes and returns 33
321 with bits = #3c00ffff ffffffff fa9e4c4f 4c1e8a10
322 g_Qfmt(0) gives 23 bytes: "2.2250738585072013e-308"
323
324 strtoIQ returns 33, consuming 23 bytes.
325 fI[0] = #3c00ffff ffffffff fa9e4c4f 4c1e8a0f
326 fI[1] = #3c00ffff ffffffff fa9e4c4f 4c1e8a10
327 fI[1] == strtod
328
329
330 Input: 3.2649476e14
331
332 strtoQ consumes 12 bytes and returns 1
333 with bits = #402f28f1 fc30da00 0 0
334 g_Qfmt(0) gives 13 bytes: "3.2649476e+14"
335
336 strtoIQ returns 1, consuming 12 bytes.
337 fI[0] == fI[1] = #402f28f1 fc30da00 0 0
338
339 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
340
341 Input: 1.1
342
343 strtoQ consumes 3 bytes and returns 17
344 with bits = #3fff1999 99999999 99999999 99999999
345 g_Qfmt(0) gives 36 bytes: "1.0999999999999999999999999999999999"
346
347 strtoIQ returns 33, consuming 3 bytes.
348 fI[0] = #3fff1999 99999999 99999999 99999999
349 fI[1] = #3fff1999 99999999 99999999 9999999a
350 fI[0] == strtod
351
352
353 Input: -1.1
354
355 strtoQ consumes 4 bytes and returns 25
356 with bits = #bfff1999 99999999 99999999 99999999
357 g_Qfmt(0) gives 37 bytes: "-1.0999999999999999999999999999999999"
358
359 strtoIQ returns 41, consuming 4 bytes.
360 fI[0] = #bfff1999 99999999 99999999 9999999a
361 fI[1] = #bfff1999 99999999 99999999 99999999
362 fI[1] == strtod
363
364
365 Input: 1.2
366
367 strtoQ consumes 3 bytes and returns 17
368 with bits = #3fff3333 33333333 33333333 33333333
369 g_Qfmt(0) gives 3 bytes: "1.2"
370
371 strtoIQ returns 17, consuming 3 bytes.
372 fI[0] = #3fff3333 33333333 33333333 33333333
373 fI[1] = #3fff3333 33333333 33333333 33333334
374 fI[0] == strtod
375
376
377 Input: -1.2
378
379 strtoQ consumes 4 bytes and returns 25
380 with bits = #bfff3333 33333333 33333333 33333333
381 g_Qfmt(0) gives 4 bytes: "-1.2"
382
383 strtoIQ returns 25, consuming 4 bytes.
384 fI[0] = #bfff3333 33333333 33333333 33333334
385 fI[1] = #bfff3333 33333333 33333333 33333333
386 fI[1] == strtod
387
388
389 Input: 1.3
390
391 strtoQ consumes 3 bytes and returns 17
392 with bits = #3fff4ccc cccccccc cccccccc cccccccc
393 g_Qfmt(0) gives 36 bytes: "1.2999999999999999999999999999999998"
394
395 strtoIQ returns 33, consuming 3 bytes.
396 fI[0] = #3fff4ccc cccccccc cccccccc cccccccc
397 fI[1] = #3fff4ccc cccccccc cccccccc cccccccd
398 fI[0] == strtod
399
400
401 Input: -1.3
402
403 strtoQ consumes 4 bytes and returns 25
404 with bits = #bfff4ccc cccccccc cccccccc cccccccc
405 g_Qfmt(0) gives 37 bytes: "-1.2999999999999999999999999999999998"
406
407 strtoIQ returns 41, consuming 4 bytes.
408 fI[0] = #bfff4ccc cccccccc cccccccc cccccccd
409 fI[1] = #bfff4ccc cccccccc cccccccc cccccccc
410 fI[1] == strtod
411
412
413 Input: 1.4
414
415 strtoQ consumes 3 bytes and returns 17
416 with bits = #3fff6666 66666666 66666666 66666666
417 g_Qfmt(0) gives 3 bytes: "1.4"
418
419 strtoIQ returns 17, consuming 3 bytes.
420 fI[0] = #3fff6666 66666666 66666666 66666666
421 fI[1] = #3fff6666 66666666 66666666 66666667
422 fI[0] == strtod
423
424
425 Input: -1.4
426
427 strtoQ consumes 4 bytes and returns 25
428 with bits = #bfff6666 66666666 66666666 66666666
429 g_Qfmt(0) gives 4 bytes: "-1.4"
430
431 strtoIQ returns 25, consuming 4 bytes.
432 fI[0] = #bfff6666 66666666 66666666 66666667
433 fI[1] = #bfff6666 66666666 66666666 66666666
434 fI[1] == strtod
435
436
437 Input: 1.5
438
439 strtoQ consumes 3 bytes and returns 1
440 with bits = #3fff8000 0 0 0
441 g_Qfmt(0) gives 3 bytes: "1.5"
442
443 strtoIQ returns 1, consuming 3 bytes.
444 fI[0] == fI[1] = #3fff8000 0 0 0
445
446
447 Input: -1.5
448
449 strtoQ consumes 4 bytes and returns 9
450 with bits = #bfff8000 0 0 0
451 g_Qfmt(0) gives 4 bytes: "-1.5"
452
453 strtoIQ returns 9, consuming 4 bytes.
454 fI[0] == fI[1] = #bfff8000 0 0 0
455
456
457 Input: 1.6
458
459 strtoQ consumes 3 bytes and returns 17
460 with bits = #3fff9999 99999999 99999999 99999999
461 g_Qfmt(0) gives 36 bytes: "1.5999999999999999999999999999999999"
462
463 strtoIQ returns 33, consuming 3 bytes.
464 fI[0] = #3fff9999 99999999 99999999 99999999
465 fI[1] = #3fff9999 99999999 99999999 9999999a
466 fI[0] == strtod
467
468
469 Input: -1.6
470
471 strtoQ consumes 4 bytes and returns 25
472 with bits = #bfff9999 99999999 99999999 99999999
473 g_Qfmt(0) gives 37 bytes: "-1.5999999999999999999999999999999999"
474
475 strtoIQ returns 41, consuming 4 bytes.
476 fI[0] = #bfff9999 99999999 99999999 9999999a
477 fI[1] = #bfff9999 99999999 99999999 99999999
478 fI[1] == strtod
479
480
481 Input: 1.7
482
483 strtoQ consumes 3 bytes and returns 17
484 with bits = #3fffb333 33333333 33333333 33333333
485 g_Qfmt(0) gives 3 bytes: "1.7"
486
487 strtoIQ returns 17, consuming 3 bytes.
488 fI[0] = #3fffb333 33333333 33333333 33333333
489 fI[1] = #3fffb333 33333333 33333333 33333334
490 fI[0] == strtod
491
492
493 Input: -1.7
494
495 strtoQ consumes 4 bytes and returns 25
496 with bits = #bfffb333 33333333 33333333 33333333
497 g_Qfmt(0) gives 4 bytes: "-1.7"
498
499 strtoIQ returns 25, consuming 4 bytes.
500 fI[0] = #bfffb333 33333333 33333333 33333334
501 fI[1] = #bfffb333 33333333 33333333 33333333
502 fI[1] == strtod
503
504
505 Input: 1.8
506
507 strtoQ consumes 3 bytes and returns 17
508 with bits = #3fffcccc cccccccc cccccccc cccccccc
509 g_Qfmt(0) gives 36 bytes: "1.7999999999999999999999999999999998"
510
511 strtoIQ returns 33, consuming 3 bytes.
512 fI[0] = #3fffcccc cccccccc cccccccc cccccccc
513 fI[1] = #3fffcccc cccccccc cccccccc cccccccd
514 fI[0] == strtod
515
516
517 Input: -1.8
518
519 strtoQ consumes 4 bytes and returns 25
520 with bits = #bfffcccc cccccccc cccccccc cccccccc
521 g_Qfmt(0) gives 37 bytes: "-1.7999999999999999999999999999999998"
522
523 strtoIQ returns 41, consuming 4 bytes.
524 fI[0] = #bfffcccc cccccccc cccccccc cccccccd
525 fI[1] = #bfffcccc cccccccc cccccccc cccccccc
526 fI[1] == strtod
527
528
529 Input: 1.9
530
531 strtoQ consumes 3 bytes and returns 17
532 with bits = #3fffe666 66666666 66666666 66666666
533 g_Qfmt(0) gives 3 bytes: "1.9"
534
535 strtoIQ returns 17, consuming 3 bytes.
536 fI[0] = #3fffe666 66666666 66666666 66666666
537 fI[1] = #3fffe666 66666666 66666666 66666667
538 fI[0] == strtod
539
540
541 Input: -1.9
542
543 strtoQ consumes 4 bytes and returns 25
544 with bits = #bfffe666 66666666 66666666 66666666
545 g_Qfmt(0) gives 4 bytes: "-1.9"
546
547 strtoIQ returns 25, consuming 4 bytes.
548 fI[0] = #bfffe666 66666666 66666666 66666667
549 fI[1] = #bfffe666 66666666 66666666 66666666
550 fI[1] == strtod
551
552 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
553
554 Input: 1.1
555
556 strtoQ consumes 3 bytes and returns 33
557 with bits = #3fff1999 99999999 99999999 9999999a
558 g_Qfmt(0) gives 3 bytes: "1.1"
559
560 strtoIQ returns 33, consuming 3 bytes.
561 fI[0] = #3fff1999 99999999 99999999 99999999
562 fI[1] = #3fff1999 99999999 99999999 9999999a
563 fI[1] == strtod
564
565
566 Input: -1.1
567
568 strtoQ consumes 4 bytes and returns 41
569 with bits = #bfff1999 99999999 99999999 9999999a
570 g_Qfmt(0) gives 4 bytes: "-1.1"
571
572 strtoIQ returns 41, consuming 4 bytes.
573 fI[0] = #bfff1999 99999999 99999999 9999999a
574 fI[1] = #bfff1999 99999999 99999999 99999999
575 fI[0] == strtod
576
577
578 Input: 1.2
579
580 strtoQ consumes 3 bytes and returns 17
581 with bits = #3fff3333 33333333 33333333 33333333
582 g_Qfmt(0) gives 3 bytes: "1.2"
583
584 strtoIQ returns 17, consuming 3 bytes.
585 fI[0] = #3fff3333 33333333 33333333 33333333
586 fI[1] = #3fff3333 33333333 33333333 33333334
587 fI[0] == strtod
588
589
590 Input: -1.2
591
592 strtoQ consumes 4 bytes and returns 25
593 with bits = #bfff3333 33333333 33333333 33333333
594 g_Qfmt(0) gives 4 bytes: "-1.2"
595
596 strtoIQ returns 25, consuming 4 bytes.
597 fI[0] = #bfff3333 33333333 33333333 33333334
598 fI[1] = #bfff3333 33333333 33333333 33333333
599 fI[1] == strtod
600
601
602 Input: 1.3
603
604 strtoQ consumes 3 bytes and returns 33
605 with bits = #3fff4ccc cccccccc cccccccc cccccccd
606 g_Qfmt(0) gives 3 bytes: "1.3"
607
608 strtoIQ returns 33, consuming 3 bytes.
609 fI[0] = #3fff4ccc cccccccc cccccccc cccccccc
610 fI[1] = #3fff4ccc cccccccc cccccccc cccccccd
611 fI[1] == strtod
612
613
614 Input: -1.3
615
616 strtoQ consumes 4 bytes and returns 41
617 with bits = #bfff4ccc cccccccc cccccccc cccccccd
618 g_Qfmt(0) gives 4 bytes: "-1.3"
619
620 strtoIQ returns 41, consuming 4 bytes.
621 fI[0] = #bfff4ccc cccccccc cccccccc cccccccd
622 fI[1] = #bfff4ccc cccccccc cccccccc cccccccc
623 fI[0] == strtod
624
625
626 Input: 1.4
627
628 strtoQ consumes 3 bytes and returns 17
629 with bits = #3fff6666 66666666 66666666 66666666
630 g_Qfmt(0) gives 3 bytes: "1.4"
631
632 strtoIQ returns 17, consuming 3 bytes.
633 fI[0] = #3fff6666 66666666 66666666 66666666
634 fI[1] = #3fff6666 66666666 66666666 66666667
635 fI[0] == strtod
636
637
638 Input: -1.4
639
640 strtoQ consumes 4 bytes and returns 25
641 with bits = #bfff6666 66666666 66666666 66666666
642 g_Qfmt(0) gives 4 bytes: "-1.4"
643
644 strtoIQ returns 25, consuming 4 bytes.
645 fI[0] = #bfff6666 66666666 66666666 66666667
646 fI[1] = #bfff6666 66666666 66666666 66666666
647 fI[1] == strtod
648
649
650 Input: 1.5
651
652 strtoQ consumes 3 bytes and returns 1
653 with bits = #3fff8000 0 0 0
654 g_Qfmt(0) gives 3 bytes: "1.5"
655
656 strtoIQ returns 1, consuming 3 bytes.
657 fI[0] == fI[1] = #3fff8000 0 0 0
658
659
660 Input: -1.5
661
662 strtoQ consumes 4 bytes and returns 9
663 with bits = #bfff8000 0 0 0
664 g_Qfmt(0) gives 4 bytes: "-1.5"
665
666 strtoIQ returns 9, consuming 4 bytes.
667 fI[0] == fI[1] = #bfff8000 0 0 0
668
669
670 Input: 1.6
671
672 strtoQ consumes 3 bytes and returns 33
673 with bits = #3fff9999 99999999 99999999 9999999a
674 g_Qfmt(0) gives 3 bytes: "1.6"
675
676 strtoIQ returns 33, consuming 3 bytes.
677 fI[0] = #3fff9999 99999999 99999999 99999999
678 fI[1] = #3fff9999 99999999 99999999 9999999a
679 fI[1] == strtod
680
681
682 Input: -1.6
683
684 strtoQ consumes 4 bytes and returns 41
685 with bits = #bfff9999 99999999 99999999 9999999a
686 g_Qfmt(0) gives 4 bytes: "-1.6"
687
688 strtoIQ returns 41, consuming 4 bytes.
689 fI[0] = #bfff9999 99999999 99999999 9999999a
690 fI[1] = #bfff9999 99999999 99999999 99999999
691 fI[0] == strtod
692
693
694 Input: 1.7
695
696 strtoQ consumes 3 bytes and returns 17
697 with bits = #3fffb333 33333333 33333333 33333333
698 g_Qfmt(0) gives 3 bytes: "1.7"
699
700 strtoIQ returns 17, consuming 3 bytes.
701 fI[0] = #3fffb333 33333333 33333333 33333333
702 fI[1] = #3fffb333 33333333 33333333 33333334
703 fI[0] == strtod
704
705
706 Input: -1.7
707
708 strtoQ consumes 4 bytes and returns 25
709 with bits = #bfffb333 33333333 33333333 33333333
710 g_Qfmt(0) gives 4 bytes: "-1.7"
711
712 strtoIQ returns 25, consuming 4 bytes.
713 fI[0] = #bfffb333 33333333 33333333 33333334
714 fI[1] = #bfffb333 33333333 33333333 33333333
715 fI[1] == strtod
716
717
718 Input: 1.8
719
720 strtoQ consumes 3 bytes and returns 33
721 with bits = #3fffcccc cccccccc cccccccc cccccccd
722 g_Qfmt(0) gives 3 bytes: "1.8"
723
724 strtoIQ returns 33, consuming 3 bytes.
725 fI[0] = #3fffcccc cccccccc cccccccc cccccccc
726 fI[1] = #3fffcccc cccccccc cccccccc cccccccd
727 fI[1] == strtod
728
729
730 Input: -1.8
731
732 strtoQ consumes 4 bytes and returns 41
733 with bits = #bfffcccc cccccccc cccccccc cccccccd
734 g_Qfmt(0) gives 4 bytes: "-1.8"
735
736 strtoIQ returns 41, consuming 4 bytes.
737 fI[0] = #bfffcccc cccccccc cccccccc cccccccd
738 fI[1] = #bfffcccc cccccccc cccccccc cccccccc
739 fI[0] == strtod
740
741
742 Input: 1.9
743
744 strtoQ consumes 3 bytes and returns 17
745 with bits = #3fffe666 66666666 66666666 66666666
746 g_Qfmt(0) gives 3 bytes: "1.9"
747
748 strtoIQ returns 17, consuming 3 bytes.
749 fI[0] = #3fffe666 66666666 66666666 66666666
750 fI[1] = #3fffe666 66666666 66666666 66666667
751 fI[0] == strtod
752
753
754 Input: -1.9
755
756 strtoQ consumes 4 bytes and returns 25
757 with bits = #bfffe666 66666666 66666666 66666666
758 g_Qfmt(0) gives 4 bytes: "-1.9"
759
760 strtoIQ returns 25, consuming 4 bytes.
761 fI[0] = #bfffe666 66666666 66666666 66666667
762 fI[1] = #bfffe666 66666666 66666666 66666666
763 fI[1] == strtod
764
765 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
766
767 Input: 1.1
768
769 strtoQ consumes 3 bytes and returns 33
770 with bits = #3fff1999 99999999 99999999 9999999a
771 g_Qfmt(0) gives 3 bytes: "1.1"
772
773 strtoIQ returns 33, consuming 3 bytes.
774 fI[0] = #3fff1999 99999999 99999999 99999999
775 fI[1] = #3fff1999 99999999 99999999 9999999a
776 fI[1] == strtod
777
778
779 Input: -1.1
780
781 strtoQ consumes 4 bytes and returns 25
782 with bits = #bfff1999 99999999 99999999 99999999
783 g_Qfmt(0) gives 37 bytes: "-1.0999999999999999999999999999999999"
784
785 strtoIQ returns 41, consuming 4 bytes.
786 fI[0] = #bfff1999 99999999 99999999 9999999a
787 fI[1] = #bfff1999 99999999 99999999 99999999
788 fI[1] == strtod
789
790
791 Input: 1.2
792
793 strtoQ consumes 3 bytes and returns 33
794 with bits = #3fff3333 33333333 33333333 33333334
795 g_Qfmt(0) gives 36 bytes: "1.2000000000000000000000000000000002"
796
797 strtoIQ returns 17, consuming 3 bytes.
798 fI[0] = #3fff3333 33333333 33333333 33333333
799 fI[1] = #3fff3333 33333333 33333333 33333334
800 fI[1] == strtod
801
802
803 Input: -1.2
804
805 strtoQ consumes 4 bytes and returns 25
806 with bits = #bfff3333 33333333 33333333 33333333
807 g_Qfmt(0) gives 4 bytes: "-1.2"
808
809 strtoIQ returns 25, consuming 4 bytes.
810 fI[0] = #bfff3333 33333333 33333333 33333334
811 fI[1] = #bfff3333 33333333 33333333 33333333
812 fI[1] == strtod
813
814
815 Input: 1.3
816
817 strtoQ consumes 3 bytes and returns 33
818 with bits = #3fff4ccc cccccccc cccccccc cccccccd
819 g_Qfmt(0) gives 3 bytes: "1.3"
820
821 strtoIQ returns 33, consuming 3 bytes.
822 fI[0] = #3fff4ccc cccccccc cccccccc cccccccc
823 fI[1] = #3fff4ccc cccccccc cccccccc cccccccd
824 fI[1] == strtod
825
826
827 Input: -1.3
828
829 strtoQ consumes 4 bytes and returns 25
830 with bits = #bfff4ccc cccccccc cccccccc cccccccc
831 g_Qfmt(0) gives 37 bytes: "-1.2999999999999999999999999999999998"
832
833 strtoIQ returns 41, consuming 4 bytes.
834 fI[0] = #bfff4ccc cccccccc cccccccc cccccccd
835 fI[1] = #bfff4ccc cccccccc cccccccc cccccccc
836 fI[1] == strtod
837
838
839 Input: 1.4
840
841 strtoQ consumes 3 bytes and returns 33
842 with bits = #3fff6666 66666666 66666666 66666667
843 g_Qfmt(0) gives 36 bytes: "1.4000000000000000000000000000000001"
844
845 strtoIQ returns 17, consuming 3 bytes.
846 fI[0] = #3fff6666 66666666 66666666 66666666
847 fI[1] = #3fff6666 66666666 66666666 66666667
848 fI[1] == strtod
849
850
851 Input: -1.4
852
853 strtoQ consumes 4 bytes and returns 25
854 with bits = #bfff6666 66666666 66666666 66666666
855 g_Qfmt(0) gives 4 bytes: "-1.4"
856
857 strtoIQ returns 25, consuming 4 bytes.
858 fI[0] = #bfff6666 66666666 66666666 66666667
859 fI[1] = #bfff6666 66666666 66666666 66666666
860 fI[1] == strtod
861
862
863 Input: 1.5
864
865 strtoQ consumes 3 bytes and returns 1
866 with bits = #3fff8000 0 0 0
867 g_Qfmt(0) gives 3 bytes: "1.5"
868
869 strtoIQ returns 1, consuming 3 bytes.
870 fI[0] == fI[1] = #3fff8000 0 0 0
871
872
873 Input: -1.5
874
875 strtoQ consumes 4 bytes and returns 9
876 with bits = #bfff8000 0 0 0
877 g_Qfmt(0) gives 4 bytes: "-1.5"
878
879 strtoIQ returns 9, consuming 4 bytes.
880 fI[0] == fI[1] = #bfff8000 0 0 0
881
882
883 Input: 1.6
884
885 strtoQ consumes 3 bytes and returns 33
886 with bits = #3fff9999 99999999 99999999 9999999a
887 g_Qfmt(0) gives 3 bytes: "1.6"
888
889 strtoIQ returns 33, consuming 3 bytes.
890 fI[0] = #3fff9999 99999999 99999999 99999999
891 fI[1] = #3fff9999 99999999 99999999 9999999a
892 fI[1] == strtod
893
894
895 Input: -1.6
896
897 strtoQ consumes 4 bytes and returns 25
898 with bits = #bfff9999 99999999 99999999 99999999
899 g_Qfmt(0) gives 37 bytes: "-1.5999999999999999999999999999999999"
900
901 strtoIQ returns 41, consuming 4 bytes.
902 fI[0] = #bfff9999 99999999 99999999 9999999a
903 fI[1] = #bfff9999 99999999 99999999 99999999
904 fI[1] == strtod
905
906
907 Input: 1.7
908
909 strtoQ consumes 3 bytes and returns 33
910 with bits = #3fffb333 33333333 33333333 33333334
911 g_Qfmt(0) gives 36 bytes: "1.7000000000000000000000000000000002"
912
913 strtoIQ returns 17, consuming 3 bytes.
914 fI[0] = #3fffb333 33333333 33333333 33333333
915 fI[1] = #3fffb333 33333333 33333333 33333334
916 fI[1] == strtod
917
918
919 Input: -1.7
920
921 strtoQ consumes 4 bytes and returns 25
922 with bits = #bfffb333 33333333 33333333 33333333
923 g_Qfmt(0) gives 4 bytes: "-1.7"
924
925 strtoIQ returns 25, consuming 4 bytes.
926 fI[0] = #bfffb333 33333333 33333333 33333334
927 fI[1] = #bfffb333 33333333 33333333 33333333
928 fI[1] == strtod
929
930
931 Input: 1.8
932
933 strtoQ consumes 3 bytes and returns 33
934 with bits = #3fffcccc cccccccc cccccccc cccccccd
935 g_Qfmt(0) gives 3 bytes: "1.8"
936
937 strtoIQ returns 33, consuming 3 bytes.
938 fI[0] = #3fffcccc cccccccc cccccccc cccccccc
939 fI[1] = #3fffcccc cccccccc cccccccc cccccccd
940 fI[1] == strtod
941
942
943 Input: -1.8
944
945 strtoQ consumes 4 bytes and returns 25
946 with bits = #bfffcccc cccccccc cccccccc cccccccc
947 g_Qfmt(0) gives 37 bytes: "-1.7999999999999999999999999999999998"
948
949 strtoIQ returns 41, consuming 4 bytes.
950 fI[0] = #bfffcccc cccccccc cccccccc cccccccd
951 fI[1] = #bfffcccc cccccccc cccccccc cccccccc
952 fI[1] == strtod
953
954
955 Input: 1.9
956
957 strtoQ consumes 3 bytes and returns 33
958 with bits = #3fffe666 66666666 66666666 66666667
959 g_Qfmt(0) gives 36 bytes: "1.9000000000000000000000000000000001"
960
961 strtoIQ returns 17, consuming 3 bytes.
962 fI[0] = #3fffe666 66666666 66666666 66666666
963 fI[1] = #3fffe666 66666666 66666666 66666667
964 fI[1] == strtod
965
966
967 Input: -1.9
968
969 strtoQ consumes 4 bytes and returns 25
970 with bits = #bfffe666 66666666 66666666 66666666
971 g_Qfmt(0) gives 4 bytes: "-1.9"
972
973 strtoIQ returns 25, consuming 4 bytes.
974 fI[0] = #bfffe666 66666666 66666666 66666667
975 fI[1] = #bfffe666 66666666 66666666 66666666
976 fI[1] == strtod
977
978 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
979
980 Input: 1.1
981
982 strtoQ consumes 3 bytes and returns 17
983 with bits = #3fff1999 99999999 99999999 99999999
984 g_Qfmt(0) gives 36 bytes: "1.0999999999999999999999999999999999"
985
986 strtoIQ returns 33, consuming 3 bytes.
987 fI[0] = #3fff1999 99999999 99999999 99999999
988 fI[1] = #3fff1999 99999999 99999999 9999999a
989 fI[0] == strtod
990
991
992 Input: -1.1
993
994 strtoQ consumes 4 bytes and returns 41
995 with bits = #bfff1999 99999999 99999999 9999999a
996 g_Qfmt(0) gives 4 bytes: "-1.1"
997
998 strtoIQ returns 41, consuming 4 bytes.
999 fI[0] = #bfff1999 99999999 99999999 9999999a
1000 fI[1] = #bfff1999 99999999 99999999 99999999
1001 fI[0] == strtod
1002
1003
1004 Input: 1.2
1005
1006 strtoQ consumes 3 bytes and returns 17
1007 with bits = #3fff3333 33333333 33333333 33333333
1008 g_Qfmt(0) gives 3 bytes: "1.2"
1009
1010 strtoIQ returns 17, consuming 3 bytes.
1011 fI[0] = #3fff3333 33333333 33333333 33333333
1012 fI[1] = #3fff3333 33333333 33333333 33333334
1013 fI[0] == strtod
1014
1015
1016 Input: -1.2
1017
1018 strtoQ consumes 4 bytes and returns 41
1019 with bits = #bfff3333 33333333 33333333 33333334
1020 g_Qfmt(0) gives 37 bytes: "-1.2000000000000000000000000000000002"
1021
1022 strtoIQ returns 25, consuming 4 bytes.
1023 fI[0] = #bfff3333 33333333 33333333 33333334
1024 fI[1] = #bfff3333 33333333 33333333 33333333
1025 fI[0] == strtod
1026
1027
1028 Input: 1.3
1029
1030 strtoQ consumes 3 bytes and returns 17
1031 with bits = #3fff4ccc cccccccc cccccccc cccccccc
1032 g_Qfmt(0) gives 36 bytes: "1.2999999999999999999999999999999998"
1033
1034 strtoIQ returns 33, consuming 3 bytes.
1035 fI[0] = #3fff4ccc cccccccc cccccccc cccccccc
1036 fI[1] = #3fff4ccc cccccccc cccccccc cccccccd
1037 fI[0] == strtod
1038
1039
1040 Input: -1.3
1041
1042 strtoQ consumes 4 bytes and returns 41
1043 with bits = #bfff4ccc cccccccc cccccccc cccccccd
1044 g_Qfmt(0) gives 4 bytes: "-1.3"
1045
1046 strtoIQ returns 41, consuming 4 bytes.
1047 fI[0] = #bfff4ccc cccccccc cccccccc cccccccd
1048 fI[1] = #bfff4ccc cccccccc cccccccc cccccccc
1049 fI[0] == strtod
1050
1051
1052 Input: 1.4
1053
1054 strtoQ consumes 3 bytes and returns 17
1055 with bits = #3fff6666 66666666 66666666 66666666
1056 g_Qfmt(0) gives 3 bytes: "1.4"
1057
1058 strtoIQ returns 17, consuming 3 bytes.
1059 fI[0] = #3fff6666 66666666 66666666 66666666
1060 fI[1] = #3fff6666 66666666 66666666 66666667
1061 fI[0] == strtod
1062
1063
1064 Input: -1.4
1065
1066 strtoQ consumes 4 bytes and returns 41
1067 with bits = #bfff6666 66666666 66666666 66666667
1068 g_Qfmt(0) gives 37 bytes: "-1.4000000000000000000000000000000001"
1069
1070 strtoIQ returns 25, consuming 4 bytes.
1071 fI[0] = #bfff6666 66666666 66666666 66666667
1072 fI[1] = #bfff6666 66666666 66666666 66666666
1073 fI[0] == strtod
1074
1075
1076 Input: 1.5
1077
1078 strtoQ consumes 3 bytes and returns 1
1079 with bits = #3fff8000 0 0 0
1080 g_Qfmt(0) gives 3 bytes: "1.5"
1081
1082 strtoIQ returns 1, consuming 3 bytes.
1083 fI[0] == fI[1] = #3fff8000 0 0 0
1084
1085
1086 Input: -1.5
1087
1088 strtoQ consumes 4 bytes and returns 9
1089 with bits = #bfff8000 0 0 0
1090 g_Qfmt(0) gives 4 bytes: "-1.5"
1091
1092 strtoIQ returns 9, consuming 4 bytes.
1093 fI[0] == fI[1] = #bfff8000 0 0 0
1094
1095
1096 Input: 1.6
1097
1098 strtoQ consumes 3 bytes and returns 17
1099 with bits = #3fff9999 99999999 99999999 99999999
1100 g_Qfmt(0) gives 36 bytes: "1.5999999999999999999999999999999999"
1101
1102 strtoIQ returns 33, consuming 3 bytes.
1103 fI[0] = #3fff9999 99999999 99999999 99999999
1104 fI[1] = #3fff9999 99999999 99999999 9999999a
1105 fI[0] == strtod
1106
1107
1108 Input: -1.6
1109
1110 strtoQ consumes 4 bytes and returns 41
1111 with bits = #bfff9999 99999999 99999999 9999999a
1112 g_Qfmt(0) gives 4 bytes: "-1.6"
1113
1114 strtoIQ returns 41, consuming 4 bytes.
1115 fI[0] = #bfff9999 99999999 99999999 9999999a
1116 fI[1] = #bfff9999 99999999 99999999 99999999
1117 fI[0] == strtod
1118
1119
1120 Input: 1.7
1121
1122 strtoQ consumes 3 bytes and returns 17
1123 with bits = #3fffb333 33333333 33333333 33333333
1124 g_Qfmt(0) gives 3 bytes: "1.7"
1125
1126 strtoIQ returns 17, consuming 3 bytes.
1127 fI[0] = #3fffb333 33333333 33333333 33333333
1128 fI[1] = #3fffb333 33333333 33333333 33333334
1129 fI[0] == strtod
1130
1131
1132 Input: -1.7
1133
1134 strtoQ consumes 4 bytes and returns 41
1135 with bits = #bfffb333 33333333 33333333 33333334
1136 g_Qfmt(0) gives 37 bytes: "-1.7000000000000000000000000000000002"
1137
1138 strtoIQ returns 25, consuming 4 bytes.
1139 fI[0] = #bfffb333 33333333 33333333 33333334
1140 fI[1] = #bfffb333 33333333 33333333 33333333
1141 fI[0] == strtod
1142
1143
1144 Input: 1.8
1145
1146 strtoQ consumes 3 bytes and returns 17
1147 with bits = #3fffcccc cccccccc cccccccc cccccccc
1148 g_Qfmt(0) gives 36 bytes: "1.7999999999999999999999999999999998"
1149
1150 strtoIQ returns 33, consuming 3 bytes.
1151 fI[0] = #3fffcccc cccccccc cccccccc cccccccc
1152 fI[1] = #3fffcccc cccccccc cccccccc cccccccd
1153 fI[0] == strtod
1154
1155
1156 Input: -1.8
1157
1158 strtoQ consumes 4 bytes and returns 41
1159 with bits = #bfffcccc cccccccc cccccccc cccccccd
1160 g_Qfmt(0) gives 4 bytes: "-1.8"
1161
1162 strtoIQ returns 41, consuming 4 bytes.
1163 fI[0] = #bfffcccc cccccccc cccccccc cccccccd
1164 fI[1] = #bfffcccc cccccccc cccccccc cccccccc
1165 fI[0] == strtod
1166
1167
1168 Input: 1.9
1169
1170 strtoQ consumes 3 bytes and returns 17
1171 with bits = #3fffe666 66666666 66666666 66666666
1172 g_Qfmt(0) gives 3 bytes: "1.9"
1173
1174 strtoIQ returns 17, consuming 3 bytes.
1175 fI[0] = #3fffe666 66666666 66666666 66666666
1176 fI[1] = #3fffe666 66666666 66666666 66666667
1177 fI[0] == strtod
1178
1179
1180 Input: -1.9
1181
1182 strtoQ consumes 4 bytes and returns 41
1183 with bits = #bfffe666 66666666 66666666 66666667
1184 g_Qfmt(0) gives 37 bytes: "-1.9000000000000000000000000000000001"
1185
1186 strtoIQ returns 25, consuming 4 bytes.
1187 fI[0] = #bfffe666 66666666 66666666 66666667
1188 fI[1] = #bfffe666 66666666 66666666 66666666
1189 fI[0] == strtod
1190