xref: /relibc/tests/expected/bins_static/stdio/printf.stdout (revision 058509bd88c841f3e33c677bc7eeea72116e20e0)
1percent: %
2string: String
3char: c
4char: �
5int: -16
6uint: 32
7hex: beef
8HEX: C0FFEE
9string: end
10%n returned 51, total len of write: 94
11
12Padding madness:
13 001   +2
14   c
15 0x00000ff
16 001
170 0x1
18 1
19(00123) (  123)
20(-0123) ( -123)
21(             )
220xabcdef
23(nil)
24
25Positional madness:
264 3 2
2700002
28|Fiz     |Buz     |     Fiz|     Tot|
29int:          5 double: 0.100000 0.200000 0.300000 0.400000
30-1717986918 0.100000
31-1717986918 0.200000
32
33Float madness:
34        1.234568e+02
35        1.000000E-05
36          123.456789
37            0.000010
38       -1.234568e+02
39-00000001.234568e+02
40%.5g: -123.46
41%.5f: -123.45679
42%.5e: -1.23457e+02
43%.*g: -1.2e+02
44%.*f: -123.46
45%.*e: -1.23e+02
46%.*2$g: -123.46
47%.*2$f: -123.45679
48%.*2$e: -1.23457e+02
49100000
501e+06
511.000000e+06
520.0001
531E-05
541.000000E-05
55
56Non-finite float madness:
57%e: inf -inf nan -nan
58%E: INF -INF NAN -NAN
59%f: inf -inf nan -nan
60%F: INF -INF NAN -NAN
61%g: inf -inf nan -nan
62%G: INF -INF NAN -NAN
63Things that have been buggy
64+05
65Testing asprintf...
66printed: test string, value: 11
67printed: test string 2, value: 13
68printed: test string 2, value: 13
69