Lines Matching +full:- +full:i
2 * This file was generated from printf-tests.txt included
6 * https://github.com/BartMassey/printf-tests
8 * printf-tests.txt carries the following Copyright, which
82 #define I(a,b) (b) macro
84 #define I(a,b) (a) macro
88 /* XXX This code generated automatically by gen-testcases.hs
89 from ../../printf-tests.txt . You probably do not want to
100 result |= test(__LINE__, "-42", "% d", -42);
103 result |= test(__LINE__, " -42", "% 5d", -42);
105 result |= test(__LINE__, " -42", "% 15d", -42);
107 result |= test(__LINE__, "-42", "%+d", -42);
109 result |= test(__LINE__, " -42", "%+5d", -42);
111 result |= test(__LINE__, " -42", "%+15d", -42);
114 result |= test(__LINE__, "-42", "%0d", -42);
117 result |= test(__LINE__, "-0042", "%05d", -42);
119 result |= test(__LINE__, "-00000000000042", "%015d", -42);
121 result |= test(__LINE__, "42", "%-d", 42);
122 result |= test(__LINE__, "-42", "%-d", -42);
124 result |= test(__LINE__, "42 ", "%-5d", 42);
125 result |= test(__LINE__, "-42 ", "%-5d", -42);
126 result |= test(__LINE__, "42 ", "%-15d", 42);
127 result |= test(__LINE__, "-42 ", "%-15d", -42);
129 result |= test(__LINE__, "42", "%-0d", 42);
130 result |= test(__LINE__, "-42", "%-0d", -42);
132 result |= test(__LINE__, "42 ", "%-05d", 42);
133 result |= test(__LINE__, "-42 ", "%-05d", -42);
134 result |= test(__LINE__, "42 ", "%-015d", 42);
135 result |= test(__LINE__, "-42 ", "%-015d", -42);
137 result |= test(__LINE__, "42", "%0-d", 42);
138 result |= test(__LINE__, "-42", "%0-d", -42);
140 result |= test(__LINE__, "42 ", "%0-5d", 42);
141 result |= test(__LINE__, "-42 ", "%0-5d", -42);
142 result |= test(__LINE__, "42 ", "%0-15d", 42);
143 result |= test(__LINE__, "-42 ", "%0-15d", -42);
162 /* 51: anti-test */
163 /* 52: anti-test */
177 " 12345 1234 11145401322 321.765400 3.217654e+02 5 test-string",
180 printf_float(321.7654), printf_float(5.0000001), "test-string", 14, 3, 14);
184 /* 58: anti-test */
193 result |= test(__LINE__, "3.14 ", "%-*.*f", 10, 2, printf_float(3.14159265));
205 /* 64: anti-test */
206 /* 65: anti-test */
215 result |= test(__LINE__, I("1000000","16960"), "%'d", 1000000);
217 /* 72: anti-test */
218 /* 73: anti-test */
224 result |= test(__LINE__, "7.894561e+08 ", "%-#22.6e", printf_float(7.89456123e8));
228 result |= test(__LINE__, "7.894561230000000e+08 ", "%-#22.15e", printf_float(7.89456123e8));
246 result |= test(__LINE__, "-00100", "%-1.5lld", -100LL);
248 result |= test(__LINE__, " -100", "%5lld", -100LL);
249 result |= test(__LINE__, "100 ", "%-5lld", 100LL);
250 result |= test(__LINE__, "-100 ", "%-5lld", -100LL);
251 result |= test(__LINE__, "00100", "%-.5lld", 100LL);
252 result |= test(__LINE__, "-00100", "%-.5lld", -100LL);
253 result |= test(__LINE__, "00100 ", "%-8.5lld", 100LL);
254 result |= test(__LINE__, "-00100 ", "%-8.5lld", -100LL);
256 result |= test(__LINE__, "-0100", "%05lld", -100LL);
258 result |= test(__LINE__, "-100", "% lld", -100LL);
260 result |= test(__LINE__, " -100", "% 5lld", -100LL);
262 result |= test(__LINE__, "-00100", "% .5lld", -100LL);
264 result |= test(__LINE__, " -00100", "% 8.5lld", -100LL);
266 result |= test(__LINE__, " 0x00ffffffffffffff9c", "%#+21.18llx", -100LL);
267 result |= test(__LINE__, "0001777777777777777777634", "%#.25llo", -100LL);
268 result |= test(__LINE__, " 01777777777777777777634", "%#+24.20llo", -100LL);
269 result |= test(__LINE__, "0X00000FFFFFFFFFFFFFF9C", "%#+18.21llX", -100LL);
270 result |= test(__LINE__, "001777777777777777777634", "%#+20.24llo", -100LL);
271 result |= test(__LINE__, " 0018446744073709551615", "%#+25.22llu", -1LL);
272 result |= test(__LINE__, " 0018446744073709551615", "%#+25.22llu", -1LL);
273 result |= test(__LINE__, " 0000018446744073709551615", "%#+30.25llu", -1LL);
274 result |= test(__LINE__, " -0000000000000000000001", "%+#25.22lld", -1LL);
275 result |= test(__LINE__, "00144 ", "%#-8.5llo", 100LL);
276 result |= test(__LINE__, "+00100 ", "%#-+ 08.5lld", 100LL);
277 result |= test(__LINE__, "+00100 ", "%#-+ 08.5lld", 100LL);
292 result |= test(__LINE__, "0x01 ", "%#-08.2x", 1);
300 result |= test(__LINE__, "foo ", "%*s", -5, "foo");
311 result |= test(__LINE__, "2", "%-1d", 2);
319 result |= test(__LINE__, "-8.6000e+00", "% 2.4e", printf_float(-8.6));
323 result |= test(__LINE__, "-1", "%-i", -1);
324 result |= test(__LINE__, "1", "%-i", 1);
326 result |= test(__LINE__, "+1", "%+i", 1);
335 result |= test(__LINE__, I("4294967295", "65535"), "%u", -1);
337 result |= test(__LINE__, "%w", "%w", -1);
343 result |= test(__LINE__, "%H", "%H", -1);
352 result |= test(__LINE__, "-97", "%hhd", -0x61);
353 result |= test(__LINE__, "-97", "%hhd", -0x161);
358 result |= test(__LINE__, "-1024", "%d", -1024);
359 result |= test(__LINE__, "1024", "%i", 1024);
360 result |= test(__LINE__, "-1024", "%i", -1024);
362 result |= test(__LINE__, I("4294966272", "64512"), "%u", 4294966272U);
364 result |= test(__LINE__, I("37777777001", "177001"), "%o", 4294966785U);
365 result |= test(__LINE__, I("1234abcd", "abcd"), "%x", 305441741);
366 result |= test(__LINE__, I("edcb5433", "5433"), "%x", 3989525555U);
367 result |= test(__LINE__, I("1234ABCD", "ABCD"), "%X", 305441741);
368 result |= test(__LINE__, I("EDCB5433", "5433"), "%X", 3989525555U);
370 … result |= test(__LINE__, I("10010001101001010101111001101", "1010101111001101"), "%b", 305441741);
371 …result |= test(__LINE__, I("11101101110010110101010000110011", "101010000110011"), "%b", 398952555…
372 … result |= test(__LINE__, I("10010001101001010101111001101", "1010101111001101"), "%B", 305441741);
373 …result |= test(__LINE__, I("11101101110010110101010000110011", "101010000110011"), "%B", 398952555…
381 result |= test(__LINE__, "-1024", "%+d", -1024);
383 result |= test(__LINE__, "+1024", "%+i", 1024);
385 result |= test(__LINE__, "-1024", "%+i", -1024);
387 result |= test(__LINE__, I("4294966272", "64512"), "%+u", 4294966272U);
389 result |= test(__LINE__, I("37777777001", "177001"), "%+o", 4294966785U);
390 result |= test(__LINE__, I("1234abcd", "abcd"), "%+x", 305441741);
391 result |= test(__LINE__, I("edcb5433", "5433"), "%+x", 3989525555U);
392 result |= test(__LINE__, I("1234ABCD", "ABCD"), "%+X", 305441741);
393 result |= test(__LINE__, I("EDCB5433", "5433"), "%+X", 3989525555U);
399 result |= test(__LINE__, "-1024", "% d", -1024);
401 result |= test(__LINE__, " 1024", "% i", 1024);
403 result |= test(__LINE__, "-1024", "% i", -1024);
405 result |= test(__LINE__, I("4294966272", "64512"), "% u", 4294966272U);
407 result |= test(__LINE__, I("37777777001", "177001"), "% o", 4294966785U);
408 result |= test(__LINE__, I("1234abcd", "abcd"), "% x", 305441741);
409 result |= test(__LINE__, I("edcb5433", "5433"), "% x", 3989525555U);
410 result |= test(__LINE__, I("1234ABCD", "ABCD"), "% X", 305441741);
411 result |= test(__LINE__, I("EDCB5433", "5433"), "% X", 3989525555U);
417 result |= test(__LINE__, "-1024", "%+ d", -1024);
419 result |= test(__LINE__, "+1024", "%+ i", 1024);
421 result |= test(__LINE__, "-1024", "%+ i", -1024);
423 result |= test(__LINE__, I("4294966272", "64512"), "%+ u", 4294966272U);
425 result |= test(__LINE__, I("37777777001", "177001"), "%+ o", 4294966785U);
426 result |= test(__LINE__, I("1234abcd", "abcd"), "%+ x", 305441741);
427 result |= test(__LINE__, I("edcb5433", "5433"), "%+ x", 3989525555U);
428 result |= test(__LINE__, I("1234ABCD", "ABCD"), "%+ X", 305441741);
429 result |= test(__LINE__, I("EDCB5433", "5433"), "%+ X", 3989525555U);
432 result |= test(__LINE__, I("037777777001", "0177001"), "%#o", 4294966785U);
433 result |= test(__LINE__, I("0x1234abcd", "0xabcd"), "%#x", 305441741);
434 result |= test(__LINE__, I("0xedcb5433", "0x5433"), "%#x", 3989525555U);
436 result |= test(__LINE__, I("0X1234ABCD", "0XABCD"), "%#X", 305441741);
437 result |= test(__LINE__, I("0XEDCB5433", "0X5433"), "%#X", 3989525555U);
440 …result |= test(__LINE__, I("0b10010001101001010101111001101", "0b1010101111001101"), "%#b", 305441…
441 …result |= test(__LINE__, I("0b11101101110010110101010000110011", "0b101010000110011"), "%#b", 3989…
442 …result |= test(__LINE__, I("0B10010001101001010101111001101", "0B1010101111001101"), "%#B", 305441…
443 …result |= test(__LINE__, I("0B11101101110010110101010000110011", "0B101010000110011"), "%#B", 3989…
450 result |= test(__LINE__, "-1024", "%1d", -1024);
451 result |= test(__LINE__, "1024", "%1i", 1024);
452 result |= test(__LINE__, "-1024", "%1i", -1024);
454 result |= test(__LINE__, I("4294966272", "64512"), "%1u", 4294966272U);
456 result |= test(__LINE__, I("37777777001", "177001"), "%1o", 4294966785U);
457 result |= test(__LINE__, I("1234abcd", "abcd"), "%1x", 305441741);
458 result |= test(__LINE__, I("edcb5433", "5433"), "%1x", 3989525555U);
459 result |= test(__LINE__, I("1234ABCD", "ABCD"), "%1X", 305441741);
460 result |= test(__LINE__, I("EDCB5433", "5433"), "%1X", 3989525555U);
465 result |= test(__LINE__, " -1024", "%20d", -1024);
466 result |= test(__LINE__, " 1024", "%20i", 1024);
467 result |= test(__LINE__, " -1024", "%20i", -1024);
469 … result |= test(__LINE__, I(" 4294966272", " 64512"), "%20u", 4294966272U);
471 … result |= test(__LINE__, I(" 37777777001", " 177001"), "%20o", 4294966785U);
472 result |= test(__LINE__, I(" 1234abcd", " abcd"), "%20x", 305441741);
473 … result |= test(__LINE__, I(" edcb5433", " 5433"), "%20x", 3989525555U);
474 result |= test(__LINE__, I(" 1234ABCD", " ABCD"), "%20X", 305441741);
475 … result |= test(__LINE__, I(" EDCB5433", " 5433"), "%20X", 3989525555U);
477 result |= test(__LINE__, "Hallo ", "%-20s", "Hallo");
478 result |= test(__LINE__, "1024 ", "%-20d", 1024);
479 result |= test(__LINE__, "-1024 ", "%-20d", -1024);
480 result |= test(__LINE__, "1024 ", "%-20i", 1024);
481 result |= test(__LINE__, "-1024 ", "%-20i", -1024);
482 result |= test(__LINE__, "1024 ", "%-20u", 1024);
483 … result |= test(__LINE__, I("4294966272 ", "64512 "), "%-20u", 4294966272U);
484 result |= test(__LINE__, "777 ", "%-20o", 511);
485 … result |= test(__LINE__, I("37777777001 ", "177001 "), "%-20o", 4294966785U);
486 result |= test(__LINE__, I("1234abcd ", "abcd "), "%-20x", 305441741);
487 … result |= test(__LINE__, I("edcb5433 ", "5433 "), "%-20x", 3989525555U);
488 result |= test(__LINE__, I("1234ABCD ", "ABCD "), "%-20X", 305441741);
489 … result |= test(__LINE__, I("EDCB5433 ", "5433 "), "%-20X", 3989525555U);
490 result |= test(__LINE__, "x ", "%-20c", 'x');
492 result |= test(__LINE__, "-0000000000000001024", "%020d", -1024);
493 result |= test(__LINE__, "00000000000000001024", "%020i", 1024);
494 result |= test(__LINE__, "-0000000000000001024", "%020i", -1024);
496 … result |= test(__LINE__, I("00000000004294966272", "00000000000000064512"), "%020u", 4294966272U);
498 … result |= test(__LINE__, I("00000000037777777001", "00000000000000177001"), "%020o", 4294966785U);
499 result |= test(__LINE__, I("0000000000001234abcd", "0000000000000000abcd"), "%020x", 305441741);
500 … result |= test(__LINE__, I("000000000000edcb5433", "00000000000000005433"), "%020x", 3989525555U);
501 result |= test(__LINE__, I("0000000000001234ABCD", "0000000000000000ABCD"), "%020X", 305441741);
502 … result |= test(__LINE__, I("000000000000EDCB5433", "00000000000000005433"), "%020X", 3989525555U);
504 … result |= test(__LINE__, I(" 037777777001", " 0177001"), "%#20o", 4294966785U);
505 result |= test(__LINE__, I(" 0x1234abcd", " 0xabcd"), "%#20x", 305441741);
506 … result |= test(__LINE__, I(" 0xedcb5433", " 0x5433"), "%#20x", 3989525555U);
507 result |= test(__LINE__, I(" 0X1234ABCD", " 0XABCD"), "%#20X", 305441741);
508 … result |= test(__LINE__, I(" 0XEDCB5433", " 0X5433"), "%#20X", 3989525555U);
510 …result |= test(__LINE__, I("00000000037777777001", "00000000000000177001"), "%#020o", 4294966785U);
511 … result |= test(__LINE__, I("0x00000000001234abcd", "0x00000000000000abcd"), "%#020x", 305441741);
512 …result |= test(__LINE__, I("0x0000000000edcb5433", "0x000000000000005433"), "%#020x", 3989525555U);
513 … result |= test(__LINE__, I("0X00000000001234ABCD", "0X00000000000000ABCD"), "%#020X", 305441741);
514 …result |= test(__LINE__, I("0X0000000000EDCB5433", "0X000000000000005433"), "%#020X", 3989525555U);
515 result |= test(__LINE__, "Hallo ", "%0-20s", "Hallo");
516 result |= test(__LINE__, "1024 ", "%0-20d", 1024);
517 result |= test(__LINE__, "-1024 ", "%0-20d", -1024);
518 result |= test(__LINE__, "1024 ", "%0-20i", 1024);
519 result |= test(__LINE__, "-1024 ", "%0-20i", -1024);
520 result |= test(__LINE__, "1024 ", "%0-20u", 1024);
521 …result |= test(__LINE__, I("4294966272 ", "64512 "), "%0-20u", 4294966272U);
522 result |= test(__LINE__, "777 ", "%-020o", 511);
523 …result |= test(__LINE__, I("37777777001 ", "177001 "), "%-020o", 4294966785U);
524 … result |= test(__LINE__, I("1234abcd ", "abcd "), "%-020x", 305441741);
525 …result |= test(__LINE__, I("edcb5433 ", "5433 "), "%-020x", 3989525555U);
526 … result |= test(__LINE__, I("1234ABCD ", "ABCD "), "%-020X", 305441741);
527 …result |= test(__LINE__, I("EDCB5433 ", "5433 "), "%-020X", 3989525555U);
528 result |= test(__LINE__, "x ", "%-020c", 'x');
531 result |= test(__LINE__, " -1024", "%*d", 20, -1024);
532 result |= test(__LINE__, " 1024", "%*i", 20, 1024);
533 result |= test(__LINE__, " -1024", "%*i", 20, -1024);
535 …result |= test(__LINE__, I(" 4294966272", " 64512"), "%*u", 20, 4294966272U…
537 …result |= test(__LINE__, I(" 37777777001", " 177001"), "%*o", 20, 4294966785U…
538 … result |= test(__LINE__, I(" 1234abcd", " abcd"), "%*x", 20, 305441741);
539 …result |= test(__LINE__, I(" edcb5433", " 5433"), "%*x", 20, 3989525555U…
540 … result |= test(__LINE__, I(" 1234ABCD", " ABCD"), "%*X", 20, 305441741);
541 …result |= test(__LINE__, I(" EDCB5433", " 5433"), "%*X", 20, 3989525555U…
545 result |= test(__LINE__, "-00000000000000001024", "%.20d", -1024);
546 result |= test(__LINE__, "00000000000000001024", "%.20i", 1024);
547 result |= test(__LINE__, "-00000000000000001024", "%.20i", -1024);
549 … result |= test(__LINE__, I("00000000004294966272", "00000000000000064512"), "%.20u", 4294966272U);
551 … result |= test(__LINE__, I("00000000037777777001", "00000000000000177001"), "%.20o", 4294966785U);
552 result |= test(__LINE__, I("0000000000001234abcd", "0000000000000000abcd"), "%.20x", 305441741);
553 … result |= test(__LINE__, I("000000000000edcb5433", "00000000000000005433"), "%.20x", 3989525555U);
554 result |= test(__LINE__, I("0000000000001234ABCD", "0000000000000000ABCD"), "%.20X", 305441741);
555 … result |= test(__LINE__, I("000000000000EDCB5433", "00000000000000005433"), "%.20X", 3989525555U);
558 result |= test(__LINE__, " -01024", "%20.5d", -1024);
559 result |= test(__LINE__, " 01024", "%20.5i", 1024);
560 result |= test(__LINE__, " -01024", "%20.5i", -1024);
562 …result |= test(__LINE__, I(" 4294966272", " 64512"), "%20.5u", 4294966272U);
564 …result |= test(__LINE__, I(" 37777777001", " 177001"), "%20.5o", 4294966785U);
565 … result |= test(__LINE__, I(" 1234abcd", " 0abcd"), "%20.5x", 305441741);
566 …result |= test(__LINE__, I(" 00edcb5433", " 0000005433"), "%20.10x", 3989525555U…
567 … result |= test(__LINE__, I(" 1234ABCD", " 0ABCD"), "%20.5X", 305441741);
568 …result |= test(__LINE__, I(" 00EDCB5433", " 0000005433"), "%20.10X", 3989525555U…
570 result |= test(__LINE__, " -01024", "%020.5d", -1024);
571 result |= test(__LINE__, " 01024", "%020.5i", 1024);
572 result |= test(__LINE__, " -01024", "%020.5i", -1024);
574 …result |= test(__LINE__, I(" 4294966272", " 64512"), "%020.5u", 4294966272U…
576 …result |= test(__LINE__, I(" 37777777001", " 177001"), "%020.5o", 4294966785U…
577 … result |= test(__LINE__, I(" 1234abcd", " 0abcd"), "%020.5x", 305441741);
578 …result |= test(__LINE__, I(" 00edcb5433", " 0000005433"), "%020.10x", 3989525555…
579 … result |= test(__LINE__, I(" 1234ABCD", " 0ABCD"), "%020.5X", 305441741);
580 …result |= test(__LINE__, I(" 00EDCB5433", " 0000005433"), "%020.10X", 3989525555…
586 result |= test(__LINE__, " -1024", "%20.d", -1024);
588 result |= test(__LINE__, " 1024", "%20.0i", 1024);
589 result |= test(__LINE__, " -1024", "%20.i", -1024);
590 result |= test(__LINE__, " ", "%20.i", 0);
592 …result |= test(__LINE__, I(" 4294966272", " 64512") , "%20.0u", 4294966272U…
595 …result |= test(__LINE__, I(" 37777777001", " 177001"), "%20.0o", 4294966785U);
597 result |= test(__LINE__, I(" 1234abcd", " abcd"), "%20.x", 305441741);
598 …result |= test(__LINE__, I(" edcb5433", " 5433"), "%20.0x", 3989525555U);
600 result |= test(__LINE__, I(" 1234ABCD", " ABCD"), "%20.X", 305441741);
601 …result |= test(__LINE__, I(" EDCB5433", " 5433"), "%20.0X", 3989525555U);
603 result |= test(__LINE__, "Hallo ", "% -0+*.*s", 20, 5, "Hallo heimur");
604 result |= test(__LINE__, "+01024 ", "% -0+*.*d", 20, 5, 1024);
605 result |= test(__LINE__, "-01024 ", "% -0+*.*d", 20, 5, -1024);
606 result |= test(__LINE__, "+01024 ", "% -0+*.*i", 20, 5, 1024);
607 result |= test(__LINE__, "-01024 ", "% 0-+*.*i", 20, 5, -1024);
608 result |= test(__LINE__, "01024 ", "% 0-+*.*u", 20, 5, 1024);
609 …result |= test(__LINE__, I("4294966272 ", "64512 "), "% 0-+*.*u", 20, 5, 42…
610 result |= test(__LINE__, "00777 ", "%+ -0*.*o", 20, 5, 511);
611 …result |= test(__LINE__, I("37777777001 ", "177001 "), "%+ -0*.*o", 20, 5, 42…
612 …result |= test(__LINE__, I("1234abcd ", "0abcd "), "%+ -0*.*x", 20, 5, 30…
613 …result |= test(__LINE__, I("00edcb5433 ", "0000005433 "), "%+ -0*.*x", 20, 10, 3…
614 …result |= test(__LINE__, I("1234ABCD ", "0ABCD "), "% -+0*.*X", 20, 5, 30…
615 …result |= test(__LINE__, I("00EDCB5433 ", "0000005433 "), "% -+0*.*X", 20, 10, 3…
616 result |= test(__LINE__, "hi x", "%*sx", -3, "hi");
619 result |= test(__LINE__, "1.000e-38", "%.3e", printf_float(1e-38));
621 result |= test(__LINE__, "1.000e-308", "%.3e", printf_float(1e-308));
626 result |= test(__LINE__, "1, 1", "%-*.llu, %-*.llu",1,1ULL,1,1ULL);
630 result |= test(__LINE__, "1e-09", "%g", printf_float(0.000000001));
631 result |= test(__LINE__, "1e-08", "%g", printf_float(0.00000001));
632 result |= test(__LINE__, "1e-07", "%g", printf_float(0.0000001));
633 result |= test(__LINE__, "1e-06", "%g", printf_float(0.000001));
658 result |= test(__LINE__, "123456", "%.*s", -4, "123456");
661 result |= test(__LINE__, "42", "%.*d", -6, 42);
666 result |= test(__LINE__, "0.123000", "%.*f", -1, printf_float(0.123));
679 result |= test(__LINE__, "12", "%td", (c+12) - c);
686 result |= test(__LINE__, "-0x0p+0", "%a", printf_float(-0.0));
692 result |= test(__LINE__, "0x1.234564p-126", "%a", printf_float(0x1.234564p-126f));
693 result |= test(__LINE__, "0x1.234566p-126", "%a", printf_float(0x1.234566p-126f));
695 result |= test(__LINE__, "0X1.234564P-126", "%A", printf_float(0x1.234564p-126f));
696 result |= test(__LINE__, "0X1.234566P-126", "%A", printf_float(0x1.234566p-126f));
708 result |= test(__LINE__, "-nan", "%a", printf_float(-(FLOAT) NAN));
710 result |= test(__LINE__, "-inf", "%a", printf_float(-INFINITY));
712 result |= test(__LINE__, "-NAN", "%A", printf_float(-(FLOAT) NAN));
714 result |= test(__LINE__, "-INF", "%A", printf_float(-(FLOAT) INFINITY));
719 * x86 and m68k 80-bit format fill the top
723 result |= test(__LINE__, "0x8p-3", "%La", 0x1p+0l);
725 result |= test(__LINE__, "-0x0p+0", "%La", -0x0p+0l);
731 result |= test(__LINE__, "0x9.1a2b2p-129", "%La", 0x1.234564p-126l);
732 result |= test(__LINE__, "0x9.1a2b3p-129", "%La", 0x1.234566p-126l);
734 result |= test(__LINE__, "0X9.1A2B2P-129", "%LA", 0X1.234564P-126l);
735 result |= test(__LINE__, "0X9.1A2B3P-129", "%LA", 0X1.234566P-126l);
736 result |= test(__LINE__, "0xb.4p-2", "%.1La", 0x1.6789ap+1l);
737 result |= test(__LINE__, "0xb.3cp-2", "%.2La", 0x1.6789ap+1l);
738 result |= test(__LINE__, "0xb.3c5p-2", "%.3La", 0x1.6789ap+1l);
739 result |= test(__LINE__, "0xb.3c4dp-2", "%.4La", 0x1.6789ap+1l);
740 result |= test(__LINE__, "0xb.3c4d0p-2", "%.5La", 0x1.6789ap+1l);
741 result |= test(__LINE__, "0xb.3c4d00p-2", "%.6La", 0x1.6789ap+1l);
742 result |= test(__LINE__, "0xf.f8p-2", "%.2La", 0x1.ffp+1l);
749 result |= test(__LINE__, "-0x0p+0", "%La", -0.0L);
755 result |= test(__LINE__, "0x1.234564p-126", "%La", (long double) 0x1.234564p-126);
756 result |= test(__LINE__, "0x1.234566p-126", "%La", (long double) 0x1.234566p-126);
758 result |= test(__LINE__, "0X1.234564P-126", "%LA", (long double) 0x1.234564p-126);
759 result |= test(__LINE__, "0X1.234566P-126", "%LA", (long double) 0x1.234566p-126);
772 result |= test(__LINE__, "-nan", "%La", (long double) -NAN);
774 result |= test(__LINE__, "-inf", "%La", (long double) -INFINITY);
776 result |= test(__LINE__, "-NAN", "%LA", (long double) -NAN);
778 result |= test(__LINE__, "-INF", "%LA", (long double) -INFINITY);
782 result |= test(__LINE__, "0x1p-149", "%a", printf_float(0x1p-149));
783 result |= test(__LINE__, "0x1p-127", "%.a", printf_float(0x1p-127));
785 result |= test(__LINE__, "0x0.000002p-126", "%a", printf_float(0x1p-149));
786 result |= test(__LINE__, "0x0p-126", "%.a", printf_float(0x1p-127));
789 result |= test(__LINE__, "0x1.306efbp-98", "%a", printf_float(3752432815e-39));
792 result |= test(__LINE__, "0x1p-1074", "%a", printf_float(0x1p-1074));
793 result |= test(__LINE__, "0x1p-1023", "%.a", printf_float(0x1p-1023));
796 result |= test(__LINE__, "0x0.0000000000001p-1022", "%a", printf_float(0x1p-1074));
797 result |= test(__LINE__, "0x0p-1022", "%.a", printf_float(0x1p-1023));
800 … result |= test(__LINE__, "0x1.23456789abcdep-1022", "%a", printf_float(0x1.23456789abcdep-1022));
801 … result |= test(__LINE__, "0x1.23456789abcdfp-1022", "%a", printf_float(0x1.23456789abcdfp-1022));
803 … result |= test(__LINE__, "0X1.23456789ABCDEP-1022", "%A", printf_float(0x1.23456789abcdep-1022));
804 … result |= test(__LINE__, "0X1.23456789ABCDFP-1022", "%A", printf_float(0x1.23456789abcdfp-1022));