Debian Codegraph @

test/fmttest.ok

raw
1
2
3 Format item: c
4
5 ABC with %c : A
6 123 with %c : {
7 ABC with %.15c : A
8 123 with %.15c : {
9 ABC with %15c : A
10 123 with %15c : {
11 ABC with %-15c : A
12 123 with %-15c : {
13
14
15 Format item: d
16
17 ABC with %d : 0
18 123 with %d : 123
19 ABC with %.15d : 000000000000000
20 123 with %.15d : 000000000000123
21 ABC with %15d : 0
22 123 with %15d : 123
23 ABC with %-15d : 0
24 123 with %-15d : 123
25
26
27 Format item: e
28
29 ABC with %e : 0.000000e+00
30 123 with %e : 1.230000e+02
31 ABC with %.25e : 0.0000000000000000000000000e+00
32 123 with %.25e : 1.2300000000000000000000000e+02
33 ABC with %25e : 0.000000e+00
34 123 with %25e : 1.230000e+02
35 ABC with %-25e : 0.000000e+00
36 123 with %-25e : 1.230000e+02
37
38
39 Format item: f
40
41 ABC with %f : 0.000000
42 123 with %f : 123.000000
43 ABC with %.25f : 0.0000000000000000000000000
44 123 with %.25f : 123.0000000000000000000000000
45 ABC with %25f : 0.000000
46 123 with %25f : 123.000000
47 ABC with %-25f : 0.000000
48 123 with %-25f : 123.000000
49
50
51 Format item: g
52
53 ABC with %g : 0
54 123 with %g : 123
55 ABC with %.25g : 0
56 123 with %.25g : 123
57 ABC with %25g : 0
58 123 with %25g : 123
59 ABC with %-25g : 0
60 123 with %-25g : 123
61
62
63 Format item: o
64
65 ABC with %o : 0
66 123 with %o : 173
67 ABC with %.15o : 000000000000000
68 123 with %.15o : 000000000000173
69 ABC with %15o : 0
70 123 with %15o : 173
71 ABC with %-15o : 0
72 123 with %-15o : 173
73
74
75 Format item: s
76
77 ABC with %s : ABC
78 123 with %s : 123
79 ABC with %.15s : ABC
80 123 with %.15s : 123
81 ABC with %15s : ABC
82 123 with %15s : 123
83 ABC with %-15s : ABC
84 123 with %-15s : 123
85
86
87 Format item: u
88
89 ABC with %u : 0
90 123 with %u : 123
91 ABC with %.15u : 000000000000000
92 123 with %.15u : 000000000000123
93 ABC with %15u : 0
94 123 with %15u : 123
95 ABC with %-15u : 0
96 123 with %-15u : 123
97
98
99 Format item: x
100
101 ABC with %x : 0
102 123 with %x : 7b
103 ABC with %.15x : 000000000000000
104 123 with %.15x : 00000000000007b
105 ABC with %15x : 0
106 123 with %15x : 7b
107 ABC with %-15x : 0
108 123 with %-15x : 7b
109
110
111 Format item: X
112
113 ABC with %X : 0
114 123 with %X : 7B
115 ABC with %.15X : 000000000000000
116 123 with %.15X : 00000000000007B
117 ABC with %15X : 0
118 123 with %15X : 7B
119 ABC with %-15X : 0
120 123 with %-15X : 7B