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