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