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