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