353 lines
14 KiB
Text
353 lines
14 KiB
Text
|
# Test triples for strtodt, derived from Fred Tydeman's posting
|
||
|
# of 26 February 1996 to comp.arch.arithmetic.
|
||
|
|
||
|
9e0306 7fa9a202 8368022e
|
||
|
4e-079 2fa7b6d7 1d20b96c
|
||
|
7e-261 9eb8d7e 32be6396
|
||
|
6e-025 3ae7361c b863de62
|
||
|
7e-161 1eaf7e0d b3799aa3
|
||
|
7e0289 7c1cbb54 7777a285
|
||
|
5e0079 507afcef 51f0fb5f
|
||
|
1e0080 508afcef 51f0fb5f
|
||
|
7e-303 1333391 31c46f8b
|
||
|
5e0152 5fa317e5 ef3ab327
|
||
|
5e0125 5a07a2ec c414a03f
|
||
|
2e0126 5a27a2ec c414a03f
|
||
|
7e-141 22d5570f 59bd178c
|
||
|
4e-192 18323ff0 6eea847a
|
||
|
9e0043 49102498 ea6df0c4
|
||
|
1e0303 7ed754e3 1cd072da
|
||
|
95e-089 2dde3cbc 9907fdc8
|
||
|
85e0194 689d1c26 db7d0dae
|
||
|
69e0267 77c0b7cb 60c994da
|
||
|
97e-019 3c665dde 8e688ba6
|
||
|
37e0046 49d033d7 eca0adef
|
||
|
74e0046 49e033d7 eca0adef
|
||
|
61e-099 2bc0ad83 6f269a17
|
||
|
53e-208 151b39ae 1909c31b
|
||
|
93e-234 fc27b2e 4f210075
|
||
|
79e-095 2c9a5db8 12948281
|
||
|
87e-274 772d36c f48e7abd
|
||
|
83e0025 4585747a b143e353
|
||
|
17e-036 38b698cc dc60015a
|
||
|
53e0033 47246a34 18629ef6
|
||
|
51e-074 30ecd5be e57763e6
|
||
|
63e-022 3bbdc03b 8fd7016a
|
||
|
839e0143 5e3ae03f 245703e2
|
||
|
749e-182 1abf1472 7744c63e
|
||
|
999e-026 3b282782 afe1869e
|
||
|
345e0266 77b0b7cb 60c994da
|
||
|
914e-102 2b5ffc81 bc29f02b
|
||
|
829e0102 55b7221a 79cdd1d9
|
||
|
307e0090 5322d6b1 83fe4b55
|
||
|
859e0182 6654374d 8b87ac63
|
||
|
283e0085 5216c309 24bab4b
|
||
|
589e0187 675526be 9c22eb17
|
||
|
302e0176 64fdcf7d f8f573b7
|
||
|
604e0176 650dcf7d f8f573b7
|
||
|
761e-244 de03cea 3586452e
|
||
|
647e0230 7044d64d 4079150c
|
||
|
755e0174 64a7d931 93f78fc6
|
||
|
255e-075 30dcd5be e57763e6
|
||
|
3391e0055 4c159bd3 ad46e346
|
||
|
4147e-015 3d923d1b 5eb1d778
|
||
|
3996e-026 3b482782 afe1869e
|
||
|
1998e-026 3b382782 afe1869e
|
||
|
3338e-296 335519a c5142aab
|
||
|
1669e-296 325519a c5142aab
|
||
|
8699e-276 772d2df 246ecd2d
|
||
|
5311e0243 73284e91 f4aa0fdb
|
||
|
7903e-096 2cd07c2d 27a5b989
|
||
|
7611e-226 11d19b87 44033457
|
||
|
3257e0058 4cb444b3 4a6fb3eb
|
||
|
6514e0058 4cc444b3 4a6fb3eb
|
||
|
3571e0263 77462644 c61d41aa
|
||
|
7142e0263 77562644 c61d41aa
|
||
|
5311e0242 72f3720e 5d54d97c
|
||
|
1617e-063 3384c98f ce16152e
|
||
|
51881e0037 4897d295 dc76da4
|
||
|
31441e-118 285ef890 f5de4c86
|
||
|
30179e0079 5143e272 a77478e8
|
||
|
60358e0079 5153e272 a77478e8
|
||
|
63876e-020 3cc70385 6844bdbf
|
||
|
31938e-020 3cb70385 6844bdbf
|
||
|
46073e-032 3a42405b 773fbdf3
|
||
|
32941e0051 4b757eb8 ad52a5c9
|
||
|
82081e0041 49770105 df3d47cb
|
||
|
38701e-215 1440492a 4a8a37fd
|
||
|
62745e0047 4ab0c52f e6dc6a1b
|
||
|
12549e0048 4ac0c52f e6dc6a1b
|
||
|
64009e-183 1af099b3 93b84832
|
||
|
89275e0261 77262644 c61d41aa
|
||
|
75859e0025 46232645 e1ba93f0
|
||
|
57533e0287 7c8272ed 2307f56a
|
||
|
584169e0229 70ad6570 59dc79aa
|
||
|
940189e-112 29eb99d6 240c1a28
|
||
|
416121e0197 6a00fd07 ed297f80
|
||
|
832242e0197 6a10fd07 ed297f80
|
||
|
584738e0076 50e8a85e b277e645
|
||
|
933587e-140 241b2487 28b9c117
|
||
|
252601e0121 5a2dda59 2e398dd7
|
||
|
358423e0274 79f9463b 59b8f2bd
|
||
|
892771e-213 14f25818 c7294f27
|
||
|
410405e0040 49670105 df3d47cb
|
||
|
928609e-261 afbe2dd 66200bef
|
||
|
302276e-254 c55a462 d91c6ab3
|
||
|
920657e-023 3c653a99 85dbde6c
|
||
|
609019e-025 3bf1f99e 11ea0a24
|
||
|
252601e0120 59f7e1e0 f1c7a4ac
|
||
|
654839e-060 34b00e7d b3b3f242
|
||
|
8823691e0130 5c5e597c b94b7ae
|
||
|
2920845e0228 709d6570 59dc79aa
|
||
|
9210917e0080 51fda232 347e6032
|
||
|
5800419e-303 26e58ff a48f4fce
|
||
|
6119898e-243 ee3ecf2 2ea07863
|
||
|
3059949e-243 ed3ecf2 2ea07863
|
||
|
2572231e0223 6f90f73b e1dff9ad
|
||
|
5444097e-021 3cf8849d d33c95af
|
||
|
5783893e-127 26f7e590 2ce0e151
|
||
|
3865421e-225 1295d4fe 53afec65
|
||
|
4590831e0156 61b4689b 4a5fa201
|
||
|
9181662e0156 61c4689b 4a5fa201
|
||
|
5906361e-027 3bbbe45a 312d08a0
|
||
|
7315057e0235 7225f0d4 8362a72
|
||
|
9088115e0106 5762e51a 84a3c6a0
|
||
|
1817623e0107 5772e51a 84a3c6a0
|
||
|
44118455e0129 5c4e597c b94b7ae
|
||
|
35282041e0293 7e5512d5 273e62e8
|
||
|
31279898e-291 5129b01 b6885d36
|
||
|
15639949e-291 5029b01 b6885d36
|
||
|
27966061e0145 5f955bcf 72fd10f9
|
||
|
55932122e0145 5fa55bcf 72fd10f9
|
||
|
70176353e-053 36900683 a21de855
|
||
|
40277543e-032 3adf29ca ff893b1
|
||
|
50609263e0157 622193af f1f1c8e3
|
||
|
66094077e0077 518b37c4 b7928317
|
||
|
84863171e0114 59406e98 f5ec8f37
|
||
|
89396333e0264 786526f0 61ca9053
|
||
|
87575437e-309 16e0732 602056c
|
||
|
78693511e-044 3870bc7b 7603a2ca
|
||
|
90285923e-206 16d14700 83f89d48
|
||
|
30155207e-030 3b423a4a d20748a2
|
||
|
245540327e0121 5acc569e 968e0944
|
||
|
263125459e0287 7d44997a 298b2f2e
|
||
|
566446538e-257 c64472b a9550e86
|
||
|
283223269e-257 c54472b a9550e86
|
||
|
245540327e0122 5b01b623 1e18c5cb
|
||
|
491080654e0122 5b11b623 1e18c5cb
|
||
|
971212611e-126 27a397d3 c9745d2f
|
||
|
229058583e0052 4c76ce94 febdc7a5
|
||
|
325270231e0039 49cc7ccf 90c9f8ab
|
||
|
989648089e-035 3a8880a3 d515e849
|
||
|
653777767e0273 7a720223 f2b3a881
|
||
|
923091487e0209 6d30bc60 e6896717
|
||
|
526250918e0288 7d89bfd8 b3edfafa
|
||
|
350301748e-309 18e0732 602056c
|
||
|
741111169e-203 17a14fe7 daf8f3ae
|
||
|
667284113e-240 ff09355 f8050c02
|
||
|
1227701635e0120 5abc569e 968e0944
|
||
|
9981396317e-182 1c38afe1 a2a66aa
|
||
|
5232604057e-298 41465b8 96c24520
|
||
|
5572170023e-088 2fb08478 22f765b2
|
||
|
1964322616e0122 5b31b623 1e18c5cb
|
||
|
3928645232e0122 5b41b623 1e18c5cb
|
||
|
8715380633e-058 35f4614c 3219891f
|
||
|
4856063055e-127 279397d3 c9745d2f
|
||
|
8336960483e-153 223a06a1 24b95e1
|
||
|
1007046393e-155 21a01891 fc4717fd
|
||
|
5378822089e-176 1d695fd4 c88d4b1b
|
||
|
5981342308e-190 1a83db11 ac608107
|
||
|
7214782613e-086 3020b552 d2edcdea
|
||
|
5458466829e0142 5f70acde 6a98eb4c
|
||
|
9078555839e-109 2b5fc575 867314ee
|
||
|
6418488827e0079 526021f1 4ed7b3fa
|
||
|
65325840981e0069 5081a151 ddbd3c4a
|
||
|
49573485983e0089 54a221bd 871d2cf4
|
||
|
46275205733e0074 51830e6c 7d4e3480
|
||
|
92550411466e0074 51930e6c 7d4e3480
|
||
|
41129842097e-202 1832c3e7 2d179607
|
||
|
93227267727e-049 380960fe 8d5847f
|
||
|
41297294357e0185 688c4943 7fccfadb
|
||
|
41534892987e-067 343a1266 6477886d
|
||
|
42333842451e0201 6be0189a 26df575f
|
||
|
78564021519e-227 13115551 5fd37265
|
||
|
53587107423e-061 35800a19 a3ffd981
|
||
|
53827010643e-200 18a32fa6 9a69bd6d
|
||
|
83356057653e0193 6a4544e6 daee2a18
|
||
|
45256834646e-118 29a541ec dfd48694
|
||
|
45392779195e-110 2b4fc575 867314ee
|
||
|
23934638219e0291 7e81deaf 40ead9a0
|
||
|
995779191233e0113 59e2d44e dcc51304
|
||
|
997422852243e-265 b676688 faee99bc
|
||
|
653532977297e-123 28d925a0 aabcdc68
|
||
|
938885684947e0147 60f11894 b202e9f4
|
||
|
619534293513e0124 5c210c20 303fe0f1
|
||
|
539879452414e-042 39a5e66d c3d6bdb5
|
||
|
742522891517e0259 782c1c35 2fc3c309
|
||
|
254901016865e-022 3dbc06d3 66394441
|
||
|
685763015669e0280 7c85fd7a a44d9477
|
||
|
384865004907e-285 72aa65b 58639e69
|
||
|
286556458711e0081 5321958b 36c5102b
|
||
|
573112917422e0081 5331958b 36c5102b
|
||
|
769525178383e-150 234253ec e161420
|
||
|
416780288265e0192 6a3544e6 daee2a18
|
||
|
226963895975e-111 2b3fc575 867314ee
|
||
|
665592809339e0063 4f778b65 16c2b478
|
||
|
3891901811465e0217 6f99ab82 61990292
|
||
|
4764593340755e0069 50e4177a 9915fbf8
|
||
|
6336156586177e0269 7a7173f7 6c63b792
|
||
|
8233559360849e0095 56566fee 5649a7a
|
||
|
3662265515198e-107 2c538e6e dd48f2a3
|
||
|
1831132757599e-107 2c438e6e dd48f2a3
|
||
|
7812878489261e-179 1d726dae 7bbeda75
|
||
|
6363857920591e0145 60b28a61 cf9483b7
|
||
|
8811915538555e0082 53a51f50 8b287ae7
|
||
|
9997878507563e-195 1a253db2 fea1ea31
|
||
|
9224786422069e-291 634ee5d 56b32957
|
||
|
6284426329974e-294 58d3409 dfbca26f
|
||
|
9199302046091e-062 35c13597 2630774c
|
||
|
6070482281213e-122 29423fa9 e6fcf47e
|
||
|
2780161250963e-301 405acc2 53064c2
|
||
|
8233559360849e0094 5621f324 d11d4862
|
||
|
72027097041701e0206 6d946778 12d3a606
|
||
|
97297545286625e0215 6f79ab82 61990292
|
||
|
99021992302453e-025 3da5c671 4def374c
|
||
|
54104687080198e-022 3e373cdf 8db7a7bc
|
||
|
33519685743233e0089 5537f203 339c9629
|
||
|
67039371486466e0089 5547f203 339c9629
|
||
|
39064392446305e-180 1d626dae 7bbeda75
|
||
|
17796979903653e0261 78e072f3 819c1321
|
||
|
28921916763211e0038 4a9eebab e0957af3
|
||
|
87605699161665e0155 6302920f 96e7f9ef
|
||
|
41921560615349e-067 34d9b2a5 c4041e4b
|
||
|
80527976643809e0061 4f7c7c5a ea080a49
|
||
|
72335858886654e-159 21cce77c 2b3328fc
|
||
|
52656615219377e0102 57f561de f4a9ee32
|
||
|
15400733123779e-072 33b8bf7e 7fa6f02a
|
||
|
77003665618895e-073 33a8bf7e 7fa6f02a
|
||
|
475603213226859e-042 3a42d730 88f4050a
|
||
|
972708181182949e0116 5b218a7f 36172332
|
||
|
246411729980464e-071 342eef5e 1f90ac34
|
||
|
123205864990232e-071 341eef5e 1f90ac34
|
||
|
609610927149051e-255 e104273 b18918b1
|
||
|
475603213226859e-041 3a778cfc ab31064d
|
||
|
672574798934795e0065 508226c6 84c87261
|
||
|
134514959786959e0066 509226c6 84c87261
|
||
|
294897574603217e-151 2395f2df 5e675a0f
|
||
|
723047919080275e0036 4a7eebab e0957af3
|
||
|
660191429952702e-088 30bddc7e 975c5045
|
||
|
330095714976351e-088 30addc7e 975c5045
|
||
|
578686871093232e-159 21fce77c 2b3328fc
|
||
|
144671717773308e-159 21dce77c 2b3328fc
|
||
|
385018328094475e-074 3398bf7e 7fa6f02a
|
||
|
330095714976351e-089 3077e398 7916a69e
|
||
|
2215901545757777e-212 171a80a6 e566428c
|
||
|
1702061899637397e-276 9cacc46 749dccfe
|
||
|
1864950924021923e0213 6f53ae60 753af6ca
|
||
|
3729901848043846e0213 6f63ae60 753af6ca
|
||
|
7487252720986826e-165 20f8823a 57adbef9
|
||
|
3743626360493413e-165 20e8823a 57adbef9
|
||
|
4988915232824583e0119 5be5f6de 9d5d6b5b
|
||
|
3771476185376383e0277 7cae3c14 d6916ce9
|
||
|
6182410494241627e-119 2a81b964 58445d07
|
||
|
2572981889477453e0142 609dfc11 fbf46087
|
||
|
7793560217139653e0051 4dd28046 1b856ec5
|
||
|
9163942927285259e-202 194fe601 457dce4d
|
||
|
6353227084707473e0155 63650aff 653ffe8a
|
||
|
4431803091515554e-211 17609068 4f5fe998
|
||
|
9324754620109615e0211 6f0f7d67 21f7f144
|
||
|
8870461176410409e0263 79d90529 a37b7e22
|
||
|
90372559027740405e0143 612491da ad0ba280
|
||
|
18074511805548081e0146 61a011f2 d73116f4
|
||
|
54897030182071313e0029 496ec556 66d8f9ec
|
||
|
76232626624829156e-032 3ccb7738 11e75fe
|
||
|
59898021767894608e-165 2128823a 57adbef9
|
||
|
29949010883947304e-165 2118823a 57adbef9
|
||
|
26153245263757307e0049 4d83de00 5bd620df
|
||
|
27176258005319167e-261 d27c074 7bd76fa1
|
||
|
18074511805548081e0147 61d4166f 8cfd5cb1
|
||
|
24691002732654881e-115 2b759a27 83ce70ab
|
||
|
58483921078398283e0057 4f408ce4 99519ce3
|
||
|
64409240769861689e-159 22692238 f7987779
|
||
|
94080055902682397e-242 11364981 e39e66ca
|
||
|
31766135423537365e0154 63550aff 653ffe8a
|
||
|
68985865317742005e0164 657a999d dec72aca
|
||
|
13797173063548401e0165 658a999d dec72aca
|
||
|
902042358290366539e-281 9522dc0 1ca1cb8c
|
||
|
238296178309629163e0272 7c038fd9 3f1f5342
|
||
|
783308178698887621e0226 72925ae6 2cb346d8
|
||
|
439176241456570504e0029 499ec556 66d8f9ec
|
||
|
899810892172646163e0283 7e6adf51 fa055e03
|
||
|
926145344610700019e-225 14f307a6 7f1f69ff
|
||
|
653831131593932675e0047 4d63de00 5bd620df
|
||
|
130766226318786535e0048 4d73de00 5bd620df
|
||
|
557035730189854663e-294 693bfac 6bc4767b
|
||
|
902042358290366539e-280 986b930 23ca3e6f
|
||
|
272104041512242479e0200 6d13bbb4 bf05f087
|
||
|
544208083024484958e0200 6d23bbb4 bf05f087
|
||
|
680429695511221511e0192 6b808ebc 116f8a20
|
||
|
308975121073410857e0236 7490db75 cc001072
|
||
|
792644927852378159e0078 53d7bff3 36d8ff06
|
||
|
783308178698887621e0223 71f2cbac 35f71140
|
||
|
8396094300569779681e-252 f8ab223 efcee35a
|
||
|
3507665085003296281e-074 346b85c0 26a264e4
|
||
|
7322325862592278999e0074 5336775b 6caa5ae0
|
||
|
6014546754280072926e0209 6f396397 b06732a4
|
||
|
7120190517612959703e0120 5cc3220d cd5899fd
|
||
|
3507665085003296281e-073 34a13398 18257f0f
|
||
|
4345544743100783551e-218 168a9c42 e5b6d89f
|
||
|
9778613303868468131e-090 313146fe 1075e1ef
|
||
|
7539204280836061195e-082 32d3d969 e3dbe723
|
||
|
7862637540082247119e-202 19eaba32 62ee707b
|
||
|
2176832332097939832e0200 6d43bbb4 bf05f087
|
||
|
8643988913946659879e0115 5bbe71ec 1ed0a4f9
|
||
|
5529436763613147623e0138 6079c677 be6f236e
|
||
|
6764958008109694533e-173 1fed0669 2e6f5ef6
|
||
|
6802601037806061975e0197 6cbf92ba cb3cb40c
|
||
|
1360520207561212395e0198 6ccf92ba cb3cb40c
|
||
|
62259110684423957791e0047 4dcd8f2c fc20d6e8
|
||
|
88800290202542652011e-226 1526cec5 1a43f41a
|
||
|
41010852717673354694e-221 16201295 4b6aabba
|
||
|
20505426358836677347e-221 16101295 4b6aabba
|
||
|
66102447903809911604e0055 4f776206 8a24fd55
|
||
|
35600952588064798515e0119 5cb3220d cd5899fd
|
||
|
14371240869903838702e0205 6e78d92d 2bcc7a81
|
||
|
57500690832492901689e0043 4cf65d3e 2acd616b
|
||
|
23432630639573022093e-107 2dbdd54c 40a2f25f
|
||
|
62259110684423957791e0048 4e02797c 1d948651
|
||
|
35620497849450218807e-306 475b220 82529425
|
||
|
69658634627134074624e0200 6d93bbb4 bf05f087
|
||
|
99440755792436956989e-062 37362d10 462a26f4
|
||
|
55277197169490210673e0081 54d945bf a911e32a
|
||
|
36992084760177624177e-318 1f8c5f9 551c2f9a
|
||
|
30888265282878466443e-111 2cf01b8e f28251fc
|
||
|
|
||
|
# examples of bugs introduced 20001113, fixed 20010207
|
||
|
# first is 2^-1075 (half the smallest denormal)
|
||
|
2.4703282292062327208828439643411068618252990130716238221279284125033775363510437593264991818081799618989828234772285886546332835517796989819938739800539093906315035659515570226392290858392449105184435931802849936536152500319370457678249219365623669863658480757001585769269903706311928279558551332927834338409351978015531246597263579574622766465272827220056374006485499977096599470454020828166226237857393450736339007967761930577506740176324673600968951340535537458516661134223766678604162159680461914467291840300530057530849048765391711386591646239524912623653881879636239373280423891018672348497668235089863388587925628302755995657524455507255189313690836254779186948667994968324049705821028513185451396213837722826145437693412532098591327667236328125e-324 0 0
|
||
|
2.47032822920623272e-324 0 0
|
||
|
|
||
|
# examples reported by Mark Dickinson of bugs in the bigcomp() logic introduced
|
||
|
# 20090316 in dtoa.c to speed handling of absurdly long input:
|
||
|
12579816049008305546974391768996369464963024663104e-357 90bbd 7412d19f
|
||
|
17489628565202117263145367596028389348922981857013e-357 c938e 9000492f
|
||
|
18487398785991994634182916638542680759613590482273e-357 d4b3a ee198863
|
||
|
32002864200581033134358724675198044527469366773928e-358 24d1e ed8448e3
|
||
|
99999999999999994487665465554760717039532578546e-47 3ff00000 0
|
||
|
1.0000000000000000100000000000000000000001e44 4911efc6 59cf7d4c
|
||
|
1000000000000000000000000000000000000000e-16 44b52d02 c7e14af6
|
||
|
10000000000000000000000000000000000000000e-17 44b52d02 c7e14af6
|
||
|
10.900000000000000012345678912345678912345 4025cccc cccccccd
|
||
|
104308485241983990666713401708072175773165034278685682646111762292409330928739751702404658197872319129036519947435319418387839758990478549477777586673075945844895981012024387992135617064532141489278815239849108105951619997829153633535314849999674266169258928940692239684771590065027025835804863585454872499320500023126142553932654370362024104462255244034053203998964360882487378334860197725139151265590832887433736189468858614521708567646743455601905935595381852723723645799866672558576993978025033590728687206296379801363024094048327273913079612469982585674824156000783167963081616214710691759864332339239688734656548790656486646106983450809073750535624894296242072010195710276073042036425579852459556183541199012652571123898996574563824424330960027873516082763671875e-1075 78026 65fd9600
|
||
|
99037485700245683102805043437346965248029601286431e-373 0 2
|
||
|
99617639833743863161109961162881027406769510558457e-373 0 2
|
||
|
98852915025769345295749278351563179840130565591462e-372 0 14
|
||
|
99059944827693569659153042769690930905148015876788e-373 0 2
|
||
|
98914979205069368270421829889078356254059760327101e-372 0 14
|
||
|
0.999999999999999999999999999999999999999999999e23 44b52d02 c7e14af6
|
||
|
991633793189150720000000000000000000000000000000000000000e-33 44ea3f92 6bad90c6
|
||
|
37652435753827922121470370984740152789920e234 78f1667a c9e75d61
|
||
|
999999999999999996790597280027956716285163e-42 3ff00000 0
|
||
|
9483973038658180570348795755328802873667739881500874740826641664593613312413122937394311083577538394191754403820631172036846773125424639263833553383990195662207006139342261292777056851379062046720e0 68a03d69 82f2f936
|
||
|
20209005503919489280000000000000000000000000000000000000000e-40 43bc0bae 57e880e6
|