]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - contrib/gdtoa/test/d.out
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / contrib / gdtoa / test / d.out
1
2 Input: 1.23
3 strtod consumes 4 bytes and returns 17 with f = 1.23 = #3ff3ae14 7ae147ae
4 g_dfmt(0) gives 4 bytes: "1.23"
5
6 strtoId returns 17, consuming 4 bytes.
7 fI[0] = #3ff3ae14 7ae147ae = 1.23
8 fI[1] = #3ff3ae14 7ae147af = 1.2300000000000002
9 fI[0] == strtod
10
11
12 Input: 1.23e+20
13 strtod consumes 8 bytes and returns 1 with f = 1.23e+20 = #441aabdf 2145b430
14 g_dfmt(0) gives 8 bytes: "1.23e+20"
15
16 strtoId returns 1, consuming 8 bytes.
17 fI[0] == fI[1] == strtod
18
19
20 Input: 1.23e-20
21 strtod consumes 8 bytes and returns 33 with f = 1.2300000000000001e-20 = #3bcd0ae4 cf767531
22 g_dfmt(0) gives 8 bytes: "1.23e-20"
23
24 strtoId returns 33, consuming 8 bytes.
25 fI[0] = #3bcd0ae4 cf767530 = 1.2299999999999999e-20
26 fI[1] = #3bcd0ae4 cf767531 = 1.2300000000000001e-20
27 fI[1] == strtod
28
29
30 Input: 1.23456789
31 strtod consumes 10 bytes and returns 17 with f = 1.2345678899999999 = #3ff3c0ca 4283de1b
32 g_dfmt(0) gives 10 bytes: "1.23456789"
33
34 strtoId returns 17, consuming 10 bytes.
35 fI[0] = #3ff3c0ca 4283de1b = 1.2345678899999999
36 fI[1] = #3ff3c0ca 4283de1c = 1.2345678900000001
37 fI[0] == strtod
38
39
40 Input: 1.23456589e+20
41 strtod consumes 14 bytes and returns 17 with f = 1.23456589e+20 = #441ac537 a660b997
42 g_dfmt(0) gives 14 bytes: "1.23456589e+20"
43
44 strtoId returns 17, consuming 14 bytes.
45 fI[0] = #441ac537 a660b997 = 1.23456589e+20
46 fI[1] = #441ac537 a660b998 = 1.2345658900000001e+20
47 fI[0] == strtod
48
49
50 Input: 1.23e+30
51 strtod consumes 8 bytes and returns 17 with f = 1.23e+30 = #462f0cb0 4e8fb790
52 g_dfmt(0) gives 8 bytes: "1.23e+30"
53
54 strtoId returns 17, consuming 8 bytes.
55 fI[0] = #462f0cb0 4e8fb790 = 1.23e+30
56 fI[1] = #462f0cb0 4e8fb791 = 1.2300000000000001e+30
57 fI[0] == strtod
58
59
60 Input: 1.23e-30
61 strtod consumes 8 bytes and returns 33 with f = 1.2300000000000001e-30 = #39b8f286 6f5010ab
62 g_dfmt(0) gives 8 bytes: "1.23e-30"
63
64 strtoId returns 33, consuming 8 bytes.
65 fI[0] = #39b8f286 6f5010aa = 1.2299999999999999e-30
66 fI[1] = #39b8f286 6f5010ab = 1.2300000000000001e-30
67 fI[1] == strtod
68
69
70 Input: 1.23456789e-20
71 strtod consumes 14 bytes and returns 17 with f = 1.2345678899999999e-20 = #3bcd2681 471e7ada
72 g_dfmt(0) gives 14 bytes: "1.23456789e-20"
73
74 strtoId returns 17, consuming 14 bytes.
75 fI[0] = #3bcd2681 471e7ada = 1.2345678899999999e-20
76 fI[1] = #3bcd2681 471e7adb = 1.2345678900000001e-20
77 fI[0] == strtod
78
79
80 Input: 1.23456789e-30
81 strtod consumes 14 bytes and returns 17 with f = 1.23456789e-30 = #39b90a3e 33bbd995
82 g_dfmt(0) gives 14 bytes: "1.23456789e-30"
83
84 strtoId returns 17, consuming 14 bytes.
85 fI[0] = #39b90a3e 33bbd995 = 1.23456789e-30
86 fI[1] = #39b90a3e 33bbd996 = 1.2345678900000002e-30
87 fI[0] == strtod
88
89
90 Input: 1.234567890123456789
91 strtod consumes 20 bytes and returns 17 with f = 1.2345678901234567 = #3ff3c0ca 428c59fb
92 g_dfmt(0) gives 18 bytes: "1.2345678901234567"
93
94 strtoId returns 17, consuming 20 bytes.
95 fI[0] = #3ff3c0ca 428c59fb = 1.2345678901234567
96 fI[1] = #3ff3c0ca 428c59fc = 1.2345678901234569
97 fI[0] == strtod
98
99
100 Input: 1.23456789012345678901234567890123456789
101 strtod consumes 40 bytes and returns 17 with f = 1.2345678901234567 = #3ff3c0ca 428c59fb
102 g_dfmt(0) gives 18 bytes: "1.2345678901234567"
103
104 strtoId returns 17, consuming 40 bytes.
105 fI[0] = #3ff3c0ca 428c59fb = 1.2345678901234567
106 fI[1] = #3ff3c0ca 428c59fc = 1.2345678901234569
107 fI[0] == strtod
108
109
110 Input: 1.23e306
111 strtod consumes 8 bytes and returns 33 with f = 1.23e+306 = #7f7c0676 cd1c61f5
112 g_dfmt(0) gives 9 bytes: "1.23e+306"
113
114 strtoId returns 33, consuming 8 bytes.
115 fI[0] = #7f7c0676 cd1c61f4 = 1.2299999999999999e+306
116 fI[1] = #7f7c0676 cd1c61f5 = 1.23e+306
117 fI[1] == strtod
118
119
120 Input: 1.23e-306
121 strtod consumes 9 bytes and returns 33 with f = 1.23e-306 = #6ba3b8 5da396e8
122 g_dfmt(0) gives 9 bytes: "1.23e-306"
123
124 strtoId returns 33, consuming 9 bytes.
125 fI[0] = #6ba3b8 5da396e7 = 1.2299999999999999e-306
126 fI[1] = #6ba3b8 5da396e8 = 1.23e-306
127 fI[1] == strtod
128
129
130 Input: 1.23e-320
131 strtod consumes 9 bytes and returns 98 with f = 1.2302234581447039e-320 = #0 9ba
132 g_dfmt(0) gives 9 bytes: "1.23e-320"
133
134 strtoId returns 98, consuming 9 bytes.
135 fI[0] = #0 9b9 = 1.2297293924988626e-320
136 fI[1] = #0 9ba = 1.2302234581447039e-320
137 fI[1] == strtod
138
139
140 Input: 1.23e-20
141 strtod consumes 8 bytes and returns 33 with f = 1.2300000000000001e-20 = #3bcd0ae4 cf767531
142 g_dfmt(0) gives 8 bytes: "1.23e-20"
143
144 strtoId returns 33, consuming 8 bytes.
145 fI[0] = #3bcd0ae4 cf767530 = 1.2299999999999999e-20
146 fI[1] = #3bcd0ae4 cf767531 = 1.2300000000000001e-20
147 fI[1] == strtod
148
149
150 Input: 1.23456789e307
151 strtod consumes 14 bytes and returns 33 with f = 1.23456789e+307 = #7fb194b1 4bdaecdc
152 g_dfmt(0) gives 15 bytes: "1.23456789e+307"
153
154 strtoId returns 33, consuming 14 bytes.
155 fI[0] = #7fb194b1 4bdaecdb = 1.2345678899999998e+307
156 fI[1] = #7fb194b1 4bdaecdc = 1.23456789e+307
157 fI[1] == strtod
158
159
160 Input: 1.23456589e-307
161 strtod consumes 15 bytes and returns 17 with f = 1.2345658899999999e-307 = #363196 bb9845fa
162 g_dfmt(0) gives 15 bytes: "1.23456589e-307"
163
164 strtoId returns 17, consuming 15 bytes.
165 fI[0] = #363196 bb9845fa = 1.2345658899999999e-307
166 fI[1] = #363196 bb9845fb = 1.2345658900000001e-307
167 fI[0] == strtod
168
169
170 Input: 1.234567890123456789
171 strtod consumes 20 bytes and returns 17 with f = 1.2345678901234567 = #3ff3c0ca 428c59fb
172 g_dfmt(0) gives 18 bytes: "1.2345678901234567"
173
174 strtoId returns 17, consuming 20 bytes.
175 fI[0] = #3ff3c0ca 428c59fb = 1.2345678901234567
176 fI[1] = #3ff3c0ca 428c59fc = 1.2345678901234569
177 fI[0] == strtod
178
179
180 Input: 1.234567890123456789e301
181 strtod consumes 24 bytes and returns 17 with f = 1.2345678901234568e+301 = #7e726f51 75f56413
182 g_dfmt(0) gives 23 bytes: "1.2345678901234568e+301"
183
184 strtoId returns 17, consuming 24 bytes.
185 fI[0] = #7e726f51 75f56413 = 1.2345678901234568e+301
186 fI[1] = #7e726f51 75f56414 = 1.234567890123457e+301
187 fI[0] == strtod
188
189
190 Input: 1.234567890123456789e-301
191 strtod consumes 25 bytes and returns 17 with f = 1.2345678901234567e-301 = #1752a64 e34ba0d3
192 g_dfmt(0) gives 23 bytes: "1.2345678901234567e-301"
193
194 strtoId returns 17, consuming 25 bytes.
195 fI[0] = #1752a64 e34ba0d3 = 1.2345678901234567e-301
196 fI[1] = #1752a64 e34ba0d4 = 1.2345678901234569e-301
197 fI[0] == strtod
198
199
200 Input: 1.234567890123456789e-321
201 strtod consumes 25 bytes and returns 98 with f = 1.2351641146031164e-321 = #0 fa
202 g_dfmt(0) gives 10 bytes: "1.235e-321"
203
204 strtoId returns 98, consuming 25 bytes.
205 fI[0] = #0 f9 = 1.2302234581447039e-321
206 fI[1] = #0 fa = 1.2351641146031164e-321
207 fI[1] == strtod
208
209
210 Input: 1e23
211 strtod consumes 4 bytes and returns 17 with f = 9.9999999999999992e+22 = #44b52d02 c7e14af6
212 g_dfmt(0) gives 5 bytes: "1e+23"
213
214 strtoId returns 17, consuming 4 bytes.
215 fI[0] = #44b52d02 c7e14af6 = 9.9999999999999992e+22
216 fI[1] = #44b52d02 c7e14af7 = 1.0000000000000001e+23
217 fI[0] == strtod
218
219
220 Input: 1e310
221 strtod consumes 5 bytes and returns 163 with f = Infinity = #7ff00000 0
222 g_dfmt(0) gives 8 bytes: "Infinity"
223
224 strtoId returns 163, consuming 5 bytes.
225 fI[0] = #7fefffff ffffffff = 1.7976931348623157e+308
226 fI[1] = #7ff00000 0 = Infinity
227 fI[1] == strtod
228
229
230 Input: 9.0259718793241475e-277
231 strtod consumes 23 bytes and returns 33 with f = 9.0259718793241479e-277 = #6a00000 0
232 g_dfmt(0) gives 22 bytes: "9.025971879324148e-277"
233
234 strtoId returns 33, consuming 23 bytes.
235 fI[0] = #69fffff ffffffff = 9.0259718793241469e-277
236 fI[1] = #6a00000 0 = 9.0259718793241479e-277
237 fI[1] == strtod
238
239
240 Input: 9.025971879324147880346310405869e-277
241 strtod consumes 37 bytes and returns 17 with f = 9.0259718793241479e-277 = #6a00000 0
242 g_dfmt(0) gives 22 bytes: "9.025971879324148e-277"
243
244 strtoId returns 17, consuming 37 bytes.
245 fI[0] = #6a00000 0 = 9.0259718793241479e-277
246 fI[1] = #6a00000 1 = 9.0259718793241499e-277
247 fI[0] == strtod
248
249
250 Input: 9.025971879324147880346310405868e-277
251 strtod consumes 37 bytes and returns 33 with f = 9.0259718793241479e-277 = #6a00000 0
252 g_dfmt(0) gives 22 bytes: "9.025971879324148e-277"
253
254 strtoId returns 33, consuming 37 bytes.
255 fI[0] = #69fffff ffffffff = 9.0259718793241469e-277
256 fI[1] = #6a00000 0 = 9.0259718793241479e-277
257 fI[1] == strtod
258
259
260 Input: 2.2250738585072014e-308
261 strtod consumes 23 bytes and returns 17 with f = 2.2250738585072014e-308 = #100000 0
262 g_dfmt(0) gives 23 bytes: "2.2250738585072014e-308"
263
264 strtoId returns 17, consuming 23 bytes.
265 fI[0] = #100000 0 = 2.2250738585072014e-308
266 fI[1] = #100000 1 = 2.2250738585072019e-308
267 fI[0] == strtod
268
269
270 Input: 2.2250738585072013e-308
271 strtod consumes 23 bytes and returns 33 with f = 2.2250738585072014e-308 = #100000 0
272 g_dfmt(0) gives 23 bytes: "2.2250738585072014e-308"
273
274 strtoId returns 33, consuming 23 bytes.
275 fI[0] = #fffff ffffffff = 2.2250738585072009e-308
276 fI[1] = #100000 0 = 2.2250738585072014e-308
277 fI[1] == strtod
278
279 Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero)
280
281 Input: 1.1
282 strtod consumes 3 bytes and returns 17 with f = 1.0999999999999999 = #3ff19999 99999999
283 g_dfmt(0) gives 18 bytes: "1.0999999999999999"
284
285 strtoId returns 33, consuming 3 bytes.
286 fI[0] = #3ff19999 99999999 = 1.0999999999999999
287 fI[1] = #3ff19999 9999999a = 1.1000000000000001
288 fI[0] == strtod
289
290
291 Input: -1.1
292 strtod consumes 4 bytes and returns 25 with f = -1.0999999999999999 = #bff19999 99999999
293 g_dfmt(0) gives 19 bytes: "-1.0999999999999999"
294
295 strtoId returns 41, consuming 4 bytes.
296 fI[0] = #bff19999 9999999a = -1.1000000000000001
297 fI[1] = #bff19999 99999999 = -1.0999999999999999
298 fI[1] == strtod
299
300
301 Input: 1.2
302 strtod consumes 3 bytes and returns 17 with f = 1.2 = #3ff33333 33333333
303 g_dfmt(0) gives 3 bytes: "1.2"
304
305 strtoId returns 17, consuming 3 bytes.
306 fI[0] = #3ff33333 33333333 = 1.2
307 fI[1] = #3ff33333 33333334 = 1.2000000000000002
308 fI[0] == strtod
309
310
311 Input: -1.2
312 strtod consumes 4 bytes and returns 25 with f = -1.2 = #bff33333 33333333
313 g_dfmt(0) gives 4 bytes: "-1.2"
314
315 strtoId returns 25, consuming 4 bytes.
316 fI[0] = #bff33333 33333334 = -1.2000000000000002
317 fI[1] = #bff33333 33333333 = -1.2
318 fI[1] == strtod
319
320
321 Input: 1.3
322 strtod consumes 3 bytes and returns 17 with f = 1.2999999999999998 = #3ff4cccc cccccccc
323 g_dfmt(0) gives 18 bytes: "1.2999999999999998"
324
325 strtoId returns 33, consuming 3 bytes.
326 fI[0] = #3ff4cccc cccccccc = 1.2999999999999998
327 fI[1] = #3ff4cccc cccccccd = 1.3
328 fI[0] == strtod
329
330
331 Input: -1.3
332 strtod consumes 4 bytes and returns 25 with f = -1.2999999999999998 = #bff4cccc cccccccc
333 g_dfmt(0) gives 19 bytes: "-1.2999999999999998"
334
335 strtoId returns 41, consuming 4 bytes.
336 fI[0] = #bff4cccc cccccccd = -1.3
337 fI[1] = #bff4cccc cccccccc = -1.2999999999999998
338 fI[1] == strtod
339
340
341 Input: 1.4
342 strtod consumes 3 bytes and returns 17 with f = 1.3999999999999999 = #3ff66666 66666666
343 g_dfmt(0) gives 3 bytes: "1.4"
344
345 strtoId returns 17, consuming 3 bytes.
346 fI[0] = #3ff66666 66666666 = 1.3999999999999999
347 fI[1] = #3ff66666 66666667 = 1.4000000000000001
348 fI[0] == strtod
349
350
351 Input: -1.4
352 strtod consumes 4 bytes and returns 25 with f = -1.3999999999999999 = #bff66666 66666666
353 g_dfmt(0) gives 4 bytes: "-1.4"
354
355 strtoId returns 25, consuming 4 bytes.
356 fI[0] = #bff66666 66666667 = -1.4000000000000001
357 fI[1] = #bff66666 66666666 = -1.3999999999999999
358 fI[1] == strtod
359
360
361 Input: 1.5
362 strtod consumes 3 bytes and returns 1 with f = 1.5 = #3ff80000 0
363 g_dfmt(0) gives 3 bytes: "1.5"
364
365 strtoId returns 1, consuming 3 bytes.
366 fI[0] == fI[1] == strtod
367
368
369 Input: -1.5
370 strtod consumes 4 bytes and returns 9 with f = -1.5 = #bff80000 0
371 g_dfmt(0) gives 4 bytes: "-1.5"
372
373 strtoId returns 9, consuming 4 bytes.
374 fI[0] == fI[1] == strtod
375
376
377 Input: 1.6
378 strtod consumes 3 bytes and returns 17 with f = 1.5999999999999999 = #3ff99999 99999999
379 g_dfmt(0) gives 18 bytes: "1.5999999999999999"
380
381 strtoId returns 33, consuming 3 bytes.
382 fI[0] = #3ff99999 99999999 = 1.5999999999999999
383 fI[1] = #3ff99999 9999999a = 1.6000000000000001
384 fI[0] == strtod
385
386
387 Input: -1.6
388 strtod consumes 4 bytes and returns 25 with f = -1.5999999999999999 = #bff99999 99999999
389 g_dfmt(0) gives 19 bytes: "-1.5999999999999999"
390
391 strtoId returns 41, consuming 4 bytes.
392 fI[0] = #bff99999 9999999a = -1.6000000000000001
393 fI[1] = #bff99999 99999999 = -1.5999999999999999
394 fI[1] == strtod
395
396
397 Input: 1.7
398 strtod consumes 3 bytes and returns 17 with f = 1.7 = #3ffb3333 33333333
399 g_dfmt(0) gives 3 bytes: "1.7"
400
401 strtoId returns 17, consuming 3 bytes.
402 fI[0] = #3ffb3333 33333333 = 1.7
403 fI[1] = #3ffb3333 33333334 = 1.7000000000000002
404 fI[0] == strtod
405
406
407 Input: -1.7
408 strtod consumes 4 bytes and returns 25 with f = -1.7 = #bffb3333 33333333
409 g_dfmt(0) gives 4 bytes: "-1.7"
410
411 strtoId returns 25, consuming 4 bytes.
412 fI[0] = #bffb3333 33333334 = -1.7000000000000002
413 fI[1] = #bffb3333 33333333 = -1.7
414 fI[1] == strtod
415
416
417 Input: 1.8
418 strtod consumes 3 bytes and returns 17 with f = 1.7999999999999998 = #3ffccccc cccccccc
419 g_dfmt(0) gives 18 bytes: "1.7999999999999998"
420
421 strtoId returns 33, consuming 3 bytes.
422 fI[0] = #3ffccccc cccccccc = 1.7999999999999998
423 fI[1] = #3ffccccc cccccccd = 1.8
424 fI[0] == strtod
425
426
427 Input: -1.8
428 strtod consumes 4 bytes and returns 25 with f = -1.7999999999999998 = #bffccccc cccccccc
429 g_dfmt(0) gives 19 bytes: "-1.7999999999999998"
430
431 strtoId returns 41, consuming 4 bytes.
432 fI[0] = #bffccccc cccccccd = -1.8
433 fI[1] = #bffccccc cccccccc = -1.7999999999999998
434 fI[1] == strtod
435
436
437 Input: 1.9
438 strtod consumes 3 bytes and returns 17 with f = 1.8999999999999999 = #3ffe6666 66666666
439 g_dfmt(0) gives 3 bytes: "1.9"
440
441 strtoId returns 17, consuming 3 bytes.
442 fI[0] = #3ffe6666 66666666 = 1.8999999999999999
443 fI[1] = #3ffe6666 66666667 = 1.9000000000000001
444 fI[0] == strtod
445
446
447 Input: -1.9
448 strtod consumes 4 bytes and returns 25 with f = -1.8999999999999999 = #bffe6666 66666666
449 g_dfmt(0) gives 4 bytes: "-1.9"
450
451 strtoId returns 25, consuming 4 bytes.
452 fI[0] = #bffe6666 66666667 = -1.9000000000000001
453 fI[1] = #bffe6666 66666666 = -1.8999999999999999
454 fI[1] == strtod
455
456 Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest)
457
458 Input: 1.1
459 strtod consumes 3 bytes and returns 33 with f = 1.1000000000000001 = #3ff19999 9999999a
460 g_dfmt(0) gives 3 bytes: "1.1"
461
462 strtoId returns 33, consuming 3 bytes.
463 fI[0] = #3ff19999 99999999 = 1.0999999999999999
464 fI[1] = #3ff19999 9999999a = 1.1000000000000001
465 fI[1] == strtod
466
467
468 Input: -1.1
469 strtod consumes 4 bytes and returns 41 with f = -1.1000000000000001 = #bff19999 9999999a
470 g_dfmt(0) gives 4 bytes: "-1.1"
471
472 strtoId returns 41, consuming 4 bytes.
473 fI[0] = #bff19999 9999999a = -1.1000000000000001
474 fI[1] = #bff19999 99999999 = -1.0999999999999999
475 fI[0] == strtod
476
477
478 Input: 1.2
479 strtod consumes 3 bytes and returns 17 with f = 1.2 = #3ff33333 33333333
480 g_dfmt(0) gives 3 bytes: "1.2"
481
482 strtoId returns 17, consuming 3 bytes.
483 fI[0] = #3ff33333 33333333 = 1.2
484 fI[1] = #3ff33333 33333334 = 1.2000000000000002
485 fI[0] == strtod
486
487
488 Input: -1.2
489 strtod consumes 4 bytes and returns 25 with f = -1.2 = #bff33333 33333333
490 g_dfmt(0) gives 4 bytes: "-1.2"
491
492 strtoId returns 25, consuming 4 bytes.
493 fI[0] = #bff33333 33333334 = -1.2000000000000002
494 fI[1] = #bff33333 33333333 = -1.2
495 fI[1] == strtod
496
497
498 Input: 1.3
499 strtod consumes 3 bytes and returns 33 with f = 1.3 = #3ff4cccc cccccccd
500 g_dfmt(0) gives 3 bytes: "1.3"
501
502 strtoId returns 33, consuming 3 bytes.
503 fI[0] = #3ff4cccc cccccccc = 1.2999999999999998
504 fI[1] = #3ff4cccc cccccccd = 1.3
505 fI[1] == strtod
506
507
508 Input: -1.3
509 strtod consumes 4 bytes and returns 41 with f = -1.3 = #bff4cccc cccccccd
510 g_dfmt(0) gives 4 bytes: "-1.3"
511
512 strtoId returns 41, consuming 4 bytes.
513 fI[0] = #bff4cccc cccccccd = -1.3
514 fI[1] = #bff4cccc cccccccc = -1.2999999999999998
515 fI[0] == strtod
516
517
518 Input: 1.4
519 strtod consumes 3 bytes and returns 17 with f = 1.3999999999999999 = #3ff66666 66666666
520 g_dfmt(0) gives 3 bytes: "1.4"
521
522 strtoId returns 17, consuming 3 bytes.
523 fI[0] = #3ff66666 66666666 = 1.3999999999999999
524 fI[1] = #3ff66666 66666667 = 1.4000000000000001
525 fI[0] == strtod
526
527
528 Input: -1.4
529 strtod consumes 4 bytes and returns 25 with f = -1.3999999999999999 = #bff66666 66666666
530 g_dfmt(0) gives 4 bytes: "-1.4"
531
532 strtoId returns 25, consuming 4 bytes.
533 fI[0] = #bff66666 66666667 = -1.4000000000000001
534 fI[1] = #bff66666 66666666 = -1.3999999999999999
535 fI[1] == strtod
536
537
538 Input: 1.5
539 strtod consumes 3 bytes and returns 1 with f = 1.5 = #3ff80000 0
540 g_dfmt(0) gives 3 bytes: "1.5"
541
542 strtoId returns 1, consuming 3 bytes.
543 fI[0] == fI[1] == strtod
544
545
546 Input: -1.5
547 strtod consumes 4 bytes and returns 9 with f = -1.5 = #bff80000 0
548 g_dfmt(0) gives 4 bytes: "-1.5"
549
550 strtoId returns 9, consuming 4 bytes.
551 fI[0] == fI[1] == strtod
552
553
554 Input: 1.6
555 strtod consumes 3 bytes and returns 33 with f = 1.6000000000000001 = #3ff99999 9999999a
556 g_dfmt(0) gives 3 bytes: "1.6"
557
558 strtoId returns 33, consuming 3 bytes.
559 fI[0] = #3ff99999 99999999 = 1.5999999999999999
560 fI[1] = #3ff99999 9999999a = 1.6000000000000001
561 fI[1] == strtod
562
563
564 Input: -1.6
565 strtod consumes 4 bytes and returns 41 with f = -1.6000000000000001 = #bff99999 9999999a
566 g_dfmt(0) gives 4 bytes: "-1.6"
567
568 strtoId returns 41, consuming 4 bytes.
569 fI[0] = #bff99999 9999999a = -1.6000000000000001
570 fI[1] = #bff99999 99999999 = -1.5999999999999999
571 fI[0] == strtod
572
573
574 Input: 1.7
575 strtod consumes 3 bytes and returns 17 with f = 1.7 = #3ffb3333 33333333
576 g_dfmt(0) gives 3 bytes: "1.7"
577
578 strtoId returns 17, consuming 3 bytes.
579 fI[0] = #3ffb3333 33333333 = 1.7
580 fI[1] = #3ffb3333 33333334 = 1.7000000000000002
581 fI[0] == strtod
582
583
584 Input: -1.7
585 strtod consumes 4 bytes and returns 25 with f = -1.7 = #bffb3333 33333333
586 g_dfmt(0) gives 4 bytes: "-1.7"
587
588 strtoId returns 25, consuming 4 bytes.
589 fI[0] = #bffb3333 33333334 = -1.7000000000000002
590 fI[1] = #bffb3333 33333333 = -1.7
591 fI[1] == strtod
592
593
594 Input: 1.8
595 strtod consumes 3 bytes and returns 33 with f = 1.8 = #3ffccccc cccccccd
596 g_dfmt(0) gives 3 bytes: "1.8"
597
598 strtoId returns 33, consuming 3 bytes.
599 fI[0] = #3ffccccc cccccccc = 1.7999999999999998
600 fI[1] = #3ffccccc cccccccd = 1.8
601 fI[1] == strtod
602
603
604 Input: -1.8
605 strtod consumes 4 bytes and returns 41 with f = -1.8 = #bffccccc cccccccd
606 g_dfmt(0) gives 4 bytes: "-1.8"
607
608 strtoId returns 41, consuming 4 bytes.
609 fI[0] = #bffccccc cccccccd = -1.8
610 fI[1] = #bffccccc cccccccc = -1.7999999999999998
611 fI[0] == strtod
612
613
614 Input: 1.9
615 strtod consumes 3 bytes and returns 17 with f = 1.8999999999999999 = #3ffe6666 66666666
616 g_dfmt(0) gives 3 bytes: "1.9"
617
618 strtoId returns 17, consuming 3 bytes.
619 fI[0] = #3ffe6666 66666666 = 1.8999999999999999
620 fI[1] = #3ffe6666 66666667 = 1.9000000000000001
621 fI[0] == strtod
622
623
624 Input: -1.9
625 strtod consumes 4 bytes and returns 25 with f = -1.8999999999999999 = #bffe6666 66666666
626 g_dfmt(0) gives 4 bytes: "-1.9"
627
628 strtoId returns 25, consuming 4 bytes.
629 fI[0] = #bffe6666 66666667 = -1.9000000000000001
630 fI[1] = #bffe6666 66666666 = -1.8999999999999999
631 fI[1] == strtod
632
633 Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity)
634
635 Input: 1.1
636 strtod consumes 3 bytes and returns 33 with f = 1.1000000000000001 = #3ff19999 9999999a
637 g_dfmt(0) gives 3 bytes: "1.1"
638
639 strtoId returns 33, consuming 3 bytes.
640 fI[0] = #3ff19999 99999999 = 1.0999999999999999
641 fI[1] = #3ff19999 9999999a = 1.1000000000000001
642 fI[1] == strtod
643
644
645 Input: -1.1
646 strtod consumes 4 bytes and returns 25 with f = -1.0999999999999999 = #bff19999 99999999
647 g_dfmt(0) gives 19 bytes: "-1.0999999999999999"
648
649 strtoId returns 41, consuming 4 bytes.
650 fI[0] = #bff19999 9999999a = -1.1000000000000001
651 fI[1] = #bff19999 99999999 = -1.0999999999999999
652 fI[1] == strtod
653
654
655 Input: 1.2
656 strtod consumes 3 bytes and returns 33 with f = 1.2000000000000002 = #3ff33333 33333334
657 g_dfmt(0) gives 18 bytes: "1.2000000000000002"
658
659 strtoId returns 17, consuming 3 bytes.
660 fI[0] = #3ff33333 33333333 = 1.2
661 fI[1] = #3ff33333 33333334 = 1.2000000000000002
662 fI[1] == strtod
663
664
665 Input: -1.2
666 strtod consumes 4 bytes and returns 25 with f = -1.2 = #bff33333 33333333
667 g_dfmt(0) gives 4 bytes: "-1.2"
668
669 strtoId returns 25, consuming 4 bytes.
670 fI[0] = #bff33333 33333334 = -1.2000000000000002
671 fI[1] = #bff33333 33333333 = -1.2
672 fI[1] == strtod
673
674
675 Input: 1.3
676 strtod consumes 3 bytes and returns 33 with f = 1.3 = #3ff4cccc cccccccd
677 g_dfmt(0) gives 3 bytes: "1.3"
678
679 strtoId returns 33, consuming 3 bytes.
680 fI[0] = #3ff4cccc cccccccc = 1.2999999999999998
681 fI[1] = #3ff4cccc cccccccd = 1.3
682 fI[1] == strtod
683
684
685 Input: -1.3
686 strtod consumes 4 bytes and returns 25 with f = -1.2999999999999998 = #bff4cccc cccccccc
687 g_dfmt(0) gives 19 bytes: "-1.2999999999999998"
688
689 strtoId returns 41, consuming 4 bytes.
690 fI[0] = #bff4cccc cccccccd = -1.3
691 fI[1] = #bff4cccc cccccccc = -1.2999999999999998
692 fI[1] == strtod
693
694
695 Input: 1.4
696 strtod consumes 3 bytes and returns 33 with f = 1.4000000000000001 = #3ff66666 66666667
697 g_dfmt(0) gives 18 bytes: "1.4000000000000001"
698
699 strtoId returns 17, consuming 3 bytes.
700 fI[0] = #3ff66666 66666666 = 1.3999999999999999
701 fI[1] = #3ff66666 66666667 = 1.4000000000000001
702 fI[1] == strtod
703
704
705 Input: -1.4
706 strtod consumes 4 bytes and returns 25 with f = -1.3999999999999999 = #bff66666 66666666
707 g_dfmt(0) gives 4 bytes: "-1.4"
708
709 strtoId returns 25, consuming 4 bytes.
710 fI[0] = #bff66666 66666667 = -1.4000000000000001
711 fI[1] = #bff66666 66666666 = -1.3999999999999999
712 fI[1] == strtod
713
714
715 Input: 1.5
716 strtod consumes 3 bytes and returns 1 with f = 1.5 = #3ff80000 0
717 g_dfmt(0) gives 3 bytes: "1.5"
718
719 strtoId returns 1, consuming 3 bytes.
720 fI[0] == fI[1] == strtod
721
722
723 Input: -1.5
724 strtod consumes 4 bytes and returns 9 with f = -1.5 = #bff80000 0
725 g_dfmt(0) gives 4 bytes: "-1.5"
726
727 strtoId returns 9, consuming 4 bytes.
728 fI[0] == fI[1] == strtod
729
730
731 Input: 1.6
732 strtod consumes 3 bytes and returns 33 with f = 1.6000000000000001 = #3ff99999 9999999a
733 g_dfmt(0) gives 3 bytes: "1.6"
734
735 strtoId returns 33, consuming 3 bytes.
736 fI[0] = #3ff99999 99999999 = 1.5999999999999999
737 fI[1] = #3ff99999 9999999a = 1.6000000000000001
738 fI[1] == strtod
739
740
741 Input: -1.6
742 strtod consumes 4 bytes and returns 25 with f = -1.5999999999999999 = #bff99999 99999999
743 g_dfmt(0) gives 19 bytes: "-1.5999999999999999"
744
745 strtoId returns 41, consuming 4 bytes.
746 fI[0] = #bff99999 9999999a = -1.6000000000000001
747 fI[1] = #bff99999 99999999 = -1.5999999999999999
748 fI[1] == strtod
749
750
751 Input: 1.7
752 strtod consumes 3 bytes and returns 33 with f = 1.7000000000000002 = #3ffb3333 33333334
753 g_dfmt(0) gives 18 bytes: "1.7000000000000002"
754
755 strtoId returns 17, consuming 3 bytes.
756 fI[0] = #3ffb3333 33333333 = 1.7
757 fI[1] = #3ffb3333 33333334 = 1.7000000000000002
758 fI[1] == strtod
759
760
761 Input: -1.7
762 strtod consumes 4 bytes and returns 25 with f = -1.7 = #bffb3333 33333333
763 g_dfmt(0) gives 4 bytes: "-1.7"
764
765 strtoId returns 25, consuming 4 bytes.
766 fI[0] = #bffb3333 33333334 = -1.7000000000000002
767 fI[1] = #bffb3333 33333333 = -1.7
768 fI[1] == strtod
769
770
771 Input: 1.8
772 strtod consumes 3 bytes and returns 33 with f = 1.8 = #3ffccccc cccccccd
773 g_dfmt(0) gives 3 bytes: "1.8"
774
775 strtoId returns 33, consuming 3 bytes.
776 fI[0] = #3ffccccc cccccccc = 1.7999999999999998
777 fI[1] = #3ffccccc cccccccd = 1.8
778 fI[1] == strtod
779
780
781 Input: -1.8
782 strtod consumes 4 bytes and returns 25 with f = -1.7999999999999998 = #bffccccc cccccccc
783 g_dfmt(0) gives 19 bytes: "-1.7999999999999998"
784
785 strtoId returns 41, consuming 4 bytes.
786 fI[0] = #bffccccc cccccccd = -1.8
787 fI[1] = #bffccccc cccccccc = -1.7999999999999998
788 fI[1] == strtod
789
790
791 Input: 1.9
792 strtod consumes 3 bytes and returns 33 with f = 1.9000000000000001 = #3ffe6666 66666667
793 g_dfmt(0) gives 18 bytes: "1.9000000000000001"
794
795 strtoId returns 17, consuming 3 bytes.
796 fI[0] = #3ffe6666 66666666 = 1.8999999999999999
797 fI[1] = #3ffe6666 66666667 = 1.9000000000000001
798 fI[1] == strtod
799
800
801 Input: -1.9
802 strtod consumes 4 bytes and returns 25 with f = -1.8999999999999999 = #bffe6666 66666666
803 g_dfmt(0) gives 4 bytes: "-1.9"
804
805 strtoId returns 25, consuming 4 bytes.
806 fI[0] = #bffe6666 66666667 = -1.9000000000000001
807 fI[1] = #bffe6666 66666666 = -1.8999999999999999
808 fI[1] == strtod
809
810 Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity)
811
812 Input: 1.1
813 strtod consumes 3 bytes and returns 17 with f = 1.0999999999999999 = #3ff19999 99999999
814 g_dfmt(0) gives 18 bytes: "1.0999999999999999"
815
816 strtoId returns 33, consuming 3 bytes.
817 fI[0] = #3ff19999 99999999 = 1.0999999999999999
818 fI[1] = #3ff19999 9999999a = 1.1000000000000001
819 fI[0] == strtod
820
821
822 Input: -1.1
823 strtod consumes 4 bytes and returns 41 with f = -1.1000000000000001 = #bff19999 9999999a
824 g_dfmt(0) gives 4 bytes: "-1.1"
825
826 strtoId returns 41, consuming 4 bytes.
827 fI[0] = #bff19999 9999999a = -1.1000000000000001
828 fI[1] = #bff19999 99999999 = -1.0999999999999999
829 fI[0] == strtod
830
831
832 Input: 1.2
833 strtod consumes 3 bytes and returns 17 with f = 1.2 = #3ff33333 33333333
834 g_dfmt(0) gives 3 bytes: "1.2"
835
836 strtoId returns 17, consuming 3 bytes.
837 fI[0] = #3ff33333 33333333 = 1.2
838 fI[1] = #3ff33333 33333334 = 1.2000000000000002
839 fI[0] == strtod
840
841
842 Input: -1.2
843 strtod consumes 4 bytes and returns 41 with f = -1.2000000000000002 = #bff33333 33333334
844 g_dfmt(0) gives 19 bytes: "-1.2000000000000002"
845
846 strtoId returns 25, consuming 4 bytes.
847 fI[0] = #bff33333 33333334 = -1.2000000000000002
848 fI[1] = #bff33333 33333333 = -1.2
849 fI[0] == strtod
850
851
852 Input: 1.3
853 strtod consumes 3 bytes and returns 17 with f = 1.2999999999999998 = #3ff4cccc cccccccc
854 g_dfmt(0) gives 18 bytes: "1.2999999999999998"
855
856 strtoId returns 33, consuming 3 bytes.
857 fI[0] = #3ff4cccc cccccccc = 1.2999999999999998
858 fI[1] = #3ff4cccc cccccccd = 1.3
859 fI[0] == strtod
860
861
862 Input: -1.3
863 strtod consumes 4 bytes and returns 41 with f = -1.3 = #bff4cccc cccccccd
864 g_dfmt(0) gives 4 bytes: "-1.3"
865
866 strtoId returns 41, consuming 4 bytes.
867 fI[0] = #bff4cccc cccccccd = -1.3
868 fI[1] = #bff4cccc cccccccc = -1.2999999999999998
869 fI[0] == strtod
870
871
872 Input: 1.4
873 strtod consumes 3 bytes and returns 17 with f = 1.3999999999999999 = #3ff66666 66666666
874 g_dfmt(0) gives 3 bytes: "1.4"
875
876 strtoId returns 17, consuming 3 bytes.
877 fI[0] = #3ff66666 66666666 = 1.3999999999999999
878 fI[1] = #3ff66666 66666667 = 1.4000000000000001
879 fI[0] == strtod
880
881
882 Input: -1.4
883 strtod consumes 4 bytes and returns 41 with f = -1.4000000000000001 = #bff66666 66666667
884 g_dfmt(0) gives 19 bytes: "-1.4000000000000001"
885
886 strtoId returns 25, consuming 4 bytes.
887 fI[0] = #bff66666 66666667 = -1.4000000000000001
888 fI[1] = #bff66666 66666666 = -1.3999999999999999
889 fI[0] == strtod
890
891
892 Input: 1.5
893 strtod consumes 3 bytes and returns 1 with f = 1.5 = #3ff80000 0
894 g_dfmt(0) gives 3 bytes: "1.5"
895
896 strtoId returns 1, consuming 3 bytes.
897 fI[0] == fI[1] == strtod
898
899
900 Input: -1.5
901 strtod consumes 4 bytes and returns 9 with f = -1.5 = #bff80000 0
902 g_dfmt(0) gives 4 bytes: "-1.5"
903
904 strtoId returns 9, consuming 4 bytes.
905 fI[0] == fI[1] == strtod
906
907
908 Input: 1.6
909 strtod consumes 3 bytes and returns 17 with f = 1.5999999999999999 = #3ff99999 99999999
910 g_dfmt(0) gives 18 bytes: "1.5999999999999999"
911
912 strtoId returns 33, consuming 3 bytes.
913 fI[0] = #3ff99999 99999999 = 1.5999999999999999
914 fI[1] = #3ff99999 9999999a = 1.6000000000000001
915 fI[0] == strtod
916
917
918 Input: -1.6
919 strtod consumes 4 bytes and returns 41 with f = -1.6000000000000001 = #bff99999 9999999a
920 g_dfmt(0) gives 4 bytes: "-1.6"
921
922 strtoId returns 41, consuming 4 bytes.
923 fI[0] = #bff99999 9999999a = -1.6000000000000001
924 fI[1] = #bff99999 99999999 = -1.5999999999999999
925 fI[0] == strtod
926
927
928 Input: 1.7
929 strtod consumes 3 bytes and returns 17 with f = 1.7 = #3ffb3333 33333333
930 g_dfmt(0) gives 3 bytes: "1.7"
931
932 strtoId returns 17, consuming 3 bytes.
933 fI[0] = #3ffb3333 33333333 = 1.7
934 fI[1] = #3ffb3333 33333334 = 1.7000000000000002
935 fI[0] == strtod
936
937
938 Input: -1.7
939 strtod consumes 4 bytes and returns 41 with f = -1.7000000000000002 = #bffb3333 33333334
940 g_dfmt(0) gives 19 bytes: "-1.7000000000000002"
941
942 strtoId returns 25, consuming 4 bytes.
943 fI[0] = #bffb3333 33333334 = -1.7000000000000002
944 fI[1] = #bffb3333 33333333 = -1.7
945 fI[0] == strtod
946
947
948 Input: 1.8
949 strtod consumes 3 bytes and returns 17 with f = 1.7999999999999998 = #3ffccccc cccccccc
950 g_dfmt(0) gives 18 bytes: "1.7999999999999998"
951
952 strtoId returns 33, consuming 3 bytes.
953 fI[0] = #3ffccccc cccccccc = 1.7999999999999998
954 fI[1] = #3ffccccc cccccccd = 1.8
955 fI[0] == strtod
956
957
958 Input: -1.8
959 strtod consumes 4 bytes and returns 41 with f = -1.8 = #bffccccc cccccccd
960 g_dfmt(0) gives 4 bytes: "-1.8"
961
962 strtoId returns 41, consuming 4 bytes.
963 fI[0] = #bffccccc cccccccd = -1.8
964 fI[1] = #bffccccc cccccccc = -1.7999999999999998
965 fI[0] == strtod
966
967
968 Input: 1.9
969 strtod consumes 3 bytes and returns 17 with f = 1.8999999999999999 = #3ffe6666 66666666
970 g_dfmt(0) gives 3 bytes: "1.9"
971
972 strtoId returns 17, consuming 3 bytes.
973 fI[0] = #3ffe6666 66666666 = 1.8999999999999999
974 fI[1] = #3ffe6666 66666667 = 1.9000000000000001
975 fI[0] == strtod
976
977
978 Input: -1.9
979 strtod consumes 4 bytes and returns 41 with f = -1.9000000000000001 = #bffe6666 66666667
980 g_dfmt(0) gives 19 bytes: "-1.9000000000000001"
981
982 strtoId returns 25, consuming 4 bytes.
983 fI[0] = #bffe6666 66666667 = -1.9000000000000001
984 fI[1] = #bffe6666 66666666 = -1.8999999999999999
985 fI[0] == strtod
986