diff options
Diffstat (limited to 'contrib/gdtoa/test/xL.ou1')
-rw-r--r-- | contrib/gdtoa/test/xL.ou1 | 279 |
1 files changed, 279 insertions, 0 deletions
diff --git a/contrib/gdtoa/test/xL.ou1 b/contrib/gdtoa/test/xL.ou1 index 054690ec521c..c22d0f418918 100644 --- a/contrib/gdtoa/test/xL.ou1 +++ b/contrib/gdtoa/test/xL.ou1 @@ -1,14 +1,18 @@ ***** This file is not right. It needs to be generated on a ***** system with a Motorla 68881 or the equivalent. + Input: 1.23 strtoxL consumes 4 bytes and returns 33 with bits = #3fff0000 9d70a3d7 a3d70a4 +printf("%.21Lg") gives 7.73283722915781506499e-4933 g_xLfmt(0) gives 4 bytes: "1.23" strtoIxL returns 33, consuming 4 bytes. fI[0] = #3fff0000 9d70a3d7 a3d70a3 += 7.73283722915781506134e-4933 fI[1] = #3fff0000 9d70a3d7 a3d70a4 += 7.73283722915781506499e-4933 fI[1] == strtoxL @@ -16,6 +20,7 @@ Input: 1.23e+20 strtoxL consumes 8 bytes and returns 1 with bits = #40410000 d55ef90a 2da18000 +printf("%.21Lg") gives 2.24239113715721119512e-4932 g_xLfmt(0) gives 8 bytes: "1.23e+20" strtoIxL returns 1, consuming 8 bytes. @@ -26,11 +31,14 @@ Input: 1.23e-20 strtoxL consumes 8 bytes and returns 17 with bits = #3fbc0000 e857267b b3a984f2 +printf("%.21Lg") gives 2.74065070995958800375e-4932 g_xLfmt(0) gives 8 bytes: "1.23e-20" strtoIxL returns 17, consuming 8 bytes. fI[0] = #3fbc0000 e857267b b3a984f2 += 2.74065070995958800375e-4932 fI[1] = #3fbc0000 e857267b b3a984f3 += 2.74065070995958800411e-4932 fI[0] == strtoxL @@ -38,11 +46,14 @@ Input: 1.23456789 strtoxL consumes 10 bytes and returns 33 with bits = #3fff0000 9e065214 1ef0dbf6 +printf("%.21Lg") gives 7.88641440242171807354e-4933 g_xLfmt(0) gives 10 bytes: "1.23456789" strtoIxL returns 33, consuming 10 bytes. fI[0] = #3fff0000 9e065214 1ef0dbf5 += 7.8864144024217180699e-4933 fI[1] = #3fff0000 9e065214 1ef0dbf6 += 7.88641440242171807354e-4933 fI[1] == strtoxL @@ -50,6 +61,7 @@ Input: 1.23456589e+20 strtoxL consumes 14 bytes and returns 1 with bits = #40410000 d629bd33 5ccba00 +printf("%.21Lg") gives 2.26319561227049478508e-4932 g_xLfmt(0) gives 14 bytes: "1.23456589e+20" strtoIxL returns 1, consuming 14 bytes. @@ -60,11 +72,14 @@ Input: 1.23e+30 strtoxL consumes 8 bytes and returns 17 with bits = #40620000 f8658274 7dbc824a +printf("%.21Lg") gives 3.16238691003557160385e-4932 g_xLfmt(0) gives 8 bytes: "1.23e+30" strtoIxL returns 17, consuming 8 bytes. fI[0] = #40620000 f8658274 7dbc824a += 3.16238691003557160385e-4932 fI[1] = #40620000 f8658274 7dbc824b += 3.16238691003557160421e-4932 fI[0] == strtoxL @@ -72,11 +87,14 @@ Input: 1.23e-30 strtoxL consumes 8 bytes and returns 17 with bits = #3f9b0000 c794337a 808554eb +printf("%.21Lg") gives 1.88012249978407873966e-4932 g_xLfmt(0) gives 8 bytes: "1.23e-30" strtoIxL returns 17, consuming 8 bytes. fI[0] = #3f9b0000 c794337a 808554eb += 1.88012249978407873966e-4932 fI[1] = #3f9b0000 c794337a 808554ec += 1.88012249978407874003e-4932 fI[0] == strtoxL @@ -84,11 +102,14 @@ Input: 1.23456789e-20 strtoxL consumes 14 bytes and returns 17 with bits = #3fbc0000 e9340a38 f3d6d352 +printf("%.21Lg") gives 2.76331470044569174626e-4932 g_xLfmt(0) gives 14 bytes: "1.23456789e-20" strtoIxL returns 17, consuming 14 bytes. fI[0] = #3fbc0000 e9340a38 f3d6d352 += 2.76331470044569174626e-4932 fI[1] = #3fbc0000 e9340a38 f3d6d353 += 2.76331470044569174663e-4932 fI[0] == strtoxL @@ -96,11 +117,14 @@ Input: 1.23456789e-30 strtoxL consumes 14 bytes and returns 17 with bits = #3f9b0000 c851f19d decca8fc +printf("%.21Lg") gives 1.89959071937101288293e-4932 g_xLfmt(0) gives 14 bytes: "1.23456789e-30" strtoIxL returns 17, consuming 14 bytes. fI[0] = #3f9b0000 c851f19d decca8fc += 1.89959071937101288293e-4932 fI[1] = #3f9b0000 c851f19d decca8fd += 1.89959071937101288329e-4932 fI[0] == strtoxL @@ -108,11 +132,14 @@ Input: 1.234567890123456789 strtoxL consumes 20 bytes and returns 17 with bits = #3fff0000 9e065214 62cfdb8d +printf("%.21Lg") gives 7.88641440657246265535e-4933 g_xLfmt(0) gives 20 bytes: "1.234567890123456789" strtoIxL returns 17, consuming 20 bytes. fI[0] = #3fff0000 9e065214 62cfdb8d += 7.88641440657246265535e-4933 fI[1] = #3fff0000 9e065214 62cfdb8e += 7.886414406572462659e-4933 fI[0] == strtoxL @@ -120,11 +147,14 @@ Input: 1.23456789012345678901234567890123456789 strtoxL consumes 40 bytes and returns 17 with bits = #3fff0000 9e065214 62cfdb8d +printf("%.21Lg") gives 7.88641440657246265535e-4933 g_xLfmt(0) gives 20 bytes: "1.234567890123456789" strtoIxL returns 17, consuming 40 bytes. fI[0] = #3fff0000 9e065214 62cfdb8d += 7.88641440657246265535e-4933 fI[1] = #3fff0000 9e065214 62cfdb8e += 7.886414406572462659e-4933 fI[0] == strtoxL @@ -132,11 +162,14 @@ Input: 1.23e306 strtoxL consumes 8 bytes and returns 17 with bits = #43f70000 e033b668 e30fa6d5 +printf("%.21Lg") gives 2.52688323155200052759e-4932 g_xLfmt(0) gives 9 bytes: "1.23e+306" strtoIxL returns 17, consuming 8 bytes. fI[0] = #43f70000 e033b668 e30fa6d5 += 2.52688323155200052759e-4932 fI[1] = #43f70000 e033b668 e30fa6d6 += 2.52688323155200052796e-4932 fI[0] == strtoxL @@ -144,11 +177,14 @@ Input: 1.23e-306 strtoxL consumes 9 bytes and returns 33 with bits = #3c060000 dd1dc2ed 1cb73f25 +printf("%.21Lg") gives 2.44583168427704605801e-4932 g_xLfmt(0) gives 9 bytes: "1.23e-306" strtoIxL returns 33, consuming 9 bytes. fI[0] = #3c060000 dd1dc2ed 1cb73f24 += 2.44583168427704605765e-4932 fI[1] = #3c060000 dd1dc2ed 1cb73f25 += 2.44583168427704605801e-4932 fI[1] == strtoxL @@ -156,11 +192,14 @@ Input: 1.23e-320 strtoxL consumes 9 bytes and returns 33 with bits = #3bd80000 9b98c371 844c3f1a +printf("%.21Lg") gives 7.24867657578821329238e-4933 g_xLfmt(0) gives 9 bytes: "1.23e-320" strtoIxL returns 33, consuming 9 bytes. fI[0] = #3bd80000 9b98c371 844c3f19 += 7.24867657578821328874e-4933 fI[1] = #3bd80000 9b98c371 844c3f1a += 7.24867657578821329238e-4933 fI[1] == strtoxL @@ -168,11 +207,14 @@ Input: 1.23e-20 strtoxL consumes 8 bytes and returns 17 with bits = #3fbc0000 e857267b b3a984f2 +printf("%.21Lg") gives 2.74065070995958800375e-4932 g_xLfmt(0) gives 8 bytes: "1.23e-20" strtoIxL returns 17, consuming 8 bytes. fI[0] = #3fbc0000 e857267b b3a984f2 += 2.74065070995958800375e-4932 fI[1] = #3fbc0000 e857267b b3a984f3 += 2.74065070995958800411e-4932 fI[0] == strtoxL @@ -180,11 +222,14 @@ Input: 1.23456789e307 strtoxL consumes 14 bytes and returns 17 with bits = #43fb0000 8ca58a5e d766de75 +printf("%.21Lg") gives 3.32182163192682931854e-4933 g_xLfmt(0) gives 15 bytes: "1.23456789e+307" strtoIxL returns 17, consuming 14 bytes. fI[0] = #43fb0000 8ca58a5e d766de75 += 3.32182163192682931854e-4933 fI[1] = #43fb0000 8ca58a5e d766de76 += 3.32182163192682932219e-4933 fI[0] == strtoxL @@ -192,11 +237,14 @@ Input: 1.23456589e-307 strtoxL consumes 15 bytes and returns 17 with bits = #3c030000 b18cb5dc c22fd369 +printf("%.21Lg") gives 1.30149245314004923345e-4932 g_xLfmt(0) gives 15 bytes: "1.23456589e-307" strtoIxL returns 17, consuming 15 bytes. fI[0] = #3c030000 b18cb5dc c22fd369 += 1.30149245314004923345e-4932 fI[1] = #3c030000 b18cb5dc c22fd36a += 1.30149245314004923382e-4932 fI[0] == strtoxL @@ -204,11 +252,14 @@ Input: 1.234567890123456789 strtoxL consumes 20 bytes and returns 17 with bits = #3fff0000 9e065214 62cfdb8d +printf("%.21Lg") gives 7.88641440657246265535e-4933 g_xLfmt(0) gives 20 bytes: "1.234567890123456789" strtoIxL returns 17, consuming 20 bytes. fI[0] = #3fff0000 9e065214 62cfdb8d += 7.88641440657246265535e-4933 fI[1] = #3fff0000 9e065214 62cfdb8e += 7.886414406572462659e-4933 fI[0] == strtoxL @@ -216,11 +267,14 @@ Input: 1.234567890123456789e301 strtoxL consumes 24 bytes and returns 33 with bits = #43e70000 937a8baf ab20980c +printf("%.21Lg") gives 5.11635766619117643114e-4933 g_xLfmt(0) gives 25 bytes: "1.234567890123456789e+301" strtoIxL returns 33, consuming 24 bytes. fI[0] = #43e70000 937a8baf ab20980b += 5.1163576661911764275e-4933 fI[1] = #43e70000 937a8baf ab20980c += 5.11635766619117643114e-4933 fI[1] == strtoxL @@ -228,11 +282,14 @@ Input: 1.234567890123456789e-301 strtoxL consumes 25 bytes and returns 33 with bits = #3c170000 a953271a 5d069ad9 +printf("%.21Lg") gives 1.08545540462853463561e-4932 g_xLfmt(0) gives 25 bytes: "1.234567890123456789e-301" strtoIxL returns 33, consuming 25 bytes. fI[0] = #3c170000 a953271a 5d069ad8 += 1.08545540462853463524e-4932 fI[1] = #3c170000 a953271a 5d069ad9 += 1.08545540462853463561e-4932 fI[1] == strtoxL @@ -240,11 +297,14 @@ Input: 1.234567890123456789e-321 strtoxL consumes 25 bytes and returns 33 with bits = #3bd40000 f9e11b4c ea6dcce9 +printf("%.21Lg") gives 3.20133479952876185942e-4932 g_xLfmt(0) gives 25 bytes: "1.234567890123456789e-321" strtoIxL returns 33, consuming 25 bytes. fI[0] = #3bd40000 f9e11b4c ea6dcce8 += 3.20133479952876185905e-4932 fI[1] = #3bd40000 f9e11b4c ea6dcce9 += 3.20133479952876185942e-4932 fI[1] == strtoxL @@ -252,6 +312,7 @@ Input: 1e23 strtoxL consumes 4 bytes and returns 1 with bits = #404b0000 a968163f a57b400 +printf("%.21Lg") gives 1.08760331670538037378e-4932 g_xLfmt(0) gives 5 bytes: "1e+23" strtoIxL returns 1, consuming 4 bytes. @@ -262,11 +323,14 @@ Input: 1e310 strtoxL consumes 5 bytes and returns 33 with bits = #44040000 de81e40a 34bcf50 +printf("%.21Lg") gives 2.48237171106260601618e-4932 g_xLfmt(0) gives 6 bytes: "1e+310" strtoIxL returns 33, consuming 5 bytes. fI[0] = #44040000 de81e40a 34bcf4f += 2.48237171106260601582e-4932 fI[1] = #44040000 de81e40a 34bcf50 += 2.48237171106260601618e-4932 fI[1] == strtoxL @@ -274,11 +338,14 @@ Input: 9.0259718793241475e-277 strtoxL consumes 23 bytes and returns 33 with bits = #3c690000 ffffffff fffffcf7 +printf("%.21Lg") gives 3.36210314311209322303e-4932 g_xLfmt(0) gives 23 bytes: "9.0259718793241475e-277" strtoIxL returns 33, consuming 23 bytes. fI[0] = #3c690000 ffffffff fffffcf6 += 3.36210314311209322267e-4932 fI[1] = #3c690000 ffffffff fffffcf7 += 3.36210314311209322303e-4932 fI[1] == strtoxL @@ -286,11 +353,14 @@ Input: 9.025971879324147880346310405869e-277 strtoxL consumes 37 bytes and returns 17 with bits = #3c6a0000 80000000 0 +printf("%.21Lg") gives 3.36210314311209350626e-4932 g_xLfmt(0) gives 26 bytes: "9.0259718793241478803e-277" strtoIxL returns 17, consuming 37 bytes. fI[0] = #3c6a0000 80000000 0 += 3.36210314311209350626e-4932 fI[1] = #3c6a0000 80000000 1 += 3.64519953188247460253e-4951 fI[0] == strtoxL @@ -298,11 +368,14 @@ Input: 9.025971879324147880346310405868e-277 strtoxL consumes 37 bytes and returns 33 with bits = #3c6a0000 80000000 0 +printf("%.21Lg") gives 3.36210314311209350626e-4932 g_xLfmt(0) gives 26 bytes: "9.0259718793241478803e-277" strtoIxL returns 33, consuming 37 bytes. fI[0] = #3c690000 ffffffff ffffffff += 3.3621031431120935059e-4932 fI[1] = #3c6a0000 80000000 0 += 3.36210314311209350626e-4932 fI[1] == strtoxL @@ -310,11 +383,14 @@ Input: 2.2250738585072014e-308 strtoxL consumes 23 bytes and returns 17 with bits = #3c010000 80000000 46 +printf("%.21Lg") gives 2.55163967231773222177e-4949 g_xLfmt(0) gives 23 bytes: "2.2250738585072014e-308" strtoIxL returns 17, consuming 23 bytes. fI[0] = #3c010000 80000000 46 += 2.55163967231773222177e-4949 fI[1] = #3c010000 80000000 47 += 2.5880916676365569678e-4949 fI[0] == strtoxL @@ -322,11 +398,14 @@ Input: 2.2250738585072013e-308 strtoxL consumes 23 bytes and returns 17 with bits = #3c000000 ffffffff fffffd4f +printf("%.21Lg") gives 3.36210314311209325511e-4932 g_xLfmt(0) gives 23 bytes: "2.2250738585072013e-308" strtoIxL returns 17, consuming 23 bytes. fI[0] = #3c000000 ffffffff fffffd4f += 3.36210314311209325511e-4932 fI[1] = #3c000000 ffffffff fffffd50 += 3.36210314311209325547e-4932 fI[0] == strtoxL Rounding mode for strtor... changed from 1 (nearest) to 0 (toward zero) @@ -335,11 +414,14 @@ Input: 1.1 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 8ccccccc cccccccc +printf("%.21Lg") gives 3.36210314311209350335e-4933 g_xLfmt(0) gives 21 bytes: "1.0999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[1] = #3fff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[0] == strtoxL @@ -347,11 +429,14 @@ Input: -1.1 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 8ccccccc cccccccc +printf("%.21Lg") gives 3.36210314311209350335e-4933 g_xLfmt(0) gives 22 bytes: "-1.0999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[1] = #bfff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[1] == strtoxL @@ -359,11 +444,14 @@ Input: 1.2 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 99999999 99999999 +printf("%.21Lg") gives 6.72420628622418701034e-4933 g_xLfmt(0) gives 21 bytes: "1.1999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[1] = #3fff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[0] == strtoxL @@ -371,11 +459,14 @@ Input: -1.2 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 99999999 99999999 +printf("%.21Lg") gives 6.72420628622418701034e-4933 g_xLfmt(0) gives 22 bytes: "-1.1999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[1] = #bfff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[1] == strtoxL @@ -383,11 +474,14 @@ Input: 1.3 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 a6666666 66666666 +printf("%.21Lg") gives 1.00863094293362805173e-4932 g_xLfmt(0) gives 3 bytes: "1.3" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] = #3fff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[0] == strtoxL @@ -395,11 +489,14 @@ Input: -1.3 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 a6666666 66666666 +printf("%.21Lg") gives 1.00863094293362805173e-4932 g_xLfmt(0) gives 4 bytes: "-1.3" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[1] = #bfff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] == strtoxL @@ -407,11 +504,14 @@ Input: 1.4 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 b3333333 33333333 +printf("%.21Lg") gives 1.34484125724483740243e-4932 g_xLfmt(0) gives 3 bytes: "1.4" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] = #3fff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[0] == strtoxL @@ -419,11 +519,14 @@ Input: -1.4 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 b3333333 33333333 +printf("%.21Lg") gives 1.34484125724483740243e-4932 g_xLfmt(0) gives 4 bytes: "-1.4" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[1] = #bfff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] == strtoxL @@ -431,6 +534,7 @@ Input: 1.5 strtoxL consumes 3 bytes and returns 1 with bits = #3fff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 3 bytes: "1.5" strtoIxL returns 1, consuming 3 bytes. @@ -441,6 +545,7 @@ Input: -1.5 strtoxL consumes 4 bytes and returns 9 with bits = #bfff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 4 bytes: "-1.5" strtoIxL returns 9, consuming 4 bytes. @@ -451,11 +556,14 @@ Input: 1.6 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 cccccccc cccccccc +printf("%.21Lg") gives 2.01726188586725610347e-4932 g_xLfmt(0) gives 21 bytes: "1.5999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[1] = #3fff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[0] == strtoxL @@ -463,11 +571,14 @@ Input: -1.6 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 cccccccc cccccccc +printf("%.21Lg") gives 2.01726188586725610347e-4932 g_xLfmt(0) gives 22 bytes: "-1.5999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[1] = #bfff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[1] == strtoxL @@ -475,11 +586,14 @@ Input: 1.7 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 d9999999 99999999 +printf("%.21Lg") gives 2.35347220017846545417e-4932 g_xLfmt(0) gives 21 bytes: "1.6999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[1] = #3fff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[0] == strtoxL @@ -487,11 +601,14 @@ Input: -1.7 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 d9999999 99999999 +printf("%.21Lg") gives 2.35347220017846545417e-4932 g_xLfmt(0) gives 22 bytes: "-1.6999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[1] = #bfff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[1] == strtoxL @@ -499,11 +616,14 @@ Input: 1.8 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 e6666666 66666666 +printf("%.21Lg") gives 2.68968251448967480486e-4932 g_xLfmt(0) gives 3 bytes: "1.8" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] = #3fff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[0] == strtoxL @@ -511,11 +631,14 @@ Input: -1.8 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 e6666666 66666666 +printf("%.21Lg") gives 2.68968251448967480486e-4932 g_xLfmt(0) gives 4 bytes: "-1.8" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[1] = #bfff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] == strtoxL @@ -523,11 +646,14 @@ Input: 1.9 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 f3333333 33333333 +printf("%.21Lg") gives 3.02589282880088415556e-4932 g_xLfmt(0) gives 3 bytes: "1.9" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] = #3fff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[0] == strtoxL @@ -535,11 +661,14 @@ Input: -1.9 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 f3333333 33333333 +printf("%.21Lg") gives 3.02589282880088415556e-4932 g_xLfmt(0) gives 4 bytes: "-1.9" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[1] = #bfff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] == strtoxL Rounding mode for strtor... changed from 0 (toward zero) to 1 (nearest) @@ -548,11 +677,14 @@ Input: 1.1 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 8ccccccc cccccccd +printf("%.21Lg") gives 3.36210314311209350699e-4933 g_xLfmt(0) gives 3 bytes: "1.1" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[1] = #3fff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[1] == strtoxL @@ -560,11 +692,14 @@ Input: -1.1 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 8ccccccc cccccccd +printf("%.21Lg") gives 3.36210314311209350699e-4933 g_xLfmt(0) gives 4 bytes: "-1.1" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[1] = #bfff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[0] == strtoxL @@ -572,11 +707,14 @@ Input: 1.2 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 99999999 9999999a +printf("%.21Lg") gives 6.72420628622418701398e-4933 g_xLfmt(0) gives 3 bytes: "1.2" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[1] = #3fff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[1] == strtoxL @@ -584,11 +722,14 @@ Input: -1.2 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 99999999 9999999a +printf("%.21Lg") gives 6.72420628622418701398e-4933 g_xLfmt(0) gives 4 bytes: "-1.2" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[1] = #bfff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[0] == strtoxL @@ -596,11 +737,14 @@ Input: 1.3 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 a6666666 66666666 +printf("%.21Lg") gives 1.00863094293362805173e-4932 g_xLfmt(0) gives 3 bytes: "1.3" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] = #3fff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[0] == strtoxL @@ -608,11 +752,14 @@ Input: -1.3 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 a6666666 66666666 +printf("%.21Lg") gives 1.00863094293362805173e-4932 g_xLfmt(0) gives 4 bytes: "-1.3" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[1] = #bfff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] == strtoxL @@ -620,11 +767,14 @@ Input: 1.4 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 b3333333 33333333 +printf("%.21Lg") gives 1.34484125724483740243e-4932 g_xLfmt(0) gives 3 bytes: "1.4" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] = #3fff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[0] == strtoxL @@ -632,11 +782,14 @@ Input: -1.4 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 b3333333 33333333 +printf("%.21Lg") gives 1.34484125724483740243e-4932 g_xLfmt(0) gives 4 bytes: "-1.4" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[1] = #bfff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] == strtoxL @@ -644,6 +797,7 @@ Input: 1.5 strtoxL consumes 3 bytes and returns 1 with bits = #3fff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 3 bytes: "1.5" strtoIxL returns 1, consuming 3 bytes. @@ -654,6 +808,7 @@ Input: -1.5 strtoxL consumes 4 bytes and returns 9 with bits = #bfff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 4 bytes: "-1.5" strtoIxL returns 9, consuming 4 bytes. @@ -664,11 +819,14 @@ Input: 1.6 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 cccccccc cccccccd +printf("%.21Lg") gives 2.01726188586725610383e-4932 g_xLfmt(0) gives 3 bytes: "1.6" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[1] = #3fff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[1] == strtoxL @@ -676,11 +834,14 @@ Input: -1.6 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 cccccccc cccccccd +printf("%.21Lg") gives 2.01726188586725610383e-4932 g_xLfmt(0) gives 4 bytes: "-1.6" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[1] = #bfff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[0] == strtoxL @@ -688,11 +849,14 @@ Input: 1.7 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 d9999999 9999999a +printf("%.21Lg") gives 2.35347220017846545453e-4932 g_xLfmt(0) gives 3 bytes: "1.7" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[1] = #3fff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[1] == strtoxL @@ -700,11 +864,14 @@ Input: -1.7 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 d9999999 9999999a +printf("%.21Lg") gives 2.35347220017846545453e-4932 g_xLfmt(0) gives 4 bytes: "-1.7" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[1] = #bfff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[0] == strtoxL @@ -712,11 +879,14 @@ Input: 1.8 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 e6666666 66666666 +printf("%.21Lg") gives 2.68968251448967480486e-4932 g_xLfmt(0) gives 3 bytes: "1.8" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] = #3fff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[0] == strtoxL @@ -724,11 +894,14 @@ Input: -1.8 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 e6666666 66666666 +printf("%.21Lg") gives 2.68968251448967480486e-4932 g_xLfmt(0) gives 4 bytes: "-1.8" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[1] = #bfff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] == strtoxL @@ -736,11 +909,14 @@ Input: 1.9 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 f3333333 33333333 +printf("%.21Lg") gives 3.02589282880088415556e-4932 g_xLfmt(0) gives 3 bytes: "1.9" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] = #3fff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[0] == strtoxL @@ -748,11 +924,14 @@ Input: -1.9 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 f3333333 33333333 +printf("%.21Lg") gives 3.02589282880088415556e-4932 g_xLfmt(0) gives 4 bytes: "-1.9" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[1] = #bfff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] == strtoxL Rounding mode for strtor... changed from 1 (nearest) to 2 (toward +Infinity) @@ -761,11 +940,14 @@ Input: 1.1 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 8ccccccc cccccccd +printf("%.21Lg") gives 3.36210314311209350699e-4933 g_xLfmt(0) gives 3 bytes: "1.1" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[1] = #3fff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[1] == strtoxL @@ -773,11 +955,14 @@ Input: -1.1 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 8ccccccc cccccccc +printf("%.21Lg") gives 3.36210314311209350335e-4933 g_xLfmt(0) gives 22 bytes: "-1.0999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[1] = #bfff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[1] == strtoxL @@ -785,11 +970,14 @@ Input: 1.2 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 99999999 9999999a +printf("%.21Lg") gives 6.72420628622418701398e-4933 g_xLfmt(0) gives 3 bytes: "1.2" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[1] = #3fff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[1] == strtoxL @@ -797,11 +985,14 @@ Input: -1.2 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 99999999 99999999 +printf("%.21Lg") gives 6.72420628622418701034e-4933 g_xLfmt(0) gives 22 bytes: "-1.1999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[1] = #bfff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[1] == strtoxL @@ -809,11 +1000,14 @@ Input: 1.3 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 a6666666 66666667 +printf("%.21Lg") gives 1.0086309429336280521e-4932 g_xLfmt(0) gives 21 bytes: "1.3000000000000000001" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] = #3fff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[1] == strtoxL @@ -821,11 +1015,14 @@ Input: -1.3 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 a6666666 66666666 +printf("%.21Lg") gives 1.00863094293362805173e-4932 g_xLfmt(0) gives 4 bytes: "-1.3" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[1] = #bfff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] == strtoxL @@ -833,11 +1030,14 @@ Input: 1.4 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 b3333333 33333334 +printf("%.21Lg") gives 1.3448412572448374028e-4932 g_xLfmt(0) gives 21 bytes: "1.4000000000000000001" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] = #3fff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[1] == strtoxL @@ -845,11 +1045,14 @@ Input: -1.4 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 b3333333 33333333 +printf("%.21Lg") gives 1.34484125724483740243e-4932 g_xLfmt(0) gives 4 bytes: "-1.4" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[1] = #bfff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] == strtoxL @@ -857,6 +1060,7 @@ Input: 1.5 strtoxL consumes 3 bytes and returns 1 with bits = #3fff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 3 bytes: "1.5" strtoIxL returns 1, consuming 3 bytes. @@ -867,6 +1071,7 @@ Input: -1.5 strtoxL consumes 4 bytes and returns 9 with bits = #bfff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 4 bytes: "-1.5" strtoIxL returns 9, consuming 4 bytes. @@ -877,11 +1082,14 @@ Input: 1.6 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 cccccccc cccccccd +printf("%.21Lg") gives 2.01726188586725610383e-4932 g_xLfmt(0) gives 3 bytes: "1.6" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[1] = #3fff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[1] == strtoxL @@ -889,11 +1097,14 @@ Input: -1.6 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 cccccccc cccccccc +printf("%.21Lg") gives 2.01726188586725610347e-4932 g_xLfmt(0) gives 22 bytes: "-1.5999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[1] = #bfff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[1] == strtoxL @@ -901,11 +1112,14 @@ Input: 1.7 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 d9999999 9999999a +printf("%.21Lg") gives 2.35347220017846545453e-4932 g_xLfmt(0) gives 3 bytes: "1.7" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[1] = #3fff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[1] == strtoxL @@ -913,11 +1127,14 @@ Input: -1.7 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 d9999999 99999999 +printf("%.21Lg") gives 2.35347220017846545417e-4932 g_xLfmt(0) gives 22 bytes: "-1.6999999999999999999" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[1] = #bfff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[1] == strtoxL @@ -925,11 +1142,14 @@ Input: 1.8 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 e6666666 66666667 +printf("%.21Lg") gives 2.68968251448967480523e-4932 g_xLfmt(0) gives 21 bytes: "1.8000000000000000001" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] = #3fff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[1] == strtoxL @@ -937,11 +1157,14 @@ Input: -1.8 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 e6666666 66666666 +printf("%.21Lg") gives 2.68968251448967480486e-4932 g_xLfmt(0) gives 4 bytes: "-1.8" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[1] = #bfff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] == strtoxL @@ -949,11 +1172,14 @@ Input: 1.9 strtoxL consumes 3 bytes and returns 33 with bits = #3fff0000 f3333333 33333334 +printf("%.21Lg") gives 3.02589282880088415593e-4932 g_xLfmt(0) gives 21 bytes: "1.9000000000000000001" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] = #3fff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[1] == strtoxL @@ -961,11 +1187,14 @@ Input: -1.9 strtoxL consumes 4 bytes and returns 25 with bits = #bfff0000 f3333333 33333333 +printf("%.21Lg") gives 3.02589282880088415556e-4932 g_xLfmt(0) gives 4 bytes: "-1.9" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[1] = #bfff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] == strtoxL Rounding mode for strtor... changed from 2 (toward +Infinity) to 3 (toward -Infinity) @@ -974,11 +1203,14 @@ Input: 1.1 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 8ccccccc cccccccc +printf("%.21Lg") gives 3.36210314311209350335e-4933 g_xLfmt(0) gives 21 bytes: "1.0999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[1] = #3fff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[0] == strtoxL @@ -986,11 +1218,14 @@ Input: -1.1 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 8ccccccc cccccccd +printf("%.21Lg") gives 3.36210314311209350699e-4933 g_xLfmt(0) gives 4 bytes: "-1.1" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 8ccccccc cccccccd += 3.36210314311209350699e-4933 fI[1] = #bfff0000 8ccccccc cccccccc += 3.36210314311209350335e-4933 fI[0] == strtoxL @@ -998,11 +1233,14 @@ Input: 1.2 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 99999999 99999999 +printf("%.21Lg") gives 6.72420628622418701034e-4933 g_xLfmt(0) gives 21 bytes: "1.1999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[1] = #3fff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[0] == strtoxL @@ -1010,11 +1248,14 @@ Input: -1.2 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 99999999 9999999a +printf("%.21Lg") gives 6.72420628622418701398e-4933 g_xLfmt(0) gives 4 bytes: "-1.2" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 99999999 9999999a += 6.72420628622418701398e-4933 fI[1] = #bfff0000 99999999 99999999 += 6.72420628622418701034e-4933 fI[0] == strtoxL @@ -1022,11 +1263,14 @@ Input: 1.3 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 a6666666 66666666 +printf("%.21Lg") gives 1.00863094293362805173e-4932 g_xLfmt(0) gives 3 bytes: "1.3" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[1] = #3fff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[0] == strtoxL @@ -1034,11 +1278,14 @@ Input: -1.3 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 a6666666 66666667 +printf("%.21Lg") gives 1.0086309429336280521e-4932 g_xLfmt(0) gives 22 bytes: "-1.3000000000000000001" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 a6666666 66666667 += 1.0086309429336280521e-4932 fI[1] = #bfff0000 a6666666 66666666 += 1.00863094293362805173e-4932 fI[0] == strtoxL @@ -1046,11 +1293,14 @@ Input: 1.4 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 b3333333 33333333 +printf("%.21Lg") gives 1.34484125724483740243e-4932 g_xLfmt(0) gives 3 bytes: "1.4" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[1] = #3fff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[0] == strtoxL @@ -1058,11 +1308,14 @@ Input: -1.4 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 b3333333 33333334 +printf("%.21Lg") gives 1.3448412572448374028e-4932 g_xLfmt(0) gives 22 bytes: "-1.4000000000000000001" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 b3333333 33333334 += 1.3448412572448374028e-4932 fI[1] = #bfff0000 b3333333 33333333 += 1.34484125724483740243e-4932 fI[0] == strtoxL @@ -1070,6 +1323,7 @@ Input: 1.5 strtoxL consumes 3 bytes and returns 1 with bits = #3fff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 3 bytes: "1.5" strtoIxL returns 1, consuming 3 bytes. @@ -1080,6 +1334,7 @@ Input: -1.5 strtoxL consumes 4 bytes and returns 9 with bits = #bfff0000 c0000000 0 +printf("%.21Lg") gives 1.68105157155604675313e-4932 g_xLfmt(0) gives 4 bytes: "-1.5" strtoIxL returns 9, consuming 4 bytes. @@ -1090,11 +1345,14 @@ Input: 1.6 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 cccccccc cccccccc +printf("%.21Lg") gives 2.01726188586725610347e-4932 g_xLfmt(0) gives 21 bytes: "1.5999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[1] = #3fff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[0] == strtoxL @@ -1102,11 +1360,14 @@ Input: -1.6 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 cccccccc cccccccd +printf("%.21Lg") gives 2.01726188586725610383e-4932 g_xLfmt(0) gives 4 bytes: "-1.6" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 cccccccc cccccccd += 2.01726188586725610383e-4932 fI[1] = #bfff0000 cccccccc cccccccc += 2.01726188586725610347e-4932 fI[0] == strtoxL @@ -1114,11 +1375,14 @@ Input: 1.7 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 d9999999 99999999 +printf("%.21Lg") gives 2.35347220017846545417e-4932 g_xLfmt(0) gives 21 bytes: "1.6999999999999999999" strtoIxL returns 33, consuming 3 bytes. fI[0] = #3fff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[1] = #3fff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[0] == strtoxL @@ -1126,11 +1390,14 @@ Input: -1.7 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 d9999999 9999999a +printf("%.21Lg") gives 2.35347220017846545453e-4932 g_xLfmt(0) gives 4 bytes: "-1.7" strtoIxL returns 41, consuming 4 bytes. fI[0] = #bfff0000 d9999999 9999999a += 2.35347220017846545453e-4932 fI[1] = #bfff0000 d9999999 99999999 += 2.35347220017846545417e-4932 fI[0] == strtoxL @@ -1138,11 +1405,14 @@ Input: 1.8 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 e6666666 66666666 +printf("%.21Lg") gives 2.68968251448967480486e-4932 g_xLfmt(0) gives 3 bytes: "1.8" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[1] = #3fff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[0] == strtoxL @@ -1150,11 +1420,14 @@ Input: -1.8 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 e6666666 66666667 +printf("%.21Lg") gives 2.68968251448967480523e-4932 g_xLfmt(0) gives 22 bytes: "-1.8000000000000000001" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 e6666666 66666667 += 2.68968251448967480523e-4932 fI[1] = #bfff0000 e6666666 66666666 += 2.68968251448967480486e-4932 fI[0] == strtoxL @@ -1162,11 +1435,14 @@ Input: 1.9 strtoxL consumes 3 bytes and returns 17 with bits = #3fff0000 f3333333 33333333 +printf("%.21Lg") gives 3.02589282880088415556e-4932 g_xLfmt(0) gives 3 bytes: "1.9" strtoIxL returns 17, consuming 3 bytes. fI[0] = #3fff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[1] = #3fff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[0] == strtoxL @@ -1174,10 +1450,13 @@ Input: -1.9 strtoxL consumes 4 bytes and returns 41 with bits = #bfff0000 f3333333 33333334 +printf("%.21Lg") gives 3.02589282880088415593e-4932 g_xLfmt(0) gives 22 bytes: "-1.9000000000000000001" strtoIxL returns 25, consuming 4 bytes. fI[0] = #bfff0000 f3333333 33333334 += 3.02589282880088415593e-4932 fI[1] = #bfff0000 f3333333 33333333 += 3.02589282880088415556e-4932 fI[0] == strtoxL |