154 references to CheckOneDouble
Microsoft.CodeAnalysis.UnitTests (154)
RealParserTests.cs (154)
23CheckOneDouble("0.6822871999174", 0x3FE5D54BF743FD1Bul);
26CheckOneDouble("2.2250738585072011e-308", 0x000FFFFFFFFFFFFFul);
27CheckOneDouble("2.2250738585072012e-308", 0x0010000000000000ul);
30CheckOneDouble("1.3694713649464322631e-11", 0x3DAE1D703BB5749Dul);
31CheckOneDouble("9.3170532238714134438e+16", 0x4374B021AFD9F651ul);
34CheckOneDouble("0.84551240822557006", 0x3FEB0E7009B61CE0ul);
39CheckOneDouble("1.8254370818746402660437411213933955878019332885742187", 0x3FFD34FD8378EA83ul);
42CheckOneDouble("7.8459735791271921e+65", 0x4D9DCD0089C1314Eul);
43CheckOneDouble("3.08984926168550152811e-32", 0x39640DE48676653Bul);
46CheckOneDouble("0.6822871999174000000", 0x3FE5D54BF743FD1Bul);
47CheckOneDouble("0.6822871999174000001", 0x3FE5D54BF743FD1Bul);
50CheckOneDouble("88.7448699245e+188", 0x675fde6aee647ed2ul);
51CheckOneDouble("02.0500496671303857e-88", 0x2dba19a3cf32cd7ful);
52CheckOneDouble("1.15362842193e193", 0x68043a6fcda86331ul);
53CheckOneDouble("65.9925719e-190", 0x18dd672e04e96a79ul);
54CheckOneDouble("0.4619024460e-158", 0x1f103c1e5abd7c87ul);
55CheckOneDouble("61.8391820096448e147", 0x5ed35849885ad12bul);
56CheckOneDouble("0.2e+127", 0x5a27a2ecc414a03ful);
57CheckOneDouble("0.8e+127", 0x5a47a2ecc414a03ful);
58CheckOneDouble("35.27614496323756e-307", 0x0083d141335ce6c7ul);
59CheckOneDouble("3.400034617466e190", 0x677e863a216ab367ul);
60CheckOneDouble("0.78393577148319e-254", 0x0b2d6d5379bc932dul);
61CheckOneDouble("0.947231e+100", 0x54b152a10483a38ful);
62CheckOneDouble("4.e126", 0x5a37a2ecc414a03ful);
63CheckOneDouble("6.235271922748e-165", 0x1dd6faeba4fc9f91ul);
64CheckOneDouble("3.497444198362024e-82", 0x2f053b8036dd4203ul);
65CheckOneDouble("8.e+126", 0x5a47a2ecc414a03ful);
66CheckOneDouble("10.027247729e+91", 0x53089cc2d930ed3ful);
67CheckOneDouble("4.6544819e-192", 0x18353c5d35ceaaadul);
68CheckOneDouble("5.e+125", 0x5a07a2ecc414a03ful);
69CheckOneDouble("6.96768e68", 0x4e39d8352ee997f9ul);
70CheckOneDouble("0.73433e-145", 0x21cd57b723dc17bful);
71CheckOneDouble("31.076044256878e259", 0x76043627aa7248dful);
72CheckOneDouble("0.8089124675e-201", 0x162fb3bf98f037f7ul);
73CheckOneDouble("88.7453407049700914e-144", 0x227150a674c218e3ul);
74CheckOneDouble("32.401089401e-65", 0x32c10fa88084d643ul);
75CheckOneDouble("0.734277884753e-209", 0x14834fdfb6248755ul);
76CheckOneDouble("8.3435e+153", 0x5fe3e9c5b617dc39ul);
77CheckOneDouble("30.379e-129", 0x25750ec799af9efful);
78CheckOneDouble("78.638509299e141", 0x5d99cb8c0a72cd05ul);
79CheckOneDouble("30.096884930e-42", 0x3784f976b4d47d63ul);
82CheckOneDouble("69e+267", 0x77C0B7CB60C994DAul);
83CheckOneDouble("999e-026", 0x3B282782AFE1869Eul);
84CheckOneDouble("7861e-034", 0x39AFE3544145E9D8ul);
85CheckOneDouble("75569e-254", 0x0C35A462D91C6AB3ul);
86CheckOneDouble("928609e-261", 0x0AFBE2DD66200BEFul);
87CheckOneDouble("9210917e+080", 0x51FDA232347E6032ul);
88CheckOneDouble("84863171e+114", 0x59406E98F5EC8F37ul);
89CheckOneDouble("653777767e+273", 0x7A720223F2B3A881ul);
90CheckOneDouble("5232604057e-298", 0x041465B896C24520ul);
91CheckOneDouble("27235667517e-109", 0x2B77D41824D64FB2ul);
92CheckOneDouble("653532977297e-123", 0x28D925A0AABCDC68ul);
93CheckOneDouble("3142213164987e-294", 0x057D3409DFBCA26Ful);
94CheckOneDouble("46202199371337e-072", 0x33D28F9EDFBD341Ful);
95CheckOneDouble("231010996856685e-073", 0x33C28F9EDFBD341Ful);
96CheckOneDouble("9324754620109615e+212", 0x6F43AE60753AF6CAul);
97CheckOneDouble("78459735791271921e+049", 0x4D9DCD0089C1314Eul);
98CheckOneDouble("272104041512242479e+200", 0x6D13BBB4BF05F087ul);
99CheckOneDouble("6802601037806061975e+198", 0x6CF3BBB4BF05F087ul);
100CheckOneDouble("20505426358836677347e-221", 0x161012954B6AABBAul);
101CheckOneDouble("836168422905420598437e-234", 0x13B20403A628A9CAul);
102CheckOneDouble("4891559871276714924261e+222", 0x7286ECAF7694A3C7ul);
105CheckOneDouble("85e-037", 0x38A698CCDC60015Aul);
106CheckOneDouble("623e+100", 0x554640A62F3A83DFul);
107CheckOneDouble("3571e+263", 0x77462644C61D41AAul);
108CheckOneDouble("81661e+153", 0x60B7CA8E3D68578Eul);
109CheckOneDouble("920657e-023", 0x3C653A9985DBDE6Cul);
110CheckOneDouble("4603285e-024", 0x3C553A9985DBDE6Cul);
111CheckOneDouble("87575437e-309", 0x016E07320602056Cul);
112CheckOneDouble("245540327e+122", 0x5B01B6231E18C5CBul);
113CheckOneDouble("6138508175e+120", 0x5AE1B6231E18C5CBul);
114CheckOneDouble("83356057653e+193", 0x6A4544E6DAEE2A18ul);
115CheckOneDouble("619534293513e+124", 0x5C210C20303FE0F1ul);
116CheckOneDouble("2335141086879e+218", 0x6FC340A1C932C1EEul);
117CheckOneDouble("36167929443327e-159", 0x21BCE77C2B3328FCul);
118CheckOneDouble("609610927149051e-255", 0x0E104273B18918B1ul);
119CheckOneDouble("3743626360493413e-165", 0x20E8823A57ADBEF9ul);
120CheckOneDouble("94080055902682397e-242", 0x11364981E39E66CAul);
121CheckOneDouble("899810892172646163e+283", 0x7E6ADF51FA055E03ul);
122CheckOneDouble("7120190517612959703e+120", 0x5CC3220DCD5899FDul);
123CheckOneDouble("25188282901709339043e-252", 0x0FA4059AF3DB2A84ul);
124CheckOneDouble("308984926168550152811e-052", 0x39640DE48676653Bul);
125CheckOneDouble("6372891218502368041059e+064", 0x51C067047DBB38FEul);
128CheckOneDouble("1e-23", 0x3B282DB34012B251ul);
129CheckOneDouble("8.533e+68", 0x4E3FA69165A8EEA2ul);
130CheckOneDouble("4.1006e-184", 0x19DBE0D1C7EA60C9ul);
131CheckOneDouble("9.998e+307", 0x7FE1CC0A350CA87Bul);
132CheckOneDouble("9.9538452227e-280", 0x0602117AE45CDE43ul);
133CheckOneDouble("6.47660115e-260", 0x0A1FDD9E333BADADul);
134CheckOneDouble("7.4e+47", 0x49E033D7ECA0ADEFul);
135CheckOneDouble("5.92e+48", 0x4A1033D7ECA0ADEFul);
136CheckOneDouble("7.35e+66", 0x4DD172B70EABABA9ul);
137CheckOneDouble("8.32116e+55", 0x4B8B2628393E02CDul);
146CheckOneDouble("0.0", 0x0000000000000000ul);
192CheckOneDouble("1", 0x3ff0000000000000);
193CheckOneDouble("2", 0x4000000000000000);
194CheckOneDouble("3", 0x4008000000000000);
195CheckOneDouble("4", 0x4010000000000000);
196CheckOneDouble("5", 0x4014000000000000);
197CheckOneDouble("6", 0x4018000000000000);
198CheckOneDouble("7", 0x401C000000000000);
199CheckOneDouble("8", 0x4020000000000000);
201CheckOneDouble("9007199254740984", 0x433ffffffffffff8);
202CheckOneDouble("9007199254740985", 0x433ffffffffffff9);
203CheckOneDouble("9007199254740986", 0x433ffffffffffffa);
204CheckOneDouble("9007199254740987", 0x433ffffffffffffb);
205CheckOneDouble("9007199254740988", 0x433ffffffffffffc);
206CheckOneDouble("9007199254740989", 0x433ffffffffffffd);
207CheckOneDouble("9007199254740990", 0x433ffffffffffffe);
208CheckOneDouble("9007199254740991", 0x433fffffffffffff); // 2^53 - 1
211CheckOneDouble("5.0e-324", 0x0000000000000001);
212CheckOneDouble("1.0e-323", 0x0000000000000002);
213CheckOneDouble("1.5e-323", 0x0000000000000003);
214CheckOneDouble("2.0e-323", 0x0000000000000004);
215CheckOneDouble("2.5e-323", 0x0000000000000005);
216CheckOneDouble("3.0e-323", 0x0000000000000006);
217CheckOneDouble("3.5e-323", 0x0000000000000007);
218CheckOneDouble("4.0e-323", 0x0000000000000008);
219CheckOneDouble("4.5e-323", 0x0000000000000009);
220CheckOneDouble("5.0e-323", 0x000000000000000a);
221CheckOneDouble("5.5e-323", 0x000000000000000b);
222CheckOneDouble("6.0e-323", 0x000000000000000c);
223CheckOneDouble("6.5e-323", 0x000000000000000d);
224CheckOneDouble("7.0e-323", 0x000000000000000e);
225CheckOneDouble("7.5e-323", 0x000000000000000f);
227CheckOneDouble("2.2250738585071935e-308", 0x000ffffffffffff0);
228CheckOneDouble("2.2250738585071940e-308", 0x000ffffffffffff1);
229CheckOneDouble("2.2250738585071945e-308", 0x000ffffffffffff2);
230CheckOneDouble("2.2250738585071950e-308", 0x000ffffffffffff3);
231CheckOneDouble("2.2250738585071955e-308", 0x000ffffffffffff4);
232CheckOneDouble("2.2250738585071960e-308", 0x000ffffffffffff5);
233CheckOneDouble("2.2250738585071964e-308", 0x000ffffffffffff6);
234CheckOneDouble("2.2250738585071970e-308", 0x000ffffffffffff7);
235CheckOneDouble("2.2250738585071974e-308", 0x000ffffffffffff8);
236CheckOneDouble("2.2250738585071980e-308", 0x000ffffffffffff9);
237CheckOneDouble("2.2250738585071984e-308", 0x000ffffffffffffa);
238CheckOneDouble("2.2250738585071990e-308", 0x000ffffffffffffb);
239CheckOneDouble("2.2250738585071994e-308", 0x000ffffffffffffc);
240CheckOneDouble("2.2250738585072000e-308", 0x000ffffffffffffd);
241CheckOneDouble("2.2250738585072004e-308", 0x000ffffffffffffe);
242CheckOneDouble("2.2250738585072010e-308", 0x000fffffffffffff);
249CheckOneDouble(
254CheckOneDouble(
259CheckOneDouble(
264CheckOneDouble(
269CheckOneDouble(
274CheckOneDouble(
279CheckOneDouble(
291CheckOneDouble(
307CheckOneDouble(
323CheckOneDouble(
340CheckOneDouble(
360CheckOneDouble(
385CheckOneDouble(s, bits);