Lines Matching refs:general
129 ExpectNumber<10>("1.23456789e5$", chars_format::general, 123456789, -3); in TEST()
130 ExpectNumber<10>("1.23456789e+5$", chars_format::general, 123456789, -3); in TEST()
131 ExpectNumber<10>("1.23456789E5$", chars_format::general, 123456789, -3); in TEST()
132 ExpectNumber<10>("1.23456789e05$", chars_format::general, 123456789, -3); in TEST()
133 ExpectNumber<10>("123.456789e3$", chars_format::general, 123456789, -3); in TEST()
134 ExpectNumber<10>("0.000123456789e9$", chars_format::general, 123456789, -3); in TEST()
135 ExpectNumber<10>("123456.789$", chars_format::general, 123456789, -3); in TEST()
136 ExpectNumber<10>("123456789e-3$", chars_format::general, 123456789, -3); in TEST()
138 ExpectNumber<16>("1.234abcdefp28$", chars_format::general, 0x1234abcdef, -8); in TEST()
139 ExpectNumber<16>("1.234abcdefp+28$", chars_format::general, 0x1234abcdef, -8); in TEST()
140 ExpectNumber<16>("1.234ABCDEFp28$", chars_format::general, 0x1234abcdef, -8); in TEST()
141 ExpectNumber<16>("1.234AbCdEfP0028$", chars_format::general, 0x1234abcdef, in TEST()
143 ExpectNumber<16>("123.4abcdefp20$", chars_format::general, 0x1234abcdef, -8); in TEST()
144 ExpectNumber<16>("0.0001234abcdefp44$", chars_format::general, 0x1234abcdef, in TEST()
146 ExpectNumber<16>("1234abcd.ef$", chars_format::general, 0x1234abcdef, -8); in TEST()
147 ExpectNumber<16>("1234abcdefp-8$", chars_format::general, 0x1234abcdef, -8); in TEST()
150 ExpectNumber<10>("0001.2345678900e005$", chars_format::general, 12345678900, in TEST()
152 ExpectNumber<16>("0001.234abcdef000p28$", chars_format::general, in TEST()
157 ExpectNumber<10>("1.23456789e5$ ", chars_format::general, 123456789, -3); in TEST()
158 ExpectNumber<10>("1.23456789e5$e5e5", chars_format::general, 123456789, -3); in TEST()
159 ExpectNumber<10>("1.23456789e5$.25", chars_format::general, 123456789, -3); in TEST()
160 ExpectNumber<10>("1.23456789e5$-", chars_format::general, 123456789, -3); in TEST()
161 ExpectNumber<10>("1.23456789e5$PUPPERS!!!", chars_format::general, 123456789, in TEST()
163 ExpectNumber<10>("123456.789$efghij", chars_format::general, 123456789, -3); in TEST()
164 ExpectNumber<10>("123456.789$e", chars_format::general, 123456789, -3); in TEST()
165 ExpectNumber<10>("123456.789$p5", chars_format::general, 123456789, -3); in TEST()
166 ExpectNumber<10>("123456.789$.10", chars_format::general, 123456789, -3); in TEST()
168 ExpectNumber<16>("1.234abcdefp28$ ", chars_format::general, 0x1234abcdef, in TEST()
170 ExpectNumber<16>("1.234abcdefp28$p28", chars_format::general, 0x1234abcdef, in TEST()
172 ExpectNumber<16>("1.234abcdefp28$.125", chars_format::general, 0x1234abcdef, in TEST()
174 ExpectNumber<16>("1.234abcdefp28$-", chars_format::general, 0x1234abcdef, -8); in TEST()
175 ExpectNumber<16>("1.234abcdefp28$KITTEHS!!!", chars_format::general, in TEST()
177 ExpectNumber<16>("1234abcd.ef$ghijk", chars_format::general, 0x1234abcdef, in TEST()
179 ExpectNumber<16>("1234abcd.ef$p", chars_format::general, 0x1234abcdef, -8); in TEST()
180 ExpectNumber<16>("1234abcd.ef$.10", chars_format::general, 0x1234abcdef, -8); in TEST()
183 ExpectNumber<10>("9999999999999999999$", chars_format::general, in TEST()
185 ExpectNumber<16>("fffffffffffffff$", chars_format::general, in TEST()
189 ExpectNumber<10>("0$", chars_format::general, 0, 0); in TEST()
190 ExpectNumber<16>("0$", chars_format::general, 0, 0); in TEST()
192 chars_format::general, 0, 0); in TEST()
194 chars_format::general, 0, 0); in TEST()
196 chars_format::general, 0, 0); in TEST()
198 chars_format::general, 0, 0); in TEST()
200 chars_format::general, 0, 0); in TEST()
202 chars_format::general, 0, 0); in TEST()
218 ExpectNumber<10>("100000000000000000000000000$", chars_format::general, in TEST()
222 ExpectNumber<10>("123456789123456789100000000$", chars_format::general, in TEST()
226 ExpectNumber<10>("[123456789123456789123456789]$", chars_format::general, in TEST()
231 ExpectNumber<10>("[123456789123456789100000009]$", chars_format::general, in TEST()
236 ExpectNumber<10>("[123456789123456789120000000]$", chars_format::general, in TEST()
243 chars_format::general, 1234567891234567891, in TEST()
248 chars_format::general, 1234567891234567891, in TEST()
253 ExpectNumber<10>("1.234567891234567891e123$", chars_format::general, in TEST()
255 ExpectNumber<10>("[1.23456789123456789123456789]e123$", chars_format::general, in TEST()
263 ExpectNumber<10>("[1999999999999999999999]$", chars_format::general, in TEST()
276 ExpectNumber<16>("123456789abcdef123456789abcdef$", chars_format::general, in TEST()
281 chars_format::general, 0x123456789abcdef, 60); in TEST()
285 ExpectNumber<16>("1.23456789abcdefp100$", chars_format::general, in TEST()
288 chars_format::general, 0x123456789abcdef, 44); in TEST()
292 ExpectNumber<16>("123456789abcdee123456789abcdee$", chars_format::general, in TEST()
294 ExpectNumber<16>("123456789abcdee000000000000001$", chars_format::general, in TEST()
296 ExpectNumber<16>("123456789abcdee000000000000000$", chars_format::general, in TEST()
317 ExpectFailedParse<10>("in", chars_format::general); in TEST()
318 ExpectFailedParse<16>("in", chars_format::general); in TEST()
319 ExpectFailedParse<10>("inx", chars_format::general); in TEST()
320 ExpectFailedParse<16>("inx", chars_format::general); in TEST()
321 ExpectSpecial("inf$", chars_format::general, FloatType::kInfinity); in TEST()
322 ExpectSpecial("Inf$", chars_format::general, FloatType::kInfinity); in TEST()
323 ExpectSpecial("INF$", chars_format::general, FloatType::kInfinity); in TEST()
324 ExpectSpecial("inf$inite", chars_format::general, FloatType::kInfinity); in TEST()
325 ExpectSpecial("iNfInItY$", chars_format::general, FloatType::kInfinity); in TEST()
326 ExpectSpecial("infinity$!!!", chars_format::general, FloatType::kInfinity); in TEST()
330 ExpectFailedParse<10>("na", chars_format::general); in TEST()
331 ExpectFailedParse<16>("na", chars_format::general); in TEST()
332 ExpectFailedParse<10>("nah", chars_format::general); in TEST()
333 ExpectFailedParse<16>("nah", chars_format::general); in TEST()
334 ExpectSpecial("nan$", chars_format::general, FloatType::kNan); in TEST()
335 ExpectSpecial("NaN$", chars_format::general, FloatType::kNan); in TEST()
336 ExpectSpecial("nAn$", chars_format::general, FloatType::kNan); in TEST()
337 ExpectSpecial("NAN$", chars_format::general, FloatType::kNan); in TEST()
338 ExpectSpecial("NaN$aNaNaNaNaBatman!", chars_format::general, FloatType::kNan); in TEST()
346 ExpectSpecial("nan([0xabcdef])$", chars_format::general, FloatType::kNan); in TEST()
347 ExpectSpecial("nan([0xabcdef])$...", chars_format::general, FloatType::kNan); in TEST()
348 ExpectSpecial("nan([0xabcdef])$)...", chars_format::general, FloatType::kNan); in TEST()
349 ExpectSpecial("nan([])$", chars_format::general, FloatType::kNan); in TEST()
350 ExpectSpecial("nan([aAzZ09_])$", chars_format::general, FloatType::kNan); in TEST()
352 ExpectSpecial("nan$(bad-char)", chars_format::general, FloatType::kNan); in TEST()
354 ExpectSpecial("nan$(0xabcdef", chars_format::general, FloatType::kNan); in TEST()