1 2Input: 1.23 3 4strtoxL consumes 4 bytes and returns 33 5with bits = #3fff0000 9d70a3d7 a3d70a4 6printf("%.21Lg") gives 7.73283722915781506499e-4933 7g_xLfmt(0) gives 4 bytes: "1.23" 8 9strtoIxL returns 33, consuming 4 bytes. 10fI[0] = #3fff0000 9d70a3d7 a3d70a3 11= 7.73283722915781506134e-4933 12fI[1] = #3fff0000 9d70a3d7 a3d70a4 13= 7.73283722915781506499e-4933 14fI[1] == strtoxL 15 16 17Input: 1.23e+20 18 19strtoxL consumes 8 bytes and returns 1 20with bits = #40410000 d55ef90a 2da18000 21printf("%.21Lg") gives 2.24239113715721119512e-4932 22g_xLfmt(0) gives 8 bytes: "1.23e+20" 23 24strtoIxL returns 1, consuming 8 bytes. 25fI[0] == fI[1] == strtoxL 26 27 28Input: 1.23e-20 29 30strtoxL consumes 8 bytes and returns 17 31with bits = #3fbc0000 e857267b b3a984f2 32printf("%.21Lg") gives 2.74065070995958800375e-4932 33g_xLfmt(0) gives 8 bytes: "1.23e-20" 34 35strtoIxL returns 17, consuming 8 bytes. 36fI[0] = #3fbc0000 e857267b b3a984f2 37= 2.74065070995958800375e-4932 38fI[1] = #3fbc0000 e857267b b3a984f3 39= 2.74065070995958800411e-4932 40fI[0] == strtoxL 41 42 43Input: 1.23456789 44 45strtoxL consumes 10 bytes and returns 33 46with bits = #3fff0000 9e065214 1ef0dbf6 47printf("%.21Lg") gives 7.88641440242171807354e-4933 48g_xLfmt(0) gives 10 bytes: "1.23456789" 49 50strtoIxL returns 33, consuming 10 bytes. 51fI[0] = #3fff0000 9e065214 1ef0dbf5 52= 7.8864144024217180699e-4933 53fI[1] = #3fff0000 9e065214 1ef0dbf6 54= 7.88641440242171807354e-4933 55fI[1] == strtoxL 56 57 58Input: 1.23456589e+20 59 60strtoxL consumes 14 bytes and returns 1 61with bits = #40410000 d629bd33 5ccba00 62printf("%.21Lg") gives 2.26319561227049478508e-4932 63g_xLfmt(0) gives 14 bytes: "1.23456589e+20" 64 65strtoIxL returns 1, consuming 14 bytes. 66fI[0] == fI[1] == strtoxL 67 68 69Input: 1.23e+30 70 71strtoxL consumes 8 bytes and returns 17 72with bits = #40620000 f8658274 7dbc824a 73printf("%.21Lg") gives 3.16238691003557160385e-4932 74g_xLfmt(0) gives 8 bytes: "1.23e+30" 75 76strtoIxL returns 17, consuming 8 bytes. 77fI[0] = #40620000 f8658274 7dbc824a 78= 3.16238691003557160385e-4932 79fI[1] = #40620000 f8658274 7dbc824b 80= 3.16238691003557160421e-4932 81fI[0] == strtoxL 82 83 84Input: 1.23e-30 85 86strtoxL consumes 8 bytes and returns 17 87with bits = #3f9b0000 c794337a 808554eb 88printf("%.21Lg") gives 1.88012249978407873966e-4932 89g_xLfmt(0) gives 8 bytes: "1.23e-30" 90 91strtoIxL returns 17, consuming 8 bytes. 92fI[0] = #3f9b0000 c794337a 808554eb 93= 1.88012249978407873966e-4932 94fI[1] = #3f9b0000 c794337a 808554ec 95= 1.88012249978407874003e-4932 96fI[0] == strtoxL 97 98 99Input: 1.23456789e-20 100 101strtoxL consumes 14 bytes and returns 17 102with bits = #3fbc0000 e9340a38 f3d6d352 103printf("%.21Lg") gives 2.76331470044569174626e-4932 104g_xLfmt(0) gives 14 bytes: "1.23456789e-20" 105 106strtoIxL returns 17, consuming 14 bytes. 107fI[0] = #3fbc0000 e9340a38 f3d6d352 108= 2.76331470044569174626e-4932 109fI[1] = #3fbc0000 e9340a38 f3d6d353 110= 2.76331470044569174663e-4932 111fI[0] == strtoxL 112 113 114Input: 1.23456789e-30 115 116strtoxL consumes 14 bytes and returns 17 117with bits = #3f9b0000 c851f19d decca8fc 118printf("%.21Lg") gives 1.89959071937101288293e-4932 119g_xLfmt(0) gives 14 bytes: "1.23456789e-30" 120 121strtoIxL returns 17, consuming 14 bytes. 122fI[0] = #3f9b0000 c851f19d decca8fc 123= 1.89959071937101288293e-4932 124fI[1] = #3f9b0000 c851f19d decca8fd 125= 1.89959071937101288329e-4932 126fI[0] == strtoxL 127 128 129Input: 1.234567890123456789 130 131strtoxL consumes 20 bytes and returns 17 132with bits = #3fff0000 9e065214 62cfdb8d 133printf("%.21Lg") gives 7.88641440657246265535e-4933 134g_xLfmt(0) gives 20 bytes: "1.234567890123456789" 135 136strtoIxL returns 17, consuming 20 bytes. 137fI[0] = #3fff0000 9e065214 62cfdb8d 138= 7.88641440657246265535e-4933 139fI[1] = #3fff0000 9e065214 62cfdb8e 140= 7.886414406572462659e-4933 141fI[0] == strtoxL 142 143 144Input: 1.23456789012345678901234567890123456789 145 146strtoxL consumes 40 bytes and returns 17 147with bits = #3fff0000 9e065214 62cfdb8d 148printf("%.21Lg") gives 7.88641440657246265535e-4933 149g_xLfmt(0) gives 20 bytes: "1.234567890123456789" 150 151strtoIxL returns 17, consuming 40 bytes. 152fI[0] = #3fff0000 9e065214 62cfdb8d 153= 7.88641440657246265535e-4933 154fI[1] = #3fff0000 9e065214 62cfdb8e 155= 7.886414406572462659e-4933 156fI[0] == strtoxL 157 158 159Input: 1.23e306 160 161strtoxL consumes 8 bytes and returns 17 162with bits = #43f70000 e033b668 e30fa6d5 163printf("%.21Lg") gives 2.52688323155200052759e-4932 164g_xLfmt(0) gives 9 bytes: "1.23e+306" 165 166strtoIxL returns 17, consuming 8 bytes. 167fI[0] = #43f70000 e033b668 e30fa6d5 168= 2.52688323155200052759e-4932 169fI[1] = #43f70000 e033b668 e30fa6d6 170= 2.52688323155200052796e-4932 171fI[0] == strtoxL 172 173 174Input: 1.23e-306 175 176strtoxL consumes 9 bytes and returns 33 177with bits = #3c060000 dd1dc2ed 1cb73f25 178printf("%.21Lg") gives 2.44583168427704605801e-4932 179g_xLfmt(0) gives 9 bytes: "1.23e-306" 180 181strtoIxL returns 33, consuming 9 bytes. 182fI[0] = #3c060000 dd1dc2ed 1cb73f24 183= 2.44583168427704605765e-4932 184fI[1] = #3c060000 dd1dc2ed 1cb73f25 185= 2.44583168427704605801e-4932 186fI[1] == strtoxL 187 188 189Input: 1.23e-320 190 191strtoxL consumes 9 bytes and returns 33 192with bits = #3bd80000 9b98c371 844c3f1a 193printf("%.21Lg") gives 7.24867657578821329238e-4933 194g_xLfmt(0) gives 9 bytes: "1.23e-320" 195 196strtoIxL returns 33, consuming 9 bytes. 197fI[0] = #3bd80000 9b98c371 844c3f19 198= 7.24867657578821328874e-4933 199fI[1] = #3bd80000 9b98c371 844c3f1a 200= 7.24867657578821329238e-4933 201fI[1] == strtoxL 202 203 204Input: 1.23e-20 205 206strtoxL consumes 8 bytes and returns 17 207with bits = #3fbc0000 e857267b b3a984f2 208printf("%.21Lg") gives 2.74065070995958800375e-4932 209g_xLfmt(0) gives 8 bytes: "1.23e-20" 210 211strtoIxL returns 17, consuming 8 bytes. 212fI[0] = #3fbc0000 e857267b b3a984f2 213= 2.74065070995958800375e-4932 214fI[1] = #3fbc0000 e857267b b3a984f3 215= 2.74065070995958800411e-4932 216fI[0] == strtoxL 217 218 219Input: 1.23456789e307 220 221strtoxL consumes 14 bytes and returns 17 222with bits = #43fb0000 8ca58a5e d766de75 223printf("%.21Lg") gives 3.32182163192682931854e-4933 224g_xLfmt(0) gives 15 bytes: "1.23456789e+307" 225 226strtoIxL returns 17, consuming 14 bytes. 227fI[0] = #43fb0000 8ca58a5e d766de75 228= 3.32182163192682931854e-4933 229fI[1] = #43fb0000 8ca58a5e d766de76 230= 3.32182163192682932219e-4933 231fI[0] == strtoxL 232 233 234Input: 1.23456589e-307 235 236strtoxL consumes 15 bytes and returns 17 237with bits = #3c030000 b18cb5dc c22fd369 238printf("%.21Lg") gives 1.30149245314004923345e-4932 239g_xLfmt(0) gives 15 bytes: "1.23456589e-307" 240 241strtoIxL returns 17, consuming 15 bytes. 242fI[0] = #3c030000 b18cb5dc c22fd369 243= 1.30149245314004923345e-4932 244fI[1] = #3c030000 b18cb5dc c22fd36a 245= 1.30149245314004923382e-4932 246fI[0] == strtoxL 247 248 249Input: 1.234567890123456789 250 251strtoxL consumes 20 bytes and returns 17 252with bits = #3fff0000 9e065214 62cfdb8d 253printf("%.21Lg") gives 7.88641440657246265535e-4933 254g_xLfmt(0) gives 20 bytes: "1.234567890123456789" 255 256strtoIxL returns 17, consuming 20 bytes. 257fI[0] = #3fff0000 9e065214 62cfdb8d 258= 7.88641440657246265535e-4933 259fI[1] = #3fff0000 9e065214 62cfdb8e 260= 7.886414406572462659e-4933 261fI[0] == strtoxL 262 263 264Input: 1.234567890123456789e301 265 266strtoxL consumes 24 bytes and returns 33 267with bits = #43e70000 937a8baf ab20980c 268printf("%.21Lg") gives 5.11635766619117643114e-4933 269g_xLfmt(0) gives 25 bytes: "1.234567890123456789e+301" 270 271strtoIxL returns 33, consuming 24 bytes. 272fI[0] = #43e70000 937a8baf ab20980b 273= 5.1163576661911764275e-4933 274fI[1] = #43e70000 937a8baf ab20980c 275= 5.11635766619117643114e-4933 276fI[1] == strtoxL 277 278 279Input: 1.234567890123456789e-301 280 281strtoxL consumes 25 bytes and returns 33 282with bits = #3c170000 a953271a 5d069ad9 283printf("%.21Lg") gives 1.08545540462853463561e-4932 284g_xLfmt(0) gives 25 bytes: "1.234567890123456789e-301" 285 286strtoIxL returns 33, consuming 25 bytes. 287fI[0] = #3c170000 a953271a 5d069ad8 288= 1.08545540462853463524e-4932 289fI[1] = #3c170000 a953271a 5d069ad9 290= 1.08545540462853463561e-4932 291fI[1] == strtoxL 292 293 294Input: 1.234567890123456789e-321 295 296strtoxL consumes 25 bytes and returns 33 297with bits = #3bd40000 f9e11b4c ea6dcce9 298printf("%.21Lg") gives 3.20133479952876185942e-4932 299g_xLfmt(0) gives 25 bytes: "1.234567890123456789e-321" 300 301strtoIxL returns 33, consuming 25 bytes. 302fI[0] = #3bd40000 f9e11b4c ea6dcce8 303= 3.20133479952876185905e-4932 304fI[1] = #3bd40000 f9e11b4c ea6dcce9 305= 3.20133479952876185942e-4932 306fI[1] == strtoxL 307 308 309Input: 1e23 310 311strtoxL consumes 4 bytes and returns 1 312with bits = #404b0000 a968163f a57b400 313printf("%.21Lg") gives 1.08760331670538037378e-4932 314g_xLfmt(0) gives 5 bytes: "1e+23" 315 316strtoIxL returns 1, consuming 4 bytes. 317fI[0] == fI[1] == strtoxL 318 319 320Input: 1e310 321 322strtoxL consumes 5 bytes and returns 33 323with bits = #44040000 de81e40a 34bcf50 324printf("%.21Lg") gives 2.48237171106260601618e-4932 325g_xLfmt(0) gives 6 bytes: "1e+310" 326 327strtoIxL returns 33, consuming 5 bytes. 328fI[0] = #44040000 de81e40a 34bcf4f 329= 2.48237171106260601582e-4932 330fI[1] = #44040000 de81e40a 34bcf50 331= 2.48237171106260601618e-4932 332fI[1] == strtoxL 333 334 335Input: 9.0259718793241475e-277 336 337strtoxL consumes 23 bytes and returns 33 338with bits = #3c690000 ffffffff fffffcf7 339printf("%.21Lg") gives 3.36210314311209322303e-4932 340g_xLfmt(0) gives 23 bytes: "9.0259718793241475e-277" 341 342strtoIxL returns 33, consuming 23 bytes. 343fI[0] = #3c690000 ffffffff fffffcf6 344= 3.36210314311209322267e-4932 345fI[1] = #3c690000 ffffffff fffffcf7 346= 3.36210314311209322303e-4932 347fI[1] == strtoxL 348 349 350Input: 9.025971879324147880346310405869e-277 351 352strtoxL consumes 37 bytes and returns 17 353with bits = #3c6a0000 80000000 0 354printf("%.21Lg") gives 3.36210314311209350626e-4932 355g_xLfmt(0) gives 26 bytes: "9.0259718793241478803e-277" 356 357strtoIxL returns 17, consuming 37 bytes. 358fI[0] = #3c6a0000 80000000 0 359= 3.36210314311209350626e-4932 360fI[1] = #3c6a0000 80000000 1 361= 3.64519953188247460253e-4951 362fI[0] == strtoxL 363 364 365Input: 9.025971879324147880346310405868e-277 366 367strtoxL consumes 37 bytes and returns 33 368with bits = #3c6a0000 80000000 0 369printf("%.21Lg") gives 3.36210314311209350626e-4932 370g_xLfmt(0) gives 26 bytes: "9.0259718793241478803e-277" 371 372strtoIxL returns 33, consuming 37 bytes. 373fI[0] = #3c690000 ffffffff ffffffff 374= 3.3621031431120935059e-4932 375fI[1] = #3c6a0000 80000000 0 376= 3.36210314311209350626e-4932 377fI[1] == strtoxL 378 379 380Input: 2.2250738585072014e-308 381 382strtoxL consumes 23 bytes and returns 17 383with bits = #3c010000 80000000 46 384printf("%.21Lg") gives 2.55163967231773222177e-4949 385g_xLfmt(0) gives 23 bytes: "2.2250738585072014e-308" 386 387strtoIxL returns 17, consuming 23 bytes. 388fI[0] = #3c010000 80000000 46 389= 2.55163967231773222177e-4949 390fI[1] = #3c010000 80000000 47 391= 2.5880916676365569678e-4949 392fI[0] == strtoxL 393 394 395Input: 2.2250738585072013e-308 396 397strtoxL consumes 23 bytes and returns 17 398with bits = #3c000000 ffffffff fffffd4f 399printf("%.21Lg") gives 3.36210314311209325511e-4932 400g_xLfmt(0) gives 23 bytes: "2.2250738585072013e-308" 401 402strtoIxL returns 17, consuming 23 bytes. 403fI[0] = #3c000000 ffffffff fffffd4f 404= 3.36210314311209325511e-4932 405fI[1] = #3c000000 ffffffff fffffd50 406= 3.36210314311209325547e-4932 407fI[0] == strtoxL 408 409Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero) 410 411Input: 1.1 412 413strtoxL consumes 3 bytes and returns 17 414with bits = #3fff0000 8ccccccc cccccccc 415printf("%.21Lg") gives 3.36210314311209350335e-4933 416g_xLfmt(0) gives 21 bytes: "1.0999999999999999999" 417 418strtoIxL returns 33, consuming 3 bytes. 419fI[0] = #3fff0000 8ccccccc cccccccc 420= 3.36210314311209350335e-4933 421fI[1] = #3fff0000 8ccccccc cccccccd 422= 3.36210314311209350699e-4933 423fI[0] == strtoxL 424 425 426Input: -1.1 427 428strtoxL consumes 4 bytes and returns 25 429with bits = #bfff0000 8ccccccc cccccccc 430printf("%.21Lg") gives 3.36210314311209350335e-4933 431g_xLfmt(0) gives 22 bytes: "-1.0999999999999999999" 432 433strtoIxL returns 41, consuming 4 bytes. 434fI[0] = #bfff0000 8ccccccc cccccccd 435= 3.36210314311209350699e-4933 436fI[1] = #bfff0000 8ccccccc cccccccc 437= 3.36210314311209350335e-4933 438fI[1] == strtoxL 439 440 441Input: 1.2 442 443strtoxL consumes 3 bytes and returns 17 444with bits = #3fff0000 99999999 99999999 445printf("%.21Lg") gives 6.72420628622418701034e-4933 446g_xLfmt(0) gives 21 bytes: "1.1999999999999999999" 447 448strtoIxL returns 33, consuming 3 bytes. 449fI[0] = #3fff0000 99999999 99999999 450= 6.72420628622418701034e-4933 451fI[1] = #3fff0000 99999999 9999999a 452= 6.72420628622418701398e-4933 453fI[0] == strtoxL 454 455 456Input: -1.2 457 458strtoxL consumes 4 bytes and returns 25 459with bits = #bfff0000 99999999 99999999 460printf("%.21Lg") gives 6.72420628622418701034e-4933 461g_xLfmt(0) gives 22 bytes: "-1.1999999999999999999" 462 463strtoIxL returns 41, consuming 4 bytes. 464fI[0] = #bfff0000 99999999 9999999a 465= 6.72420628622418701398e-4933 466fI[1] = #bfff0000 99999999 99999999 467= 6.72420628622418701034e-4933 468fI[1] == strtoxL 469 470 471Input: 1.3 472 473strtoxL consumes 3 bytes and returns 17 474with bits = #3fff0000 a6666666 66666666 475printf("%.21Lg") gives 1.00863094293362805173e-4932 476g_xLfmt(0) gives 3 bytes: "1.3" 477 478strtoIxL returns 17, consuming 3 bytes. 479fI[0] = #3fff0000 a6666666 66666666 480= 1.00863094293362805173e-4932 481fI[1] = #3fff0000 a6666666 66666667 482= 1.0086309429336280521e-4932 483fI[0] == strtoxL 484 485 486Input: -1.3 487 488strtoxL consumes 4 bytes and returns 25 489with bits = #bfff0000 a6666666 66666666 490printf("%.21Lg") gives 1.00863094293362805173e-4932 491g_xLfmt(0) gives 4 bytes: "-1.3" 492 493strtoIxL returns 25, consuming 4 bytes. 494fI[0] = #bfff0000 a6666666 66666667 495= 1.0086309429336280521e-4932 496fI[1] = #bfff0000 a6666666 66666666 497= 1.00863094293362805173e-4932 498fI[1] == strtoxL 499 500 501Input: 1.4 502 503strtoxL consumes 3 bytes and returns 17 504with bits = #3fff0000 b3333333 33333333 505printf("%.21Lg") gives 1.34484125724483740243e-4932 506g_xLfmt(0) gives 3 bytes: "1.4" 507 508strtoIxL returns 17, consuming 3 bytes. 509fI[0] = #3fff0000 b3333333 33333333 510= 1.34484125724483740243e-4932 511fI[1] = #3fff0000 b3333333 33333334 512= 1.3448412572448374028e-4932 513fI[0] == strtoxL 514 515 516Input: -1.4 517 518strtoxL consumes 4 bytes and returns 25 519with bits = #bfff0000 b3333333 33333333 520printf("%.21Lg") gives 1.34484125724483740243e-4932 521g_xLfmt(0) gives 4 bytes: "-1.4" 522 523strtoIxL returns 25, consuming 4 bytes. 524fI[0] = #bfff0000 b3333333 33333334 525= 1.3448412572448374028e-4932 526fI[1] = #bfff0000 b3333333 33333333 527= 1.34484125724483740243e-4932 528fI[1] == strtoxL 529 530 531Input: 1.5 532 533strtoxL consumes 3 bytes and returns 1 534with bits = #3fff0000 c0000000 0 535printf("%.21Lg") gives 1.68105157155604675313e-4932 536g_xLfmt(0) gives 3 bytes: "1.5" 537 538strtoIxL returns 1, consuming 3 bytes. 539fI[0] == fI[1] == strtoxL 540 541 542Input: -1.5 543 544strtoxL consumes 4 bytes and returns 9 545with bits = #bfff0000 c0000000 0 546printf("%.21Lg") gives 1.68105157155604675313e-4932 547g_xLfmt(0) gives 4 bytes: "-1.5" 548 549strtoIxL returns 9, consuming 4 bytes. 550fI[0] == fI[1] == strtoxL 551 552 553Input: 1.6 554 555strtoxL consumes 3 bytes and returns 17 556with bits = #3fff0000 cccccccc cccccccc 557printf("%.21Lg") gives 2.01726188586725610347e-4932 558g_xLfmt(0) gives 21 bytes: "1.5999999999999999999" 559 560strtoIxL returns 33, consuming 3 bytes. 561fI[0] = #3fff0000 cccccccc cccccccc 562= 2.01726188586725610347e-4932 563fI[1] = #3fff0000 cccccccc cccccccd 564= 2.01726188586725610383e-4932 565fI[0] == strtoxL 566 567 568Input: -1.6 569 570strtoxL consumes 4 bytes and returns 25 571with bits = #bfff0000 cccccccc cccccccc 572printf("%.21Lg") gives 2.01726188586725610347e-4932 573g_xLfmt(0) gives 22 bytes: "-1.5999999999999999999" 574 575strtoIxL returns 41, consuming 4 bytes. 576fI[0] = #bfff0000 cccccccc cccccccd 577= 2.01726188586725610383e-4932 578fI[1] = #bfff0000 cccccccc cccccccc 579= 2.01726188586725610347e-4932 580fI[1] == strtoxL 581 582 583Input: 1.7 584 585strtoxL consumes 3 bytes and returns 17 586with bits = #3fff0000 d9999999 99999999 587printf("%.21Lg") gives 2.35347220017846545417e-4932 588g_xLfmt(0) gives 21 bytes: "1.6999999999999999999" 589 590strtoIxL returns 33, consuming 3 bytes. 591fI[0] = #3fff0000 d9999999 99999999 592= 2.35347220017846545417e-4932 593fI[1] = #3fff0000 d9999999 9999999a 594= 2.35347220017846545453e-4932 595fI[0] == strtoxL 596 597 598Input: -1.7 599 600strtoxL consumes 4 bytes and returns 25 601with bits = #bfff0000 d9999999 99999999 602printf("%.21Lg") gives 2.35347220017846545417e-4932 603g_xLfmt(0) gives 22 bytes: "-1.6999999999999999999" 604 605strtoIxL returns 41, consuming 4 bytes. 606fI[0] = #bfff0000 d9999999 9999999a 607= 2.35347220017846545453e-4932 608fI[1] = #bfff0000 d9999999 99999999 609= 2.35347220017846545417e-4932 610fI[1] == strtoxL 611 612 613Input: 1.8 614 615strtoxL consumes 3 bytes and returns 17 616with bits = #3fff0000 e6666666 66666666 617printf("%.21Lg") gives 2.68968251448967480486e-4932 618g_xLfmt(0) gives 3 bytes: "1.8" 619 620strtoIxL returns 17, consuming 3 bytes. 621fI[0] = #3fff0000 e6666666 66666666 622= 2.68968251448967480486e-4932 623fI[1] = #3fff0000 e6666666 66666667 624= 2.68968251448967480523e-4932 625fI[0] == strtoxL 626 627 628Input: -1.8 629 630strtoxL consumes 4 bytes and returns 25 631with bits = #bfff0000 e6666666 66666666 632printf("%.21Lg") gives 2.68968251448967480486e-4932 633g_xLfmt(0) gives 4 bytes: "-1.8" 634 635strtoIxL returns 25, consuming 4 bytes. 636fI[0] = #bfff0000 e6666666 66666667 637= 2.68968251448967480523e-4932 638fI[1] = #bfff0000 e6666666 66666666 639= 2.68968251448967480486e-4932 640fI[1] == strtoxL 641 642 643Input: 1.9 644 645strtoxL consumes 3 bytes and returns 17 646with bits = #3fff0000 f3333333 33333333 647printf("%.21Lg") gives 3.02589282880088415556e-4932 648g_xLfmt(0) gives 3 bytes: "1.9" 649 650strtoIxL returns 17, consuming 3 bytes. 651fI[0] = #3fff0000 f3333333 33333333 652= 3.02589282880088415556e-4932 653fI[1] = #3fff0000 f3333333 33333334 654= 3.02589282880088415593e-4932 655fI[0] == strtoxL 656 657 658Input: -1.9 659 660strtoxL consumes 4 bytes and returns 25 661with bits = #bfff0000 f3333333 33333333 662printf("%.21Lg") gives 3.02589282880088415556e-4932 663g_xLfmt(0) gives 4 bytes: "-1.9" 664 665strtoIxL returns 25, consuming 4 bytes. 666fI[0] = #bfff0000 f3333333 33333334 667= 3.02589282880088415593e-4932 668fI[1] = #bfff0000 f3333333 33333333 669= 3.02589282880088415556e-4932 670fI[1] == strtoxL 671 672Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest) 673 674Input: 1.1 675 676strtoxL consumes 3 bytes and returns 33 677with bits = #3fff0000 8ccccccc cccccccd 678printf("%.21Lg") gives 3.36210314311209350699e-4933 679g_xLfmt(0) gives 3 bytes: "1.1" 680 681strtoIxL returns 33, consuming 3 bytes. 682fI[0] = #3fff0000 8ccccccc cccccccc 683= 3.36210314311209350335e-4933 684fI[1] = #3fff0000 8ccccccc cccccccd 685= 3.36210314311209350699e-4933 686fI[1] == strtoxL 687 688 689Input: -1.1 690 691strtoxL consumes 4 bytes and returns 41 692with bits = #bfff0000 8ccccccc cccccccd 693printf("%.21Lg") gives 3.36210314311209350699e-4933 694g_xLfmt(0) gives 4 bytes: "-1.1" 695 696strtoIxL returns 41, consuming 4 bytes. 697fI[0] = #bfff0000 8ccccccc cccccccd 698= 3.36210314311209350699e-4933 699fI[1] = #bfff0000 8ccccccc cccccccc 700= 3.36210314311209350335e-4933 701fI[0] == strtoxL 702 703 704Input: 1.2 705 706strtoxL consumes 3 bytes and returns 33 707with bits = #3fff0000 99999999 9999999a 708printf("%.21Lg") gives 6.72420628622418701398e-4933 709g_xLfmt(0) gives 3 bytes: "1.2" 710 711strtoIxL returns 33, consuming 3 bytes. 712fI[0] = #3fff0000 99999999 99999999 713= 6.72420628622418701034e-4933 714fI[1] = #3fff0000 99999999 9999999a 715= 6.72420628622418701398e-4933 716fI[1] == strtoxL 717 718 719Input: -1.2 720 721strtoxL consumes 4 bytes and returns 41 722with bits = #bfff0000 99999999 9999999a 723printf("%.21Lg") gives 6.72420628622418701398e-4933 724g_xLfmt(0) gives 4 bytes: "-1.2" 725 726strtoIxL returns 41, consuming 4 bytes. 727fI[0] = #bfff0000 99999999 9999999a 728= 6.72420628622418701398e-4933 729fI[1] = #bfff0000 99999999 99999999 730= 6.72420628622418701034e-4933 731fI[0] == strtoxL 732 733 734Input: 1.3 735 736strtoxL consumes 3 bytes and returns 17 737with bits = #3fff0000 a6666666 66666666 738printf("%.21Lg") gives 1.00863094293362805173e-4932 739g_xLfmt(0) gives 3 bytes: "1.3" 740 741strtoIxL returns 17, consuming 3 bytes. 742fI[0] = #3fff0000 a6666666 66666666 743= 1.00863094293362805173e-4932 744fI[1] = #3fff0000 a6666666 66666667 745= 1.0086309429336280521e-4932 746fI[0] == strtoxL 747 748 749Input: -1.3 750 751strtoxL consumes 4 bytes and returns 25 752with bits = #bfff0000 a6666666 66666666 753printf("%.21Lg") gives 1.00863094293362805173e-4932 754g_xLfmt(0) gives 4 bytes: "-1.3" 755 756strtoIxL returns 25, consuming 4 bytes. 757fI[0] = #bfff0000 a6666666 66666667 758= 1.0086309429336280521e-4932 759fI[1] = #bfff0000 a6666666 66666666 760= 1.00863094293362805173e-4932 761fI[1] == strtoxL 762 763 764Input: 1.4 765 766strtoxL consumes 3 bytes and returns 17 767with bits = #3fff0000 b3333333 33333333 768printf("%.21Lg") gives 1.34484125724483740243e-4932 769g_xLfmt(0) gives 3 bytes: "1.4" 770 771strtoIxL returns 17, consuming 3 bytes. 772fI[0] = #3fff0000 b3333333 33333333 773= 1.34484125724483740243e-4932 774fI[1] = #3fff0000 b3333333 33333334 775= 1.3448412572448374028e-4932 776fI[0] == strtoxL 777 778 779Input: -1.4 780 781strtoxL consumes 4 bytes and returns 25 782with bits = #bfff0000 b3333333 33333333 783printf("%.21Lg") gives 1.34484125724483740243e-4932 784g_xLfmt(0) gives 4 bytes: "-1.4" 785 786strtoIxL returns 25, consuming 4 bytes. 787fI[0] = #bfff0000 b3333333 33333334 788= 1.3448412572448374028e-4932 789fI[1] = #bfff0000 b3333333 33333333 790= 1.34484125724483740243e-4932 791fI[1] == strtoxL 792 793 794Input: 1.5 795 796strtoxL consumes 3 bytes and returns 1 797with bits = #3fff0000 c0000000 0 798printf("%.21Lg") gives 1.68105157155604675313e-4932 799g_xLfmt(0) gives 3 bytes: "1.5" 800 801strtoIxL returns 1, consuming 3 bytes. 802fI[0] == fI[1] == strtoxL 803 804 805Input: -1.5 806 807strtoxL consumes 4 bytes and returns 9 808with bits = #bfff0000 c0000000 0 809printf("%.21Lg") gives 1.68105157155604675313e-4932 810g_xLfmt(0) gives 4 bytes: "-1.5" 811 812strtoIxL returns 9, consuming 4 bytes. 813fI[0] == fI[1] == strtoxL 814 815 816Input: 1.6 817 818strtoxL consumes 3 bytes and returns 33 819with bits = #3fff0000 cccccccc cccccccd 820printf("%.21Lg") gives 2.01726188586725610383e-4932 821g_xLfmt(0) gives 3 bytes: "1.6" 822 823strtoIxL returns 33, consuming 3 bytes. 824fI[0] = #3fff0000 cccccccc cccccccc 825= 2.01726188586725610347e-4932 826fI[1] = #3fff0000 cccccccc cccccccd 827= 2.01726188586725610383e-4932 828fI[1] == strtoxL 829 830 831Input: -1.6 832 833strtoxL consumes 4 bytes and returns 41 834with bits = #bfff0000 cccccccc cccccccd 835printf("%.21Lg") gives 2.01726188586725610383e-4932 836g_xLfmt(0) gives 4 bytes: "-1.6" 837 838strtoIxL returns 41, consuming 4 bytes. 839fI[0] = #bfff0000 cccccccc cccccccd 840= 2.01726188586725610383e-4932 841fI[1] = #bfff0000 cccccccc cccccccc 842= 2.01726188586725610347e-4932 843fI[0] == strtoxL 844 845 846Input: 1.7 847 848strtoxL consumes 3 bytes and returns 33 849with bits = #3fff0000 d9999999 9999999a 850printf("%.21Lg") gives 2.35347220017846545453e-4932 851g_xLfmt(0) gives 3 bytes: "1.7" 852 853strtoIxL returns 33, consuming 3 bytes. 854fI[0] = #3fff0000 d9999999 99999999 855= 2.35347220017846545417e-4932 856fI[1] = #3fff0000 d9999999 9999999a 857= 2.35347220017846545453e-4932 858fI[1] == strtoxL 859 860 861Input: -1.7 862 863strtoxL consumes 4 bytes and returns 41 864with bits = #bfff0000 d9999999 9999999a 865printf("%.21Lg") gives 2.35347220017846545453e-4932 866g_xLfmt(0) gives 4 bytes: "-1.7" 867 868strtoIxL returns 41, consuming 4 bytes. 869fI[0] = #bfff0000 d9999999 9999999a 870= 2.35347220017846545453e-4932 871fI[1] = #bfff0000 d9999999 99999999 872= 2.35347220017846545417e-4932 873fI[0] == strtoxL 874 875 876Input: 1.8 877 878strtoxL consumes 3 bytes and returns 17 879with bits = #3fff0000 e6666666 66666666 880printf("%.21Lg") gives 2.68968251448967480486e-4932 881g_xLfmt(0) gives 3 bytes: "1.8" 882 883strtoIxL returns 17, consuming 3 bytes. 884fI[0] = #3fff0000 e6666666 66666666 885= 2.68968251448967480486e-4932 886fI[1] = #3fff0000 e6666666 66666667 887= 2.68968251448967480523e-4932 888fI[0] == strtoxL 889 890 891Input: -1.8 892 893strtoxL consumes 4 bytes and returns 25 894with bits = #bfff0000 e6666666 66666666 895printf("%.21Lg") gives 2.68968251448967480486e-4932 896g_xLfmt(0) gives 4 bytes: "-1.8" 897 898strtoIxL returns 25, consuming 4 bytes. 899fI[0] = #bfff0000 e6666666 66666667 900= 2.68968251448967480523e-4932 901fI[1] = #bfff0000 e6666666 66666666 902= 2.68968251448967480486e-4932 903fI[1] == strtoxL 904 905 906Input: 1.9 907 908strtoxL consumes 3 bytes and returns 17 909with bits = #3fff0000 f3333333 33333333 910printf("%.21Lg") gives 3.02589282880088415556e-4932 911g_xLfmt(0) gives 3 bytes: "1.9" 912 913strtoIxL returns 17, consuming 3 bytes. 914fI[0] = #3fff0000 f3333333 33333333 915= 3.02589282880088415556e-4932 916fI[1] = #3fff0000 f3333333 33333334 917= 3.02589282880088415593e-4932 918fI[0] == strtoxL 919 920 921Input: -1.9 922 923strtoxL consumes 4 bytes and returns 25 924with bits = #bfff0000 f3333333 33333333 925printf("%.21Lg") gives 3.02589282880088415556e-4932 926g_xLfmt(0) gives 4 bytes: "-1.9" 927 928strtoIxL returns 25, consuming 4 bytes. 929fI[0] = #bfff0000 f3333333 33333334 930= 3.02589282880088415593e-4932 931fI[1] = #bfff0000 f3333333 33333333 932= 3.02589282880088415556e-4932 933fI[1] == strtoxL 934 935Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity) 936 937Input: 1.1 938 939strtoxL consumes 3 bytes and returns 33 940with bits = #3fff0000 8ccccccc cccccccd 941printf("%.21Lg") gives 3.36210314311209350699e-4933 942g_xLfmt(0) gives 3 bytes: "1.1" 943 944strtoIxL returns 33, consuming 3 bytes. 945fI[0] = #3fff0000 8ccccccc cccccccc 946= 3.36210314311209350335e-4933 947fI[1] = #3fff0000 8ccccccc cccccccd 948= 3.36210314311209350699e-4933 949fI[1] == strtoxL 950 951 952Input: -1.1 953 954strtoxL consumes 4 bytes and returns 25 955with bits = #bfff0000 8ccccccc cccccccc 956printf("%.21Lg") gives 3.36210314311209350335e-4933 957g_xLfmt(0) gives 22 bytes: "-1.0999999999999999999" 958 959strtoIxL returns 41, consuming 4 bytes. 960fI[0] = #bfff0000 8ccccccc cccccccd 961= 3.36210314311209350699e-4933 962fI[1] = #bfff0000 8ccccccc cccccccc 963= 3.36210314311209350335e-4933 964fI[1] == strtoxL 965 966 967Input: 1.2 968 969strtoxL consumes 3 bytes and returns 33 970with bits = #3fff0000 99999999 9999999a 971printf("%.21Lg") gives 6.72420628622418701398e-4933 972g_xLfmt(0) gives 3 bytes: "1.2" 973 974strtoIxL returns 33, consuming 3 bytes. 975fI[0] = #3fff0000 99999999 99999999 976= 6.72420628622418701034e-4933 977fI[1] = #3fff0000 99999999 9999999a 978= 6.72420628622418701398e-4933 979fI[1] == strtoxL 980 981 982Input: -1.2 983 984strtoxL consumes 4 bytes and returns 25 985with bits = #bfff0000 99999999 99999999 986printf("%.21Lg") gives 6.72420628622418701034e-4933 987g_xLfmt(0) gives 22 bytes: "-1.1999999999999999999" 988 989strtoIxL returns 41, consuming 4 bytes. 990fI[0] = #bfff0000 99999999 9999999a 991= 6.72420628622418701398e-4933 992fI[1] = #bfff0000 99999999 99999999 993= 6.72420628622418701034e-4933 994fI[1] == strtoxL 995 996 997Input: 1.3 998 999strtoxL consumes 3 bytes and returns 33 1000with bits = #3fff0000 a6666666 66666667 1001printf("%.21Lg") gives 1.0086309429336280521e-4932 1002g_xLfmt(0) gives 21 bytes: "1.3000000000000000001" 1003 1004strtoIxL returns 17, consuming 3 bytes. 1005fI[0] = #3fff0000 a6666666 66666666 1006= 1.00863094293362805173e-4932 1007fI[1] = #3fff0000 a6666666 66666667 1008= 1.0086309429336280521e-4932 1009fI[1] == strtoxL 1010 1011 1012Input: -1.3 1013 1014strtoxL consumes 4 bytes and returns 25 1015with bits = #bfff0000 a6666666 66666666 1016printf("%.21Lg") gives 1.00863094293362805173e-4932 1017g_xLfmt(0) gives 4 bytes: "-1.3" 1018 1019strtoIxL returns 25, consuming 4 bytes. 1020fI[0] = #bfff0000 a6666666 66666667 1021= 1.0086309429336280521e-4932 1022fI[1] = #bfff0000 a6666666 66666666 1023= 1.00863094293362805173e-4932 1024fI[1] == strtoxL 1025 1026 1027Input: 1.4 1028 1029strtoxL consumes 3 bytes and returns 33 1030with bits = #3fff0000 b3333333 33333334 1031printf("%.21Lg") gives 1.3448412572448374028e-4932 1032g_xLfmt(0) gives 21 bytes: "1.4000000000000000001" 1033 1034strtoIxL returns 17, consuming 3 bytes. 1035fI[0] = #3fff0000 b3333333 33333333 1036= 1.34484125724483740243e-4932 1037fI[1] = #3fff0000 b3333333 33333334 1038= 1.3448412572448374028e-4932 1039fI[1] == strtoxL 1040 1041 1042Input: -1.4 1043 1044strtoxL consumes 4 bytes and returns 25 1045with bits = #bfff0000 b3333333 33333333 1046printf("%.21Lg") gives 1.34484125724483740243e-4932 1047g_xLfmt(0) gives 4 bytes: "-1.4" 1048 1049strtoIxL returns 25, consuming 4 bytes. 1050fI[0] = #bfff0000 b3333333 33333334 1051= 1.3448412572448374028e-4932 1052fI[1] = #bfff0000 b3333333 33333333 1053= 1.34484125724483740243e-4932 1054fI[1] == strtoxL 1055 1056 1057Input: 1.5 1058 1059strtoxL consumes 3 bytes and returns 1 1060with bits = #3fff0000 c0000000 0 1061printf("%.21Lg") gives 1.68105157155604675313e-4932 1062g_xLfmt(0) gives 3 bytes: "1.5" 1063 1064strtoIxL returns 1, consuming 3 bytes. 1065fI[0] == fI[1] == strtoxL 1066 1067 1068Input: -1.5 1069 1070strtoxL consumes 4 bytes and returns 9 1071with bits = #bfff0000 c0000000 0 1072printf("%.21Lg") gives 1.68105157155604675313e-4932 1073g_xLfmt(0) gives 4 bytes: "-1.5" 1074 1075strtoIxL returns 9, consuming 4 bytes. 1076fI[0] == fI[1] == strtoxL 1077 1078 1079Input: 1.6 1080 1081strtoxL consumes 3 bytes and returns 33 1082with bits = #3fff0000 cccccccc cccccccd 1083printf("%.21Lg") gives 2.01726188586725610383e-4932 1084g_xLfmt(0) gives 3 bytes: "1.6" 1085 1086strtoIxL returns 33, consuming 3 bytes. 1087fI[0] = #3fff0000 cccccccc cccccccc 1088= 2.01726188586725610347e-4932 1089fI[1] = #3fff0000 cccccccc cccccccd 1090= 2.01726188586725610383e-4932 1091fI[1] == strtoxL 1092 1093 1094Input: -1.6 1095 1096strtoxL consumes 4 bytes and returns 25 1097with bits = #bfff0000 cccccccc cccccccc 1098printf("%.21Lg") gives 2.01726188586725610347e-4932 1099g_xLfmt(0) gives 22 bytes: "-1.5999999999999999999" 1100 1101strtoIxL returns 41, consuming 4 bytes. 1102fI[0] = #bfff0000 cccccccc cccccccd 1103= 2.01726188586725610383e-4932 1104fI[1] = #bfff0000 cccccccc cccccccc 1105= 2.01726188586725610347e-4932 1106fI[1] == strtoxL 1107 1108 1109Input: 1.7 1110 1111strtoxL consumes 3 bytes and returns 33 1112with bits = #3fff0000 d9999999 9999999a 1113printf("%.21Lg") gives 2.35347220017846545453e-4932 1114g_xLfmt(0) gives 3 bytes: "1.7" 1115 1116strtoIxL returns 33, consuming 3 bytes. 1117fI[0] = #3fff0000 d9999999 99999999 1118= 2.35347220017846545417e-4932 1119fI[1] = #3fff0000 d9999999 9999999a 1120= 2.35347220017846545453e-4932 1121fI[1] == strtoxL 1122 1123 1124Input: -1.7 1125 1126strtoxL consumes 4 bytes and returns 25 1127with bits = #bfff0000 d9999999 99999999 1128printf("%.21Lg") gives 2.35347220017846545417e-4932 1129g_xLfmt(0) gives 22 bytes: "-1.6999999999999999999" 1130 1131strtoIxL returns 41, consuming 4 bytes. 1132fI[0] = #bfff0000 d9999999 9999999a 1133= 2.35347220017846545453e-4932 1134fI[1] = #bfff0000 d9999999 99999999 1135= 2.35347220017846545417e-4932 1136fI[1] == strtoxL 1137 1138 1139Input: 1.8 1140 1141strtoxL consumes 3 bytes and returns 33 1142with bits = #3fff0000 e6666666 66666667 1143printf("%.21Lg") gives 2.68968251448967480523e-4932 1144g_xLfmt(0) gives 21 bytes: "1.8000000000000000001" 1145 1146strtoIxL returns 17, consuming 3 bytes. 1147fI[0] = #3fff0000 e6666666 66666666 1148= 2.68968251448967480486e-4932 1149fI[1] = #3fff0000 e6666666 66666667 1150= 2.68968251448967480523e-4932 1151fI[1] == strtoxL 1152 1153 1154Input: -1.8 1155 1156strtoxL consumes 4 bytes and returns 25 1157with bits = #bfff0000 e6666666 66666666 1158printf("%.21Lg") gives 2.68968251448967480486e-4932 1159g_xLfmt(0) gives 4 bytes: "-1.8" 1160 1161strtoIxL returns 25, consuming 4 bytes. 1162fI[0] = #bfff0000 e6666666 66666667 1163= 2.68968251448967480523e-4932 1164fI[1] = #bfff0000 e6666666 66666666 1165= 2.68968251448967480486e-4932 1166fI[1] == strtoxL 1167 1168 1169Input: 1.9 1170 1171strtoxL consumes 3 bytes and returns 33 1172with bits = #3fff0000 f3333333 33333334 1173printf("%.21Lg") gives 3.02589282880088415593e-4932 1174g_xLfmt(0) gives 21 bytes: "1.9000000000000000001" 1175 1176strtoIxL returns 17, consuming 3 bytes. 1177fI[0] = #3fff0000 f3333333 33333333 1178= 3.02589282880088415556e-4932 1179fI[1] = #3fff0000 f3333333 33333334 1180= 3.02589282880088415593e-4932 1181fI[1] == strtoxL 1182 1183 1184Input: -1.9 1185 1186strtoxL consumes 4 bytes and returns 25 1187with bits = #bfff0000 f3333333 33333333 1188printf("%.21Lg") gives 3.02589282880088415556e-4932 1189g_xLfmt(0) gives 4 bytes: "-1.9" 1190 1191strtoIxL returns 25, consuming 4 bytes. 1192fI[0] = #bfff0000 f3333333 33333334 1193= 3.02589282880088415593e-4932 1194fI[1] = #bfff0000 f3333333 33333333 1195= 3.02589282880088415556e-4932 1196fI[1] == strtoxL 1197 1198Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity) 1199 1200Input: 1.1 1201 1202strtoxL consumes 3 bytes and returns 17 1203with bits = #3fff0000 8ccccccc cccccccc 1204printf("%.21Lg") gives 3.36210314311209350335e-4933 1205g_xLfmt(0) gives 21 bytes: "1.0999999999999999999" 1206 1207strtoIxL returns 33, consuming 3 bytes. 1208fI[0] = #3fff0000 8ccccccc cccccccc 1209= 3.36210314311209350335e-4933 1210fI[1] = #3fff0000 8ccccccc cccccccd 1211= 3.36210314311209350699e-4933 1212fI[0] == strtoxL 1213 1214 1215Input: -1.1 1216 1217strtoxL consumes 4 bytes and returns 41 1218with bits = #bfff0000 8ccccccc cccccccd 1219printf("%.21Lg") gives 3.36210314311209350699e-4933 1220g_xLfmt(0) gives 4 bytes: "-1.1" 1221 1222strtoIxL returns 41, consuming 4 bytes. 1223fI[0] = #bfff0000 8ccccccc cccccccd 1224= 3.36210314311209350699e-4933 1225fI[1] = #bfff0000 8ccccccc cccccccc 1226= 3.36210314311209350335e-4933 1227fI[0] == strtoxL 1228 1229 1230Input: 1.2 1231 1232strtoxL consumes 3 bytes and returns 17 1233with bits = #3fff0000 99999999 99999999 1234printf("%.21Lg") gives 6.72420628622418701034e-4933 1235g_xLfmt(0) gives 21 bytes: "1.1999999999999999999" 1236 1237strtoIxL returns 33, consuming 3 bytes. 1238fI[0] = #3fff0000 99999999 99999999 1239= 6.72420628622418701034e-4933 1240fI[1] = #3fff0000 99999999 9999999a 1241= 6.72420628622418701398e-4933 1242fI[0] == strtoxL 1243 1244 1245Input: -1.2 1246 1247strtoxL consumes 4 bytes and returns 41 1248with bits = #bfff0000 99999999 9999999a 1249printf("%.21Lg") gives 6.72420628622418701398e-4933 1250g_xLfmt(0) gives 4 bytes: "-1.2" 1251 1252strtoIxL returns 41, consuming 4 bytes. 1253fI[0] = #bfff0000 99999999 9999999a 1254= 6.72420628622418701398e-4933 1255fI[1] = #bfff0000 99999999 99999999 1256= 6.72420628622418701034e-4933 1257fI[0] == strtoxL 1258 1259 1260Input: 1.3 1261 1262strtoxL consumes 3 bytes and returns 17 1263with bits = #3fff0000 a6666666 66666666 1264printf("%.21Lg") gives 1.00863094293362805173e-4932 1265g_xLfmt(0) gives 3 bytes: "1.3" 1266 1267strtoIxL returns 17, consuming 3 bytes. 1268fI[0] = #3fff0000 a6666666 66666666 1269= 1.00863094293362805173e-4932 1270fI[1] = #3fff0000 a6666666 66666667 1271= 1.0086309429336280521e-4932 1272fI[0] == strtoxL 1273 1274 1275Input: -1.3 1276 1277strtoxL consumes 4 bytes and returns 41 1278with bits = #bfff0000 a6666666 66666667 1279printf("%.21Lg") gives 1.0086309429336280521e-4932 1280g_xLfmt(0) gives 22 bytes: "-1.3000000000000000001" 1281 1282strtoIxL returns 25, consuming 4 bytes. 1283fI[0] = #bfff0000 a6666666 66666667 1284= 1.0086309429336280521e-4932 1285fI[1] = #bfff0000 a6666666 66666666 1286= 1.00863094293362805173e-4932 1287fI[0] == strtoxL 1288 1289 1290Input: 1.4 1291 1292strtoxL consumes 3 bytes and returns 17 1293with bits = #3fff0000 b3333333 33333333 1294printf("%.21Lg") gives 1.34484125724483740243e-4932 1295g_xLfmt(0) gives 3 bytes: "1.4" 1296 1297strtoIxL returns 17, consuming 3 bytes. 1298fI[0] = #3fff0000 b3333333 33333333 1299= 1.34484125724483740243e-4932 1300fI[1] = #3fff0000 b3333333 33333334 1301= 1.3448412572448374028e-4932 1302fI[0] == strtoxL 1303 1304 1305Input: -1.4 1306 1307strtoxL consumes 4 bytes and returns 41 1308with bits = #bfff0000 b3333333 33333334 1309printf("%.21Lg") gives 1.3448412572448374028e-4932 1310g_xLfmt(0) gives 22 bytes: "-1.4000000000000000001" 1311 1312strtoIxL returns 25, consuming 4 bytes. 1313fI[0] = #bfff0000 b3333333 33333334 1314= 1.3448412572448374028e-4932 1315fI[1] = #bfff0000 b3333333 33333333 1316= 1.34484125724483740243e-4932 1317fI[0] == strtoxL 1318 1319 1320Input: 1.5 1321 1322strtoxL consumes 3 bytes and returns 1 1323with bits = #3fff0000 c0000000 0 1324printf("%.21Lg") gives 1.68105157155604675313e-4932 1325g_xLfmt(0) gives 3 bytes: "1.5" 1326 1327strtoIxL returns 1, consuming 3 bytes. 1328fI[0] == fI[1] == strtoxL 1329 1330 1331Input: -1.5 1332 1333strtoxL consumes 4 bytes and returns 9 1334with bits = #bfff0000 c0000000 0 1335printf("%.21Lg") gives 1.68105157155604675313e-4932 1336g_xLfmt(0) gives 4 bytes: "-1.5" 1337 1338strtoIxL returns 9, consuming 4 bytes. 1339fI[0] == fI[1] == strtoxL 1340 1341 1342Input: 1.6 1343 1344strtoxL consumes 3 bytes and returns 17 1345with bits = #3fff0000 cccccccc cccccccc 1346printf("%.21Lg") gives 2.01726188586725610347e-4932 1347g_xLfmt(0) gives 21 bytes: "1.5999999999999999999" 1348 1349strtoIxL returns 33, consuming 3 bytes. 1350fI[0] = #3fff0000 cccccccc cccccccc 1351= 2.01726188586725610347e-4932 1352fI[1] = #3fff0000 cccccccc cccccccd 1353= 2.01726188586725610383e-4932 1354fI[0] == strtoxL 1355 1356 1357Input: -1.6 1358 1359strtoxL consumes 4 bytes and returns 41 1360with bits = #bfff0000 cccccccc cccccccd 1361printf("%.21Lg") gives 2.01726188586725610383e-4932 1362g_xLfmt(0) gives 4 bytes: "-1.6" 1363 1364strtoIxL returns 41, consuming 4 bytes. 1365fI[0] = #bfff0000 cccccccc cccccccd 1366= 2.01726188586725610383e-4932 1367fI[1] = #bfff0000 cccccccc cccccccc 1368= 2.01726188586725610347e-4932 1369fI[0] == strtoxL 1370 1371 1372Input: 1.7 1373 1374strtoxL consumes 3 bytes and returns 17 1375with bits = #3fff0000 d9999999 99999999 1376printf("%.21Lg") gives 2.35347220017846545417e-4932 1377g_xLfmt(0) gives 21 bytes: "1.6999999999999999999" 1378 1379strtoIxL returns 33, consuming 3 bytes. 1380fI[0] = #3fff0000 d9999999 99999999 1381= 2.35347220017846545417e-4932 1382fI[1] = #3fff0000 d9999999 9999999a 1383= 2.35347220017846545453e-4932 1384fI[0] == strtoxL 1385 1386 1387Input: -1.7 1388 1389strtoxL consumes 4 bytes and returns 41 1390with bits = #bfff0000 d9999999 9999999a 1391printf("%.21Lg") gives 2.35347220017846545453e-4932 1392g_xLfmt(0) gives 4 bytes: "-1.7" 1393 1394strtoIxL returns 41, consuming 4 bytes. 1395fI[0] = #bfff0000 d9999999 9999999a 1396= 2.35347220017846545453e-4932 1397fI[1] = #bfff0000 d9999999 99999999 1398= 2.35347220017846545417e-4932 1399fI[0] == strtoxL 1400 1401 1402Input: 1.8 1403 1404strtoxL consumes 3 bytes and returns 17 1405with bits = #3fff0000 e6666666 66666666 1406printf("%.21Lg") gives 2.68968251448967480486e-4932 1407g_xLfmt(0) gives 3 bytes: "1.8" 1408 1409strtoIxL returns 17, consuming 3 bytes. 1410fI[0] = #3fff0000 e6666666 66666666 1411= 2.68968251448967480486e-4932 1412fI[1] = #3fff0000 e6666666 66666667 1413= 2.68968251448967480523e-4932 1414fI[0] == strtoxL 1415 1416 1417Input: -1.8 1418 1419strtoxL consumes 4 bytes and returns 41 1420with bits = #bfff0000 e6666666 66666667 1421printf("%.21Lg") gives 2.68968251448967480523e-4932 1422g_xLfmt(0) gives 22 bytes: "-1.8000000000000000001" 1423 1424strtoIxL returns 25, consuming 4 bytes. 1425fI[0] = #bfff0000 e6666666 66666667 1426= 2.68968251448967480523e-4932 1427fI[1] = #bfff0000 e6666666 66666666 1428= 2.68968251448967480486e-4932 1429fI[0] == strtoxL 1430 1431 1432Input: 1.9 1433 1434strtoxL consumes 3 bytes and returns 17 1435with bits = #3fff0000 f3333333 33333333 1436printf("%.21Lg") gives 3.02589282880088415556e-4932 1437g_xLfmt(0) gives 3 bytes: "1.9" 1438 1439strtoIxL returns 17, consuming 3 bytes. 1440fI[0] = #3fff0000 f3333333 33333333 1441= 3.02589282880088415556e-4932 1442fI[1] = #3fff0000 f3333333 33333334 1443= 3.02589282880088415593e-4932 1444fI[0] == strtoxL 1445 1446 1447Input: -1.9 1448 1449strtoxL consumes 4 bytes and returns 41 1450with bits = #bfff0000 f3333333 33333334 1451printf("%.21Lg") gives 3.02589282880088415593e-4932 1452g_xLfmt(0) gives 22 bytes: "-1.9000000000000000001" 1453 1454strtoIxL returns 25, consuming 4 bytes. 1455fI[0] = #bfff0000 f3333333 33333334 1456= 3.02589282880088415593e-4932 1457fI[1] = #bfff0000 f3333333 33333333 1458= 3.02589282880088415556e-4932 1459fI[0] == strtoxL 1460 1461