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