| 1 |
|
| 2 |
Input: 1.23 |
| 3 |
strtodI consumes 4 bytes and returns 17 |
| 4 |
dd[0] = #3ff3ae14 7ae147ae = 1.23 |
| 5 |
dd[1] = #3ff3ae14 7ae147af = 1.2300000000000002 |
| 6 |
|
| 7 |
|
| 8 |
Input: 1.23e+20 |
| 9 |
strtodI consumes 8 bytes and returns 1 |
| 10 |
dd[0] = #441aabdf 2145b430 = 1.23e+20 |
| 11 |
dd[1] = #441aabdf 2145b430 = 1.23e+20 |
| 12 |
|
| 13 |
|
| 14 |
Input: 1.23e-20 |
| 15 |
strtodI consumes 8 bytes and returns 33 |
| 16 |
dd[0] = #3bcd0ae4 cf767530 = 1.2299999999999999e-20 |
| 17 |
dd[1] = #3bcd0ae4 cf767531 = 1.23e-20 |
| 18 |
|
| 19 |
|
| 20 |
Input: 1.23456789 |
| 21 |
strtodI consumes 10 bytes and returns 17 |
| 22 |
dd[0] = #3ff3c0ca 4283de1b = 1.23456789 |
| 23 |
dd[1] = #3ff3c0ca 4283de1c = 1.2345678900000001 |
| 24 |
|
| 25 |
|
| 26 |
Input: 1.23456589e+20 |
| 27 |
strtodI consumes 14 bytes and returns 17 |
| 28 |
dd[0] = #441ac537 a660b997 = 1.23456589e+20 |
| 29 |
dd[1] = #441ac537 a660b998 = 123456589000000010000 |
| 30 |
|
| 31 |
|
| 32 |
Input: 1.23e+30 |
| 33 |
strtodI consumes 8 bytes and returns 17 |
| 34 |
dd[0] = #462f0cb0 4e8fb790 = 1.23e+30 |
| 35 |
dd[1] = #462f0cb0 4e8fb791 = 1.2300000000000001e+30 |
| 36 |
|
| 37 |
|
| 38 |
Input: 1.23e-30 |
| 39 |
strtodI consumes 8 bytes and returns 33 |
| 40 |
dd[0] = #39b8f286 6f5010aa = 1.2299999999999999e-30 |
| 41 |
dd[1] = #39b8f286 6f5010ab = 1.23e-30 |
| 42 |
|
| 43 |
|
| 44 |
Input: 1.23456789e-20 |
| 45 |
strtodI consumes 14 bytes and returns 17 |
| 46 |
dd[0] = #3bcd2681 471e7ada = 1.23456789e-20 |
| 47 |
dd[1] = #3bcd2681 471e7adb = 1.2345678900000001e-20 |
| 48 |
|
| 49 |
|
| 50 |
Input: 1.23456789e-30 |
| 51 |
strtodI consumes 14 bytes and returns 17 |
| 52 |
dd[0] = #39b90a3e 33bbd995 = 1.23456789e-30 |
| 53 |
dd[1] = #39b90a3e 33bbd996 = 1.2345678900000002e-30 |
| 54 |
|
| 55 |
|
| 56 |
Input: 1.234567890123456789 |
| 57 |
strtodI consumes 20 bytes and returns 17 |
| 58 |
dd[0] = #3ff3c0ca 428c59fb = 1.2345678901234567 |
| 59 |
dd[1] = #3ff3c0ca 428c59fc = 1.234567890123457 |
| 60 |
|
| 61 |
|
| 62 |
Input: 1.23456789012345678901234567890123456789 |
| 63 |
strtodI consumes 40 bytes and returns 17 |
| 64 |
dd[0] = #3ff3c0ca 428c59fb = 1.2345678901234567 |
| 65 |
dd[1] = #3ff3c0ca 428c59fc = 1.234567890123457 |
| 66 |
|
| 67 |
|
| 68 |
Input: 1.23e306 |
| 69 |
strtodI consumes 8 bytes and returns 33 |
| 70 |
dd[0] = #7f7c0676 cd1c61f4 = 1.2299999999999999e+306 |
| 71 |
dd[1] = #7f7c0676 cd1c61f5 = 1.23e+306 |
| 72 |
|
| 73 |
|
| 74 |
Input: 1.23e-306 |
| 75 |
strtodI consumes 9 bytes and returns 33 |
| 76 |
dd[0] = #6ba3b8 5da396e7 = 1.2299999999999999e-306 |
| 77 |
dd[1] = #6ba3b8 5da396e8 = 1.23e-306 |
| 78 |
|
| 79 |
|
| 80 |
Input: 1.23e-320 |
| 81 |
strtodI consumes 9 bytes and returns 80 |
| 82 |
dd[0] = #0 0 = 0 |
| 83 |
dd[1] = #100000 0 = 2.2250738585072014e-308 |
| 84 |
|
| 85 |
|
| 86 |
Input: 1.23e-20 |
| 87 |
strtodI consumes 8 bytes and returns 33 |
| 88 |
dd[0] = #3bcd0ae4 cf767530 = 1.2299999999999999e-20 |
| 89 |
dd[1] = #3bcd0ae4 cf767531 = 1.23e-20 |
| 90 |
|
| 91 |
|
| 92 |
Input: 1.23456789e307 |
| 93 |
strtodI consumes 14 bytes and returns 33 |
| 94 |
dd[0] = #7fb194b1 4bdaecdb = 1.2345678899999998e+307 |
| 95 |
dd[1] = #7fb194b1 4bdaecdc = 1.23456789e+307 |
| 96 |
|
| 97 |
|
| 98 |
Input: 1.23456589e-307 |
| 99 |
strtodI consumes 15 bytes and returns 17 |
| 100 |
dd[0] = #363196 bb9845fa = 1.23456589e-307 |
| 101 |
dd[1] = #363196 bb9845fb = 1.2345658900000001e-307 |
| 102 |
|
| 103 |
|
| 104 |
Input: 1.234567890123456789 |
| 105 |
strtodI consumes 20 bytes and returns 17 |
| 106 |
dd[0] = #3ff3c0ca 428c59fb = 1.2345678901234567 |
| 107 |
dd[1] = #3ff3c0ca 428c59fc = 1.234567890123457 |
| 108 |
|
| 109 |
|
| 110 |
Input: 1.234567890123456789e301 |
| 111 |
strtodI consumes 24 bytes and returns 17 |
| 112 |
dd[0] = #7e726f51 75f56413 = 1.2345678901234568e+301 |
| 113 |
dd[1] = #7e726f51 75f56414 = 1.234567890123457e+301 |
| 114 |
|
| 115 |
|
| 116 |
Input: 1.234567890123456789e-301 |
| 117 |
strtodI consumes 25 bytes and returns 17 |
| 118 |
dd[0] = #1752a64 e34ba0d3 = 1.2345678901234567e-301 |
| 119 |
dd[1] = #1752a64 e34ba0d4 = 1.234567890123457e-301 |
| 120 |
|
| 121 |
|
| 122 |
Input: 1.234567890123456789e-321 |
| 123 |
strtodI consumes 25 bytes and returns 80 |
| 124 |
dd[0] = #0 0 = 0 |
| 125 |
dd[1] = #100000 0 = 2.2250738585072014e-308 |
| 126 |
|
| 127 |
|
| 128 |
Input: 1e23 |
| 129 |
strtodI consumes 4 bytes and returns 17 |
| 130 |
dd[0] = #44b52d02 c7e14af6 = 1e+23 |
| 131 |
dd[1] = #44b52d02 c7e14af7 = 1.0000000000000001e+23 |
| 132 |
|
| 133 |
|
| 134 |
Input: 1e310 |
| 135 |
strtodI consumes 5 bytes and returns 163 |
| 136 |
dd[0] = #7fefffff ffffffff = 1.7976931348623157e+308 |
| 137 |
dd[1] = #7ff00000 0 = Infinity |
| 138 |
|
| 139 |
|
| 140 |
Input: 9.0259718793241475e-277 |
| 141 |
strtodI consumes 23 bytes and returns 33 |
| 142 |
dd[0] = #69fffff ffffffff = 9.025971879324147e-277 |
| 143 |
dd[1] = #6a00000 0 = 9.025971879324148e-277 |
| 144 |
|
| 145 |
|
| 146 |
Input: 9.025971879324147880346310405869e-277 |
| 147 |
strtodI consumes 37 bytes and returns 17 |
| 148 |
dd[0] = #6a00000 0 = 9.025971879324148e-277 |
| 149 |
dd[1] = #6a00000 1 = 9.02597187932415e-277 |
| 150 |
|
| 151 |
|
| 152 |
Input: 9.025971879324147880346310405868e-277 |
| 153 |
strtodI consumes 37 bytes and returns 33 |
| 154 |
dd[0] = #69fffff ffffffff = 9.025971879324147e-277 |
| 155 |
dd[1] = #6a00000 0 = 9.025971879324148e-277 |
| 156 |
|
| 157 |
|
| 158 |
Input: 2.2250738585072014e-308 |
| 159 |
strtodI consumes 23 bytes and returns 17 |
| 160 |
dd[0] = #100000 0 = 2.2250738585072014e-308 |
| 161 |
dd[1] = #100000 1 = 2.225073858507202e-308 |
| 162 |
|
| 163 |
|
| 164 |
Input: 2.2250738585072013e-308 |
| 165 |
strtodI consumes 23 bytes and returns 33 |
| 166 |
dd[0] = #0 0 = 0 |
| 167 |
dd[1] = #100000 0 = 2.2250738585072014e-308 |
| 168 |
|
| 169 |
|
| 170 |
Input: 3.2649476e14 |
| 171 |
strtodI consumes 12 bytes and returns 1 |
| 172 |
dd[0] = #42f28f1f c30da000 = 3.2649476e+14 |
| 173 |
dd[1] = #42f28f1f c30da000 = 3.2649476e+14 |
| 174 |
|