xref: /sqlite-3.40.0/test/printf.test (revision af005fbc)
1b19a2bc6Sdrh# 2001 September 15
2d1bf3512Sdrh#
3b19a2bc6Sdrh# The author disclaims copyright to this source code.  In place of
4b19a2bc6Sdrh# a legal notice, here is a blessing:
5d1bf3512Sdrh#
6b19a2bc6Sdrh#    May you do good and not evil.
7b19a2bc6Sdrh#    May you find forgiveness for yourself and forgive others.
8b19a2bc6Sdrh#    May you share freely, never taking more than you give.
9d1bf3512Sdrh#
10d1bf3512Sdrh#***********************************************************************
11d1bf3512Sdrh# This file implements regression tests for SQLite library.  The
12d1bf3512Sdrh# focus of this file is testing the sqlite_*_printf() interface.
13d1bf3512Sdrh#
14*af005fbcSdrh# $Id: printf.test,v 1.30 2008/07/09 16:51:52 drh Exp $
15d1bf3512Sdrh
16d1bf3512Sdrhset testdir [file dirname $argv0]
17d1bf3512Sdrhsource $testdir/tester.tcl
18d1bf3512Sdrh
19d1bf3512Sdrh
20a2647caeSdrhdo_test printf-1.1.1 {
21a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
22a2647caeSdrh       1 1 1
23a2647caeSdrh} {abc: 1 1 1 :xyz}
24a2647caeSdrhdo_test printf-1.1.2 {
25a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
26a2647caeSdrh       1 1 1
27a2647caeSdrh} {abc: (     1) (     1) (     1) :xyz}
28a2647caeSdrhdo_test printf-1.1.3 {
29a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
30a2647caeSdrh       1 1 1
31a2647caeSdrh} {abc: (1     ) (1     ) (1     ) :xyz}
32a2647caeSdrhdo_test printf-1.1.4 {
33a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
34a2647caeSdrh       1 1 1
35a2647caeSdrh} {abc: (    +1) (     1) (     1) :xyz}
36a2647caeSdrhdo_test printf-1.1.5 {
37a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
38a2647caeSdrh       1 1 1
39a2647caeSdrh} {abc: (000001) (000001) (000001) :xyz}
40a2647caeSdrhdo_test printf-1.1.6 {
41a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
42a2647caeSdrh       1 1 1
43a2647caeSdrh} {abc: (     1) (     1) (     1) :xyz}
44a2647caeSdrhdo_test printf-1.1.7 {
45a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
46a2647caeSdrh       1 1 1
47a2647caeSdrh} {abc: (     1) (   0x1) (    01) :xyz}
48a2647caeSdrhdo_test printf-1.2.1 {
49a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
50a2647caeSdrh       2 2 2
51a2647caeSdrh} {abc: 2 2 2 :xyz}
52a2647caeSdrhdo_test printf-1.2.2 {
53a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
54a2647caeSdrh       2 2 2
55a2647caeSdrh} {abc: (     2) (     2) (     2) :xyz}
56a2647caeSdrhdo_test printf-1.2.3 {
57a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
58a2647caeSdrh       2 2 2
59a2647caeSdrh} {abc: (2     ) (2     ) (2     ) :xyz}
60a2647caeSdrhdo_test printf-1.2.4 {
61a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
62a2647caeSdrh       2 2 2
63a2647caeSdrh} {abc: (    +2) (     2) (     2) :xyz}
64a2647caeSdrhdo_test printf-1.2.5 {
65a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
66a2647caeSdrh       2 2 2
67a2647caeSdrh} {abc: (000002) (000002) (000002) :xyz}
68a2647caeSdrhdo_test printf-1.2.6 {
69a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
70a2647caeSdrh       2 2 2
71a2647caeSdrh} {abc: (     2) (     2) (     2) :xyz}
72a2647caeSdrhdo_test printf-1.2.7 {
73a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
74a2647caeSdrh       2 2 2
75a2647caeSdrh} {abc: (     2) (   0x2) (    02) :xyz}
76a2647caeSdrhdo_test printf-1.3.1 {
77a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
78a2647caeSdrh       5 5 5
79a2647caeSdrh} {abc: 5 5 5 :xyz}
80a2647caeSdrhdo_test printf-1.3.2 {
81a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
82a2647caeSdrh       5 5 5
83a2647caeSdrh} {abc: (     5) (     5) (     5) :xyz}
84a2647caeSdrhdo_test printf-1.3.3 {
85a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
86a2647caeSdrh       5 5 5
87a2647caeSdrh} {abc: (5     ) (5     ) (5     ) :xyz}
88a2647caeSdrhdo_test printf-1.3.4 {
89a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
90a2647caeSdrh       5 5 5
91a2647caeSdrh} {abc: (    +5) (     5) (     5) :xyz}
92a2647caeSdrhdo_test printf-1.3.5 {
93a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
94a2647caeSdrh       5 5 5
95a2647caeSdrh} {abc: (000005) (000005) (000005) :xyz}
96a2647caeSdrhdo_test printf-1.3.6 {
97a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
98a2647caeSdrh       5 5 5
99a2647caeSdrh} {abc: (     5) (     5) (     5) :xyz}
100a2647caeSdrhdo_test printf-1.3.7 {
101a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
102a2647caeSdrh       5 5 5
103a2647caeSdrh} {abc: (     5) (   0x5) (    05) :xyz}
104a2647caeSdrhdo_test printf-1.4.1 {
105a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
106a2647caeSdrh       10 10 10
107a2647caeSdrh} {abc: 10 a 12 :xyz}
108a2647caeSdrhdo_test printf-1.4.2 {
109a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
110a2647caeSdrh       10 10 10
111a2647caeSdrh} {abc: (    10) (     a) (    12) :xyz}
112a2647caeSdrhdo_test printf-1.4.3 {
113a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
114a2647caeSdrh       10 10 10
115a2647caeSdrh} {abc: (10    ) (a     ) (12    ) :xyz}
116a2647caeSdrhdo_test printf-1.4.4 {
117a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
118a2647caeSdrh       10 10 10
119a2647caeSdrh} {abc: (   +10) (     a) (    12) :xyz}
120a2647caeSdrhdo_test printf-1.4.5 {
121a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
122a2647caeSdrh       10 10 10
123a2647caeSdrh} {abc: (000010) (00000a) (000012) :xyz}
124a2647caeSdrhdo_test printf-1.4.6 {
125a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
126a2647caeSdrh       10 10 10
127a2647caeSdrh} {abc: (    10) (     a) (    12) :xyz}
128a2647caeSdrhdo_test printf-1.4.7 {
129a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
130a2647caeSdrh       10 10 10
131a2647caeSdrh} {abc: (    10) (   0xa) (   012) :xyz}
132a2647caeSdrhdo_test printf-1.5.1 {
133a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
134a2647caeSdrh       99 99 99
135a2647caeSdrh} {abc: 99 63 143 :xyz}
136a2647caeSdrhdo_test printf-1.5.2 {
137a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
138a2647caeSdrh       99 99 99
139a2647caeSdrh} {abc: (    99) (    63) (   143) :xyz}
140a2647caeSdrhdo_test printf-1.5.3 {
141a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
142a2647caeSdrh       99 99 99
143a2647caeSdrh} {abc: (99    ) (63    ) (143   ) :xyz}
144a2647caeSdrhdo_test printf-1.5.4 {
145a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
146a2647caeSdrh       99 99 99
147a2647caeSdrh} {abc: (   +99) (    63) (   143) :xyz}
148a2647caeSdrhdo_test printf-1.5.5 {
149a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
150a2647caeSdrh       99 99 99
151a2647caeSdrh} {abc: (000099) (000063) (000143) :xyz}
152a2647caeSdrhdo_test printf-1.5.6 {
153a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
154a2647caeSdrh       99 99 99
155a2647caeSdrh} {abc: (    99) (    63) (   143) :xyz}
156a2647caeSdrhdo_test printf-1.5.7 {
157a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
158a2647caeSdrh       99 99 99
159a2647caeSdrh} {abc: (    99) (  0x63) (  0143) :xyz}
160a2647caeSdrhdo_test printf-1.6.1 {
161a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
162a2647caeSdrh       100 100 100
163a2647caeSdrh} {abc: 100 64 144 :xyz}
164a2647caeSdrhdo_test printf-1.6.2 {
165a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
166a2647caeSdrh       100 100 100
167a2647caeSdrh} {abc: (   100) (    64) (   144) :xyz}
168a2647caeSdrhdo_test printf-1.6.3 {
169a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
170a2647caeSdrh       100 100 100
171a2647caeSdrh} {abc: (100   ) (64    ) (144   ) :xyz}
172a2647caeSdrhdo_test printf-1.6.4 {
173a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
174a2647caeSdrh       100 100 100
175a2647caeSdrh} {abc: (  +100) (    64) (   144) :xyz}
176a2647caeSdrhdo_test printf-1.6.5 {
177a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
178a2647caeSdrh       100 100 100
179a2647caeSdrh} {abc: (000100) (000064) (000144) :xyz}
180a2647caeSdrhdo_test printf-1.6.6 {
181a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
182a2647caeSdrh       100 100 100
183a2647caeSdrh} {abc: (   100) (    64) (   144) :xyz}
184a2647caeSdrhdo_test printf-1.6.7 {
185a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
186a2647caeSdrh       100 100 100
187a2647caeSdrh} {abc: (   100) (  0x64) (  0144) :xyz}
188a2647caeSdrhdo_test printf-1.7.1 {
189a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
190a2647caeSdrh       1000000 1000000 1000000
191a2647caeSdrh} {abc: 1000000 f4240 3641100 :xyz}
192a2647caeSdrhdo_test printf-1.7.2 {
193a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
194a2647caeSdrh       1000000 1000000 1000000
195a2647caeSdrh} {abc: (1000000) ( f4240) (3641100) :xyz}
196a2647caeSdrhdo_test printf-1.7.3 {
197a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
198a2647caeSdrh       1000000 1000000 1000000
199a2647caeSdrh} {abc: (1000000) (f4240 ) (3641100) :xyz}
200a2647caeSdrhdo_test printf-1.7.4 {
201a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
202a2647caeSdrh       1000000 1000000 1000000
203a2647caeSdrh} {abc: (+1000000) ( f4240) (3641100) :xyz}
204a2647caeSdrhdo_test printf-1.7.5 {
205a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
206a2647caeSdrh       1000000 1000000 1000000
207a2647caeSdrh} {abc: (1000000) (0f4240) (3641100) :xyz}
208a2647caeSdrhdo_test printf-1.7.6 {
209a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
210a2647caeSdrh       1000000 1000000 1000000
211a2647caeSdrh} {abc: ( 1000000) ( f4240) (3641100) :xyz}
212a2647caeSdrhdo_test printf-1.7.7 {
213a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
214a2647caeSdrh       1000000 1000000 1000000
215a2647caeSdrh} {abc: (1000000) (0xf4240) (03641100) :xyz}
216a2647caeSdrhdo_test printf-1.8.1 {
217a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
218a2647caeSdrh       999999999 999999999 999999999
219a2647caeSdrh} {abc: 999999999 3b9ac9ff 7346544777 :xyz}
220a2647caeSdrhdo_test printf-1.8.2 {
221a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
222a2647caeSdrh       999999999 999999999 999999999
223a2647caeSdrh} {abc: (999999999) (3b9ac9ff) (7346544777) :xyz}
224a2647caeSdrhdo_test printf-1.8.3 {
225a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
226a2647caeSdrh       999999999 999999999 999999999
227a2647caeSdrh} {abc: (999999999) (3b9ac9ff) (7346544777) :xyz}
228a2647caeSdrhdo_test printf-1.8.4 {
229a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
230a2647caeSdrh       999999999 999999999 999999999
231a2647caeSdrh} {abc: (+999999999) (3b9ac9ff) (7346544777) :xyz}
232a2647caeSdrhdo_test printf-1.8.5 {
233a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
234a2647caeSdrh       999999999 999999999 999999999
235a2647caeSdrh} {abc: (999999999) (3b9ac9ff) (7346544777) :xyz}
236a2647caeSdrhdo_test printf-1.8.6 {
237a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
238a2647caeSdrh       999999999 999999999 999999999
239a2647caeSdrh} {abc: ( 999999999) (3b9ac9ff) (7346544777) :xyz}
240a2647caeSdrhdo_test printf-1.8.7 {
241a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
242a2647caeSdrh       999999999 999999999 999999999
243a2647caeSdrh} {abc: (999999999) (0x3b9ac9ff) (07346544777) :xyz}
244a2647caeSdrhdo_test printf-1.9.1 {
245a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
246a2647caeSdrh       0 0 0
247a2647caeSdrh} {abc: 0 0 0 :xyz}
248a2647caeSdrhdo_test printf-1.9.2 {
249a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
250a2647caeSdrh       0 0 0
251a2647caeSdrh} {abc: (     0) (     0) (     0) :xyz}
252a2647caeSdrhdo_test printf-1.9.3 {
253a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
254a2647caeSdrh       0 0 0
255a2647caeSdrh} {abc: (0     ) (0     ) (0     ) :xyz}
256a2647caeSdrhdo_test printf-1.9.4 {
257a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
258a2647caeSdrh       0 0 0
259a2647caeSdrh} {abc: (    +0) (     0) (     0) :xyz}
260a2647caeSdrhdo_test printf-1.9.5 {
261a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
262a2647caeSdrh       0 0 0
263a2647caeSdrh} {abc: (000000) (000000) (000000) :xyz}
264a2647caeSdrhdo_test printf-1.9.6 {
265a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
266a2647caeSdrh       0 0 0
267a2647caeSdrh} {abc: (     0) (     0) (     0) :xyz}
268a2647caeSdrhdo_test printf-1.9.7 {
269a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
270a2647caeSdrh       0 0 0
271a2647caeSdrh} {abc: (     0) (     0) (     0) :xyz}
272a2647caeSdrh# 0xffffffff == -1
273a2647caeSdrhdo_test printf-1.10.1 {
274a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
275a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
276a2647caeSdrh} {abc: -1 ffffffff 37777777777 :xyz}
277a2647caeSdrhdo_test printf-1.10.2 {
278a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
279a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
280a2647caeSdrh} {abc: (    -1) (ffffffff) (37777777777) :xyz}
281a2647caeSdrhdo_test printf-1.10.3 {
282a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
283a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
284a2647caeSdrh} {abc: (-1    ) (ffffffff) (37777777777) :xyz}
285a2647caeSdrhdo_test printf-1.10.4 {
286a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
287a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
288a2647caeSdrh} {abc: (    -1) (ffffffff) (37777777777) :xyz}
289a2647caeSdrhdo_test printf-1.10.5 {
290a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
291a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
292a2647caeSdrh} {abc: (-00001) (ffffffff) (37777777777) :xyz}
293a2647caeSdrhdo_test printf-1.10.6 {
294a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
295a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
296a2647caeSdrh} {abc: (    -1) (ffffffff) (37777777777) :xyz}
297a2647caeSdrhdo_test printf-1.10.7 {
298a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
299a2647caeSdrh       0xffffffff 0xffffffff 0xffffffff
300a2647caeSdrh} {abc: (    -1) (0xffffffff) (037777777777) :xyz}
301a2647caeSdrh# 0xfffffffe == -2
302a2647caeSdrhdo_test printf-1.11.1 {
303a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
304a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
305a2647caeSdrh} {abc: -2 fffffffe 37777777776 :xyz}
306a2647caeSdrhdo_test printf-1.11.2 {
307a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
308a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
309a2647caeSdrh} {abc: (    -2) (fffffffe) (37777777776) :xyz}
310a2647caeSdrhdo_test printf-1.11.3 {
311a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
312a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
313a2647caeSdrh} {abc: (-2    ) (fffffffe) (37777777776) :xyz}
314a2647caeSdrhdo_test printf-1.11.4 {
315a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
316a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
317a2647caeSdrh} {abc: (    -2) (fffffffe) (37777777776) :xyz}
318a2647caeSdrhdo_test printf-1.11.5 {
319a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
320a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
321a2647caeSdrh} {abc: (-00002) (fffffffe) (37777777776) :xyz}
322a2647caeSdrhdo_test printf-1.11.6 {
323a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
324a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
325a2647caeSdrh} {abc: (    -2) (fffffffe) (37777777776) :xyz}
326a2647caeSdrhdo_test printf-1.11.7 {
327a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
328a2647caeSdrh       0xfffffffe 0xfffffffe 0xfffffffe
329a2647caeSdrh} {abc: (    -2) (0xfffffffe) (037777777776) :xyz}
330a2647caeSdrh# 0xfffffffb == -5
331a2647caeSdrhdo_test printf-1.12.1 {
332a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
333a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
334a2647caeSdrh} {abc: -5 fffffffb 37777777773 :xyz}
335a2647caeSdrhdo_test printf-1.12.2 {
336a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
337a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
338a2647caeSdrh} {abc: (    -5) (fffffffb) (37777777773) :xyz}
339a2647caeSdrhdo_test printf-1.12.3 {
340a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
341a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
342a2647caeSdrh} {abc: (-5    ) (fffffffb) (37777777773) :xyz}
343a2647caeSdrhdo_test printf-1.12.4 {
344a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
345a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
346a2647caeSdrh} {abc: (    -5) (fffffffb) (37777777773) :xyz}
347a2647caeSdrhdo_test printf-1.12.5 {
348a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
349a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
350a2647caeSdrh} {abc: (-00005) (fffffffb) (37777777773) :xyz}
351a2647caeSdrhdo_test printf-1.12.6 {
352a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
353a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
354a2647caeSdrh} {abc: (    -5) (fffffffb) (37777777773) :xyz}
355a2647caeSdrhdo_test printf-1.12.7 {
356a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
357a2647caeSdrh       0xfffffffb 0xfffffffb 0xfffffffb
358a2647caeSdrh} {abc: (    -5) (0xfffffffb) (037777777773) :xyz}
359a2647caeSdrh# 0xfffffff6 == -10
360a2647caeSdrhdo_test printf-1.13.1 {
361a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
362a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
363a2647caeSdrh} {abc: -10 fffffff6 37777777766 :xyz}
364a2647caeSdrhdo_test printf-1.13.2 {
365a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
366a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
367a2647caeSdrh} {abc: (   -10) (fffffff6) (37777777766) :xyz}
368a2647caeSdrhdo_test printf-1.13.3 {
369a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
370a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
371a2647caeSdrh} {abc: (-10   ) (fffffff6) (37777777766) :xyz}
372a2647caeSdrhdo_test printf-1.13.4 {
373a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
374a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
375a2647caeSdrh} {abc: (   -10) (fffffff6) (37777777766) :xyz}
376a2647caeSdrhdo_test printf-1.13.5 {
377a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
378a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
379a2647caeSdrh} {abc: (-00010) (fffffff6) (37777777766) :xyz}
380a2647caeSdrhdo_test printf-1.13.6 {
381a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
382a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
383a2647caeSdrh} {abc: (   -10) (fffffff6) (37777777766) :xyz}
384a2647caeSdrhdo_test printf-1.13.7 {
385a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
386a2647caeSdrh       0xfffffff6 0xfffffff6 0xfffffff6
387a2647caeSdrh} {abc: (   -10) (0xfffffff6) (037777777766) :xyz}
388a2647caeSdrh# 0xffffff9d == -99
389a2647caeSdrhdo_test printf-1.14.1 {
390a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
391a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
392a2647caeSdrh} {abc: -99 ffffff9d 37777777635 :xyz}
393a2647caeSdrhdo_test printf-1.14.2 {
394a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
395a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
396a2647caeSdrh} {abc: (   -99) (ffffff9d) (37777777635) :xyz}
397a2647caeSdrhdo_test printf-1.14.3 {
398a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
399a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
400a2647caeSdrh} {abc: (-99   ) (ffffff9d) (37777777635) :xyz}
401a2647caeSdrhdo_test printf-1.14.4 {
402a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
403a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
404a2647caeSdrh} {abc: (   -99) (ffffff9d) (37777777635) :xyz}
405a2647caeSdrhdo_test printf-1.14.5 {
406a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
407a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
408a2647caeSdrh} {abc: (-00099) (ffffff9d) (37777777635) :xyz}
409a2647caeSdrhdo_test printf-1.14.6 {
410a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
411a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
412a2647caeSdrh} {abc: (   -99) (ffffff9d) (37777777635) :xyz}
413a2647caeSdrhdo_test printf-1.14.7 {
414a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
415a2647caeSdrh       0xffffff9d 0xffffff9d 0xffffff9d
416a2647caeSdrh} {abc: (   -99) (0xffffff9d) (037777777635) :xyz}
417a2647caeSdrh# 0xffffff9c == -100
418a2647caeSdrhdo_test printf-1.15.1 {
419a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
420a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
421a2647caeSdrh} {abc: -100 ffffff9c 37777777634 :xyz}
422a2647caeSdrhdo_test printf-1.15.2 {
423a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
424a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
425a2647caeSdrh} {abc: (  -100) (ffffff9c) (37777777634) :xyz}
426a2647caeSdrhdo_test printf-1.15.3 {
427a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
428a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
429a2647caeSdrh} {abc: (-100  ) (ffffff9c) (37777777634) :xyz}
430a2647caeSdrhdo_test printf-1.15.4 {
431a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
432a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
433a2647caeSdrh} {abc: (  -100) (ffffff9c) (37777777634) :xyz}
434a2647caeSdrhdo_test printf-1.15.5 {
435a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
436a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
437a2647caeSdrh} {abc: (-00100) (ffffff9c) (37777777634) :xyz}
438a2647caeSdrhdo_test printf-1.15.6 {
439a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
440a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
441a2647caeSdrh} {abc: (  -100) (ffffff9c) (37777777634) :xyz}
442a2647caeSdrhdo_test printf-1.15.7 {
443a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
444a2647caeSdrh       0xffffff9c 0xffffff9c 0xffffff9c
445a2647caeSdrh} {abc: (  -100) (0xffffff9c) (037777777634) :xyz}
446a2647caeSdrh# 0xff676981 == -9999999
447a2647caeSdrhdo_test printf-1.16.1 {
448a2647caeSdrh  sqlite3_mprintf_int {abc: %d %x %o :xyz}\
449a2647caeSdrh       0xff676981 0xff676981 0xff676981
450a2647caeSdrh} {abc: -9999999 ff676981 37731664601 :xyz}
451a2647caeSdrhdo_test printf-1.16.2 {
452a2647caeSdrh  sqlite3_mprintf_int {abc: (%6d) (%6x) (%6o) :xyz}\
453a2647caeSdrh       0xff676981 0xff676981 0xff676981
454a2647caeSdrh} {abc: (-9999999) (ff676981) (37731664601) :xyz}
455a2647caeSdrhdo_test printf-1.16.3 {
456a2647caeSdrh  sqlite3_mprintf_int {abc: (%-6d) (%-6x) (%-6o) :xyz}\
457a2647caeSdrh       0xff676981 0xff676981 0xff676981
458a2647caeSdrh} {abc: (-9999999) (ff676981) (37731664601) :xyz}
459a2647caeSdrhdo_test printf-1.16.4 {
460a2647caeSdrh  sqlite3_mprintf_int {abc: (%+6d) (%+6x) (%+6o) :xyz}\
461a2647caeSdrh       0xff676981 0xff676981 0xff676981
462a2647caeSdrh} {abc: (-9999999) (ff676981) (37731664601) :xyz}
463a2647caeSdrhdo_test printf-1.16.5 {
464a2647caeSdrh  sqlite3_mprintf_int {abc: (%06d) (%06x) (%06o) :xyz}\
465a2647caeSdrh       0xff676981 0xff676981 0xff676981
466a2647caeSdrh} {abc: (-9999999) (ff676981) (37731664601) :xyz}
467a2647caeSdrhdo_test printf-1.16.6 {
468a2647caeSdrh  sqlite3_mprintf_int {abc: (% 6d) (% 6x) (% 6o) :xyz}\
469a2647caeSdrh       0xff676981 0xff676981 0xff676981
470a2647caeSdrh} {abc: (-9999999) (ff676981) (37731664601) :xyz}
471a2647caeSdrhdo_test printf-1.16.7 {
472a2647caeSdrh  sqlite3_mprintf_int {abc: (%#6d) (%#6x) (%#6o) :xyz}\
473a2647caeSdrh       0xff676981 0xff676981 0xff676981
474a2647caeSdrh} {abc: (-9999999) (0xff676981) (037731664601) :xyz}
475a2647caeSdrhdo_test printf-2.1.1.1 {
476a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 0.001
477a2647caeSdrh} {abc: (0.0) :xyz}
478a2647caeSdrhdo_test printf-2.1.1.2 {
479a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 0.001
480a2647caeSdrh} {abc: (1.0e-03) :xyz}
481a2647caeSdrhdo_test printf-2.1.1.3 {
482a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 0.001
483a2647caeSdrh} {abc: (0.001) :xyz}
484a2647caeSdrhdo_test printf-2.1.1.4 {
485a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 0.001
486a2647caeSdrh} {abc: 1 1 (0.001) :xyz}
487a2647caeSdrhdo_test printf-2.1.1.5 {
488a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 0.001
489a2647caeSdrh} {abc: 1 1 (0.00100000) :xyz}
490a2647caeSdrhdo_test printf-2.1.1.6 {
491a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 0.001
492a2647caeSdrh} {abc: 1 1 (000000.001) :xyz}
493a2647caeSdrhdo_test printf-2.1.1.7 {
494a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 0.001
495a2647caeSdrh} {abc: 1 1 (0.0) :xyz}
496a2647caeSdrhdo_test printf-2.1.1.8 {
497a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 0.001
498a2647caeSdrh} {abc: 1 1 (1.0e-03) :xyz}
499a2647caeSdrhdo_test printf-2.1.1.9 {
500a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 0.001
501a2647caeSdrh} {abc: 1 1 (0.001) :xyz}
502a2647caeSdrhdo_test printf-2.1.2.1 {
503a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 1.0e-20
504a2647caeSdrh} {abc: (0.0) :xyz}
505a2647caeSdrhdo_test printf-2.1.2.2 {
506a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 1.0e-20
507a2647caeSdrh} {abc: (1.0e-20) :xyz}
508a2647caeSdrhdo_test printf-2.1.2.3 {
509a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 1.0e-20
510a2647caeSdrh} {abc: (1e-20) :xyz}
511a2647caeSdrhdo_test printf-2.1.2.4 {
512a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 1.0e-20
513a2647caeSdrh} {abc: 1 1 (1e-20) :xyz}
514a2647caeSdrhdo_test printf-2.1.2.5 {
515a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 1.0e-20
516a2647caeSdrh} {abc: 1 1 (1.00000e-20) :xyz}
517a2647caeSdrhdo_test printf-2.1.2.6 {
518a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 1.0e-20
519a2647caeSdrh} {abc: 1 1 (000001e-20) :xyz}
520a2647caeSdrhdo_test printf-2.1.2.7 {
521a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 1.0e-20
522a2647caeSdrh} {abc: 1 1 (0.0) :xyz}
523a2647caeSdrhdo_test printf-2.1.2.8 {
524a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 1.0e-20
525a2647caeSdrh} {abc: 1 1 (1.0e-20) :xyz}
526a2647caeSdrhdo_test printf-2.1.2.9 {
527a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 1.0e-20
528a2647caeSdrh} {abc: 1 1 (1e-20) :xyz}
529a2647caeSdrhdo_test printf-2.1.3.1 {
530a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 1.0
531a2647caeSdrh} {abc: (1.0) :xyz}
532a2647caeSdrhdo_test printf-2.1.3.2 {
533a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 1.0
534a2647caeSdrh} {abc: (1.0e+00) :xyz}
535a2647caeSdrhdo_test printf-2.1.3.3 {
536a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 1.0
537a2647caeSdrh} {abc: (1) :xyz}
538a2647caeSdrhdo_test printf-2.1.3.4 {
539a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 1.0
540a2647caeSdrh} {abc: 1 1 (1) :xyz}
541a2647caeSdrhdo_test printf-2.1.3.5 {
542a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 1.0
543a2647caeSdrh} {abc: 1 1 (1.00000) :xyz}
544a2647caeSdrhdo_test printf-2.1.3.6 {
545a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 1.0
546a2647caeSdrh} {abc: 1 1 (0000000001) :xyz}
547a2647caeSdrhdo_test printf-2.1.3.7 {
548a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 1.0
549a2647caeSdrh} {abc: 1 1 (1.0) :xyz}
550a2647caeSdrhdo_test printf-2.1.3.8 {
551a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 1.0
552a2647caeSdrh} {abc: 1 1 (1.0e+00) :xyz}
553a2647caeSdrhdo_test printf-2.1.3.9 {
554a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 1.0
555a2647caeSdrh} {abc: 1 1 (1) :xyz}
556a2647caeSdrhdo_test printf-2.1.4.1 {
557a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 0.0
558a2647caeSdrh} {abc: (0.0) :xyz}
559a2647caeSdrhdo_test printf-2.1.4.2 {
560a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 0.0
561a2647caeSdrh} {abc: (0.0e+00) :xyz}
562a2647caeSdrhdo_test printf-2.1.4.3 {
563a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 0.0
564a2647caeSdrh} {abc: (0) :xyz}
565a2647caeSdrhdo_test printf-2.1.4.4 {
566a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 0.0
567a2647caeSdrh} {abc: 1 1 (0) :xyz}
568a2647caeSdrhdo_test printf-2.1.4.5 {
569a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 0.0
570a2647caeSdrh} {abc: 1 1 (0.00000) :xyz}
571a2647caeSdrhdo_test printf-2.1.4.6 {
572a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 0.0
573a2647caeSdrh} {abc: 1 1 (0000000000) :xyz}
574a2647caeSdrhdo_test printf-2.1.4.7 {
575a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 0.0
576a2647caeSdrh} {abc: 1 1 (0.0) :xyz}
577a2647caeSdrhdo_test printf-2.1.4.8 {
578a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 0.0
579a2647caeSdrh} {abc: 1 1 (0.0e+00) :xyz}
580a2647caeSdrhdo_test printf-2.1.4.9 {
581a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 0.0
582a2647caeSdrh} {abc: 1 1 (0) :xyz}
583a2647caeSdrhdo_test printf-2.1.5.1 {
584a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 100.0
585a2647caeSdrh} {abc: (100.0) :xyz}
586a2647caeSdrhdo_test printf-2.1.5.2 {
587a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 100.0
588a2647caeSdrh} {abc: (1.0e+02) :xyz}
589a2647caeSdrhdo_test printf-2.1.5.3 {
590a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 100.0
591a2647caeSdrh} {abc: (1e+02) :xyz}
592a2647caeSdrhdo_test printf-2.1.5.4 {
593a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 100.0
594a2647caeSdrh} {abc: 1 1 (100) :xyz}
595a2647caeSdrhdo_test printf-2.1.5.5 {
596a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 100.0
597a2647caeSdrh} {abc: 1 1 (100.000) :xyz}
598a2647caeSdrhdo_test printf-2.1.5.6 {
599a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 100.0
600a2647caeSdrh} {abc: 1 1 (0000000100) :xyz}
601a2647caeSdrhdo_test printf-2.1.5.7 {
602a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 100.0
603a2647caeSdrh} {abc: 1 1 (100.0) :xyz}
604a2647caeSdrhdo_test printf-2.1.5.8 {
605a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 100.0
606a2647caeSdrh} {abc: 1 1 (1.0e+02) :xyz}
607a2647caeSdrhdo_test printf-2.1.5.9 {
608a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 100.0
609a2647caeSdrh} {abc: 1 1 (1e+02) :xyz}
610a2647caeSdrhdo_test printf-2.1.6.1 {
611a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 9.99999
612a2647caeSdrh} {abc: (10.0) :xyz}
613a2647caeSdrhdo_test printf-2.1.6.2 {
614a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 9.99999
615a2647caeSdrh} {abc: (1.0e+01) :xyz}
616a2647caeSdrhdo_test printf-2.1.6.3 {
617a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 9.99999
618a2647caeSdrh} {abc: (1e+01) :xyz}
619a2647caeSdrhdo_test printf-2.1.6.4 {
620a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 9.99999
621a2647caeSdrh} {abc: 1 1 (9.99999) :xyz}
622a2647caeSdrhdo_test printf-2.1.6.5 {
623a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 9.99999
624a2647caeSdrh} {abc: 1 1 (9.99999) :xyz}
625a2647caeSdrhdo_test printf-2.1.6.6 {
626a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 9.99999
627a2647caeSdrh} {abc: 1 1 (0009.99999) :xyz}
628a2647caeSdrhdo_test printf-2.1.6.7 {
629a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 9.99999
630a2647caeSdrh} {abc: 1 1 (10.0) :xyz}
631a2647caeSdrhdo_test printf-2.1.6.8 {
632a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 9.99999
633a2647caeSdrh} {abc: 1 1 (1.0e+01) :xyz}
634a2647caeSdrhdo_test printf-2.1.6.9 {
635a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 9.99999
636a2647caeSdrh} {abc: 1 1 (1e+01) :xyz}
637a2647caeSdrhdo_test printf-2.1.7.1 {
638a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -0.00543
639a2647caeSdrh} {abc: (-0.0) :xyz}
640a2647caeSdrhdo_test printf-2.1.7.2 {
641a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -0.00543
642a2647caeSdrh} {abc: (-5.4e-03) :xyz}
643a2647caeSdrhdo_test printf-2.1.7.3 {
644a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -0.00543
645a2647caeSdrh} {abc: (-0.005) :xyz}
646a2647caeSdrhdo_test printf-2.1.7.4 {
647a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -0.00543
648a2647caeSdrh} {abc: 1 1 (-0.00543) :xyz}
649a2647caeSdrhdo_test printf-2.1.7.5 {
650a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -0.00543
651a2647caeSdrh} {abc: 1 1 (-0.00543000) :xyz}
652a2647caeSdrhdo_test printf-2.1.7.6 {
653a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -0.00543
654a2647caeSdrh} {abc: 1 1 (-000.00543) :xyz}
655a2647caeSdrhdo_test printf-2.1.7.7 {
656a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -0.00543
657a2647caeSdrh} {abc: 1 1 (-0.0) :xyz}
658a2647caeSdrhdo_test printf-2.1.7.8 {
659a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -0.00543
660a2647caeSdrh} {abc: 1 1 (-5.4e-03) :xyz}
661a2647caeSdrhdo_test printf-2.1.7.9 {
662a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -0.00543
663a2647caeSdrh} {abc: 1 1 (-0.005) :xyz}
664a2647caeSdrhdo_test printf-2.1.8.1 {
665a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -1.0
666a2647caeSdrh} {abc: (-1.0) :xyz}
667a2647caeSdrhdo_test printf-2.1.8.2 {
668a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -1.0
669a2647caeSdrh} {abc: (-1.0e+00) :xyz}
670a2647caeSdrhdo_test printf-2.1.8.3 {
671a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -1.0
672a2647caeSdrh} {abc: (-1) :xyz}
673a2647caeSdrhdo_test printf-2.1.8.4 {
674a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -1.0
675a2647caeSdrh} {abc: 1 1 (-1) :xyz}
676a2647caeSdrhdo_test printf-2.1.8.5 {
677a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -1.0
678a2647caeSdrh} {abc: 1 1 (-1.00000) :xyz}
679a2647caeSdrhdo_test printf-2.1.8.6 {
680a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -1.0
681a2647caeSdrh} {abc: 1 1 (-000000001) :xyz}
682a2647caeSdrhdo_test printf-2.1.8.7 {
683a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -1.0
684a2647caeSdrh} {abc: 1 1 (-1.0) :xyz}
685a2647caeSdrhdo_test printf-2.1.8.8 {
686a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -1.0
687a2647caeSdrh} {abc: 1 1 (-1.0e+00) :xyz}
688a2647caeSdrhdo_test printf-2.1.8.9 {
689a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -1.0
690a2647caeSdrh} {abc: 1 1 (-1) :xyz}
691a2647caeSdrhdo_test printf-2.1.9.1 {
692a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -99.99999
693a2647caeSdrh} {abc: (-100.0) :xyz}
694a2647caeSdrhdo_test printf-2.1.9.2 {
695a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -99.99999
696a2647caeSdrh} {abc: (-1.0e+02) :xyz}
697a2647caeSdrhdo_test printf-2.1.9.3 {
698a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -99.99999
699a2647caeSdrh} {abc: (-1e+02) :xyz}
700a2647caeSdrhdo_test printf-2.1.9.4 {
701a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -99.99999
702a2647caeSdrh} {abc: 1 1 (-100) :xyz}
703a2647caeSdrhdo_test printf-2.1.9.5 {
704a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -99.99999
705a2647caeSdrh} {abc: 1 1 (-100.000) :xyz}
706a2647caeSdrhdo_test printf-2.1.9.6 {
707a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -99.99999
708a2647caeSdrh} {abc: 1 1 (-000000100) :xyz}
709a2647caeSdrhdo_test printf-2.1.9.7 {
710a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -99.99999
711a2647caeSdrh} {abc: 1 1 (-100.0) :xyz}
712a2647caeSdrhdo_test printf-2.1.9.8 {
713a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -99.99999
714a2647caeSdrh} {abc: 1 1 (-1.0e+02) :xyz}
715a2647caeSdrhdo_test printf-2.1.9.9 {
716a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -99.99999
717a2647caeSdrh} {abc: 1 1 (-1e+02) :xyz}
718a2647caeSdrhdo_test printf-2.1.10.1 {
719a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 3.14e+9
720a2647caeSdrh} {abc: (3140000000.0) :xyz}
721a2647caeSdrhdo_test printf-2.1.10.2 {
722a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 3.14e+9
723a2647caeSdrh} {abc: (3.1e+09) :xyz}
724a2647caeSdrhdo_test printf-2.1.10.3 {
725a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 3.14e+9
726a2647caeSdrh} {abc: (3e+09) :xyz}
727a2647caeSdrhdo_test printf-2.1.10.4 {
728a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 3.14e+9
729a2647caeSdrh} {abc: 1 1 (3.14e+09) :xyz}
730a2647caeSdrhdo_test printf-2.1.10.5 {
731a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 3.14e+9
732a2647caeSdrh} {abc: 1 1 (3.14000e+09) :xyz}
733a2647caeSdrhdo_test printf-2.1.10.6 {
734a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 3.14e+9
735a2647caeSdrh} {abc: 1 1 (003.14e+09) :xyz}
736a2647caeSdrhdo_test printf-2.1.10.7 {
737a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 3.14e+9
738a2647caeSdrh} {abc: 1 1 (3140000000.0) :xyz}
739a2647caeSdrhdo_test printf-2.1.10.8 {
740a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 3.14e+9
741a2647caeSdrh} {abc: 1 1 (3.1e+09) :xyz}
742a2647caeSdrhdo_test printf-2.1.10.9 {
743a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 3.14e+9
744a2647caeSdrh} {abc: 1 1 (3e+09) :xyz}
745a2647caeSdrhdo_test printf-2.1.11.2 {
746a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -4.72732e+88
747a2647caeSdrh} {abc: (-4.7e+88) :xyz}
748a2647caeSdrhdo_test printf-2.1.11.3 {
749a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -4.72732e+88
750a2647caeSdrh} {abc: (-5e+88) :xyz}
751a2647caeSdrhdo_test printf-2.1.11.4 {
752a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -4.72732e+88
753a2647caeSdrh} {abc: 1 1 (-4.72732e+88) :xyz}
754a2647caeSdrhdo_test printf-2.1.11.5 {
755a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -4.72732e+88
756a2647caeSdrh} {abc: 1 1 (-4.72732e+88) :xyz}
757a2647caeSdrhdo_test printf-2.1.11.6 {
758a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -4.72732e+88
759a2647caeSdrh} {abc: 1 1 (-4.72732e+88) :xyz}
760a2647caeSdrhdo_test printf-2.1.11.8 {
761a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -4.72732e+88
762a2647caeSdrh} {abc: 1 1 (-4.7e+88) :xyz}
763a2647caeSdrhdo_test printf-2.1.11.9 {
764a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -4.72732e+88
765a2647caeSdrh} {abc: 1 1 (-5e+88) :xyz}
766a2647caeSdrhdo_test printf-2.1.12.2 {
767a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 9.87991e+143
768a2647caeSdrh} {abc: (9.9e+143) :xyz}
769a2647caeSdrhdo_test printf-2.1.12.3 {
770a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 9.87991e+143
771a2647caeSdrh} {abc: (1e+144) :xyz}
772a2647caeSdrhdo_test printf-2.1.12.4 {
773a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 9.87991e+143
774a2647caeSdrh} {abc: 1 1 (9.87991e+143) :xyz}
775a2647caeSdrhdo_test printf-2.1.12.5 {
776a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 9.87991e+143
777a2647caeSdrh} {abc: 1 1 (9.87991e+143) :xyz}
778a2647caeSdrhdo_test printf-2.1.12.6 {
779a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 9.87991e+143
780a2647caeSdrh} {abc: 1 1 (9.87991e+143) :xyz}
781a2647caeSdrhdo_test printf-2.1.12.8 {
782a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 9.87991e+143
783a2647caeSdrh} {abc: 1 1 (9.9e+143) :xyz}
784a2647caeSdrhdo_test printf-2.1.12.9 {
785a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 9.87991e+143
786a2647caeSdrh} {abc: 1 1 (1e+144) :xyz}
787a2647caeSdrhdo_test printf-2.1.13.1 {
788a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -6.287291e-9
789a2647caeSdrh} {abc: (-0.0) :xyz}
790a2647caeSdrhdo_test printf-2.1.13.2 {
791a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -6.287291e-9
792a2647caeSdrh} {abc: (-6.3e-09) :xyz}
793a2647caeSdrhdo_test printf-2.1.13.3 {
794a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -6.287291e-9
795a2647caeSdrh} {abc: (-6e-09) :xyz}
796a2647caeSdrhdo_test printf-2.1.13.4 {
797a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -6.287291e-9
798a2647caeSdrh} {abc: 1 1 (-6.28729e-09) :xyz}
799a2647caeSdrhdo_test printf-2.1.13.5 {
800a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -6.287291e-9
801a2647caeSdrh} {abc: 1 1 (-6.28729e-09) :xyz}
802a2647caeSdrhdo_test printf-2.1.13.6 {
803a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -6.287291e-9
804a2647caeSdrh} {abc: 1 1 (-6.28729e-09) :xyz}
805a2647caeSdrhdo_test printf-2.1.13.7 {
806a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -6.287291e-9
807a2647caeSdrh} {abc: 1 1 (-0.0) :xyz}
808a2647caeSdrhdo_test printf-2.1.13.8 {
809a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -6.287291e-9
810a2647caeSdrh} {abc: 1 1 (-6.3e-09) :xyz}
811a2647caeSdrhdo_test printf-2.1.13.9 {
812a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -6.287291e-9
813a2647caeSdrh} {abc: 1 1 (-6e-09) :xyz}
814a2647caeSdrhdo_test printf-2.1.14.1 {
815a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 3.38826392e-110
816a2647caeSdrh} {abc: (0.0) :xyz}
817a2647caeSdrhdo_test printf-2.1.14.2 {
818a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 3.38826392e-110
819a2647caeSdrh} {abc: (3.4e-110) :xyz}
820a2647caeSdrhdo_test printf-2.1.14.3 {
821a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 3.38826392e-110
822a2647caeSdrh} {abc: (3e-110) :xyz}
823a2647caeSdrhdo_test printf-2.1.14.4 {
824a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 3.38826392e-110
825a2647caeSdrh} {abc: 1 1 (3.38826e-110) :xyz}
826a2647caeSdrhdo_test printf-2.1.14.5 {
827a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 3.38826392e-110
828a2647caeSdrh} {abc: 1 1 (3.38826e-110) :xyz}
829a2647caeSdrhdo_test printf-2.1.14.6 {
830a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 3.38826392e-110
831a2647caeSdrh} {abc: 1 1 (3.38826e-110) :xyz}
832a2647caeSdrhdo_test printf-2.1.14.7 {
833a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 3.38826392e-110
834a2647caeSdrh} {abc: 1 1 (0.0) :xyz}
835a2647caeSdrhdo_test printf-2.1.14.8 {
836a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 3.38826392e-110
837a2647caeSdrh} {abc: 1 1 (3.4e-110) :xyz}
838a2647caeSdrhdo_test printf-2.1.14.9 {
839a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 3.38826392e-110
840a2647caeSdrh} {abc: 1 1 (3e-110) :xyz}
841a2647caeSdrhdo_test printf-2.2.1.1 {
842a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 0.001
843a2647caeSdrh} {abc: (0.00100) :xyz}
844a2647caeSdrhdo_test printf-2.2.1.2 {
845a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 0.001
846a2647caeSdrh} {abc: (1.00000e-03) :xyz}
847a2647caeSdrhdo_test printf-2.2.1.3 {
848a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 0.001
849a2647caeSdrh} {abc: (0.001) :xyz}
850a2647caeSdrhdo_test printf-2.2.1.4 {
851a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 0.001
852a2647caeSdrh} {abc: 5 5 (0.001) :xyz}
853a2647caeSdrhdo_test printf-2.2.1.5 {
854a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 0.001
855a2647caeSdrh} {abc: 5 5 (0.00100000) :xyz}
856a2647caeSdrhdo_test printf-2.2.1.6 {
857a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 0.001
858a2647caeSdrh} {abc: 5 5 (000000.001) :xyz}
859a2647caeSdrhdo_test printf-2.2.1.7 {
860a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 0.001
861a2647caeSdrh} {abc: 5 5 (0.00100) :xyz}
862a2647caeSdrhdo_test printf-2.2.1.8 {
863a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 0.001
864a2647caeSdrh} {abc: 5 5 (1.00000e-03) :xyz}
865a2647caeSdrhdo_test printf-2.2.1.9 {
866a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 0.001
867a2647caeSdrh} {abc: 5 5 (0.001) :xyz}
868a2647caeSdrhdo_test printf-2.2.2.1 {
869a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 1.0e-20
870a2647caeSdrh} {abc: (0.00000) :xyz}
871a2647caeSdrhdo_test printf-2.2.2.2 {
872a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 1.0e-20
873a2647caeSdrh} {abc: (1.00000e-20) :xyz}
874a2647caeSdrhdo_test printf-2.2.2.3 {
875a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 1.0e-20
876a2647caeSdrh} {abc: (1e-20) :xyz}
877a2647caeSdrhdo_test printf-2.2.2.4 {
878a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 1.0e-20
879a2647caeSdrh} {abc: 5 5 (1e-20) :xyz}
880a2647caeSdrhdo_test printf-2.2.2.5 {
881a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 1.0e-20
882a2647caeSdrh} {abc: 5 5 (1.00000e-20) :xyz}
883a2647caeSdrhdo_test printf-2.2.2.6 {
884a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 1.0e-20
885a2647caeSdrh} {abc: 5 5 (000001e-20) :xyz}
886a2647caeSdrhdo_test printf-2.2.2.7 {
887a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 1.0e-20
888a2647caeSdrh} {abc: 5 5 (0.00000) :xyz}
889a2647caeSdrhdo_test printf-2.2.2.8 {
890a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 1.0e-20
891a2647caeSdrh} {abc: 5 5 (1.00000e-20) :xyz}
892a2647caeSdrhdo_test printf-2.2.2.9 {
893a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 1.0e-20
894a2647caeSdrh} {abc: 5 5 (1e-20) :xyz}
895a2647caeSdrhdo_test printf-2.2.3.1 {
896a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 1.0
897a2647caeSdrh} {abc: (1.00000) :xyz}
898a2647caeSdrhdo_test printf-2.2.3.2 {
899a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 1.0
900a2647caeSdrh} {abc: (1.00000e+00) :xyz}
901a2647caeSdrhdo_test printf-2.2.3.3 {
902a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 1.0
903a2647caeSdrh} {abc: (    1) :xyz}
904a2647caeSdrhdo_test printf-2.2.3.4 {
905a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 1.0
906a2647caeSdrh} {abc: 5 5 (1) :xyz}
907a2647caeSdrhdo_test printf-2.2.3.5 {
908a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 1.0
909a2647caeSdrh} {abc: 5 5 (1.00000) :xyz}
910a2647caeSdrhdo_test printf-2.2.3.6 {
911a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 1.0
912a2647caeSdrh} {abc: 5 5 (0000000001) :xyz}
913a2647caeSdrhdo_test printf-2.2.3.7 {
914a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 1.0
915a2647caeSdrh} {abc: 5 5 (1.00000) :xyz}
916a2647caeSdrhdo_test printf-2.2.3.8 {
917a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 1.0
918a2647caeSdrh} {abc: 5 5 (1.00000e+00) :xyz}
919a2647caeSdrhdo_test printf-2.2.3.9 {
920a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 1.0
921a2647caeSdrh} {abc: 5 5 (    1) :xyz}
922a2647caeSdrhdo_test printf-2.2.4.1 {
923a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 0.0
924a2647caeSdrh} {abc: (0.00000) :xyz}
925a2647caeSdrhdo_test printf-2.2.4.2 {
926a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 0.0
927a2647caeSdrh} {abc: (0.00000e+00) :xyz}
928a2647caeSdrhdo_test printf-2.2.4.3 {
929a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 0.0
930a2647caeSdrh} {abc: (    0) :xyz}
931a2647caeSdrhdo_test printf-2.2.4.4 {
932a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 0.0
933a2647caeSdrh} {abc: 5 5 (0) :xyz}
934a2647caeSdrhdo_test printf-2.2.4.5 {
935a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 0.0
936a2647caeSdrh} {abc: 5 5 (0.00000) :xyz}
937a2647caeSdrhdo_test printf-2.2.4.6 {
938a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 0.0
939a2647caeSdrh} {abc: 5 5 (0000000000) :xyz}
940a2647caeSdrhdo_test printf-2.2.4.7 {
941a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 0.0
942a2647caeSdrh} {abc: 5 5 (0.00000) :xyz}
943a2647caeSdrhdo_test printf-2.2.4.8 {
944a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 0.0
945a2647caeSdrh} {abc: 5 5 (0.00000e+00) :xyz}
946a2647caeSdrhdo_test printf-2.2.4.9 {
947a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 0.0
948a2647caeSdrh} {abc: 5 5 (    0) :xyz}
949a2647caeSdrhdo_test printf-2.2.5.1 {
950a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 100.0
951a2647caeSdrh} {abc: (100.00000) :xyz}
952a2647caeSdrhdo_test printf-2.2.5.2 {
953a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 100.0
954a2647caeSdrh} {abc: (1.00000e+02) :xyz}
955a2647caeSdrhdo_test printf-2.2.5.3 {
956a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 100.0
957a2647caeSdrh} {abc: (  100) :xyz}
958a2647caeSdrhdo_test printf-2.2.5.4 {
959a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 100.0
960a2647caeSdrh} {abc: 5 5 (100) :xyz}
961a2647caeSdrhdo_test printf-2.2.5.5 {
962a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 100.0
963a2647caeSdrh} {abc: 5 5 (100.000) :xyz}
964a2647caeSdrhdo_test printf-2.2.5.6 {
965a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 100.0
966a2647caeSdrh} {abc: 5 5 (0000000100) :xyz}
967a2647caeSdrhdo_test printf-2.2.5.7 {
968a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 100.0
969a2647caeSdrh} {abc: 5 5 (100.00000) :xyz}
970a2647caeSdrhdo_test printf-2.2.5.8 {
971a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 100.0
972a2647caeSdrh} {abc: 5 5 (1.00000e+02) :xyz}
973a2647caeSdrhdo_test printf-2.2.5.9 {
974a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 100.0
975a2647caeSdrh} {abc: 5 5 (  100) :xyz}
976a2647caeSdrhdo_test printf-2.2.6.1 {
977a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 9.99999
978a2647caeSdrh} {abc: (9.99999) :xyz}
979a2647caeSdrhdo_test printf-2.2.6.2 {
980a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 9.99999
981a2647caeSdrh} {abc: (9.99999e+00) :xyz}
982a2647caeSdrhdo_test printf-2.2.6.3 {
983a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 9.99999
984a2647caeSdrh} {abc: (   10) :xyz}
985a2647caeSdrhdo_test printf-2.2.6.4 {
986a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 9.99999
987a2647caeSdrh} {abc: 5 5 (9.99999) :xyz}
988a2647caeSdrhdo_test printf-2.2.6.5 {
989a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 9.99999
990a2647caeSdrh} {abc: 5 5 (9.99999) :xyz}
991a2647caeSdrhdo_test printf-2.2.6.6 {
992a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 9.99999
993a2647caeSdrh} {abc: 5 5 (0009.99999) :xyz}
994a2647caeSdrhdo_test printf-2.2.6.7 {
995a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 9.99999
996a2647caeSdrh} {abc: 5 5 (9.99999) :xyz}
997a2647caeSdrhdo_test printf-2.2.6.8 {
998a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 9.99999
999a2647caeSdrh} {abc: 5 5 (9.99999e+00) :xyz}
1000a2647caeSdrhdo_test printf-2.2.6.9 {
1001a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 9.99999
1002a2647caeSdrh} {abc: 5 5 (   10) :xyz}
1003a2647caeSdrhdo_test printf-2.2.7.1 {
1004a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -0.00543
1005a2647caeSdrh} {abc: (-0.00543) :xyz}
1006a2647caeSdrhdo_test printf-2.2.7.2 {
1007a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -0.00543
1008a2647caeSdrh} {abc: (-5.43000e-03) :xyz}
1009a2647caeSdrhdo_test printf-2.2.7.3 {
1010a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -0.00543
1011a2647caeSdrh} {abc: (-0.00543) :xyz}
1012a2647caeSdrhdo_test printf-2.2.7.4 {
1013a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -0.00543
1014a2647caeSdrh} {abc: 5 5 (-0.00543) :xyz}
1015a2647caeSdrhdo_test printf-2.2.7.5 {
1016a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -0.00543
1017a2647caeSdrh} {abc: 5 5 (-0.00543000) :xyz}
1018a2647caeSdrhdo_test printf-2.2.7.6 {
1019a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -0.00543
1020a2647caeSdrh} {abc: 5 5 (-000.00543) :xyz}
1021a2647caeSdrhdo_test printf-2.2.7.7 {
1022a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -0.00543
1023a2647caeSdrh} {abc: 5 5 (-0.00543) :xyz}
1024a2647caeSdrhdo_test printf-2.2.7.8 {
1025a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -0.00543
1026a2647caeSdrh} {abc: 5 5 (-5.43000e-03) :xyz}
1027a2647caeSdrhdo_test printf-2.2.7.9 {
1028a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -0.00543
1029a2647caeSdrh} {abc: 5 5 (-0.00543) :xyz}
1030a2647caeSdrhdo_test printf-2.2.8.1 {
1031a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -1.0
1032a2647caeSdrh} {abc: (-1.00000) :xyz}
1033a2647caeSdrhdo_test printf-2.2.8.2 {
1034a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -1.0
1035a2647caeSdrh} {abc: (-1.00000e+00) :xyz}
1036a2647caeSdrhdo_test printf-2.2.8.3 {
1037a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -1.0
1038a2647caeSdrh} {abc: (   -1) :xyz}
1039a2647caeSdrhdo_test printf-2.2.8.4 {
1040a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -1.0
1041a2647caeSdrh} {abc: 5 5 (-1) :xyz}
1042a2647caeSdrhdo_test printf-2.2.8.5 {
1043a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -1.0
1044a2647caeSdrh} {abc: 5 5 (-1.00000) :xyz}
1045a2647caeSdrhdo_test printf-2.2.8.6 {
1046a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -1.0
1047a2647caeSdrh} {abc: 5 5 (-000000001) :xyz}
1048a2647caeSdrhdo_test printf-2.2.8.7 {
1049a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -1.0
1050a2647caeSdrh} {abc: 5 5 (-1.00000) :xyz}
1051a2647caeSdrhdo_test printf-2.2.8.8 {
1052a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -1.0
1053a2647caeSdrh} {abc: 5 5 (-1.00000e+00) :xyz}
1054a2647caeSdrhdo_test printf-2.2.8.9 {
1055a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -1.0
1056a2647caeSdrh} {abc: 5 5 (   -1) :xyz}
1057a2647caeSdrhdo_test printf-2.2.9.1 {
1058a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -99.99999
1059a2647caeSdrh} {abc: (-99.99999) :xyz}
1060a2647caeSdrhdo_test printf-2.2.9.2 {
1061a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -99.99999
1062a2647caeSdrh} {abc: (-1.00000e+02) :xyz}
1063a2647caeSdrhdo_test printf-2.2.9.3 {
1064a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -99.99999
1065a2647caeSdrh} {abc: ( -100) :xyz}
1066a2647caeSdrhdo_test printf-2.2.9.4 {
1067a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -99.99999
1068a2647caeSdrh} {abc: 5 5 (-100) :xyz}
1069a2647caeSdrhdo_test printf-2.2.9.5 {
1070a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -99.99999
1071a2647caeSdrh} {abc: 5 5 (-100.000) :xyz}
1072a2647caeSdrhdo_test printf-2.2.9.6 {
1073a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -99.99999
1074a2647caeSdrh} {abc: 5 5 (-000000100) :xyz}
1075a2647caeSdrhdo_test printf-2.2.9.7 {
1076a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -99.99999
1077a2647caeSdrh} {abc: 5 5 (-99.99999) :xyz}
1078a2647caeSdrhdo_test printf-2.2.9.8 {
1079a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -99.99999
1080a2647caeSdrh} {abc: 5 5 (-1.00000e+02) :xyz}
1081a2647caeSdrhdo_test printf-2.2.9.9 {
1082a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -99.99999
1083a2647caeSdrh} {abc: 5 5 ( -100) :xyz}
1084a2647caeSdrhdo_test printf-2.2.10.1 {
1085a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 3.14e+9
1086a2647caeSdrh} {abc: (3140000000.00000) :xyz}
1087a2647caeSdrhdo_test printf-2.2.10.2 {
1088a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 3.14e+9
1089a2647caeSdrh} {abc: (3.14000e+09) :xyz}
1090a2647caeSdrhdo_test printf-2.2.10.3 {
1091a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 3.14e+9
1092a2647caeSdrh} {abc: (3.14e+09) :xyz}
1093a2647caeSdrhdo_test printf-2.2.10.4 {
1094a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 3.14e+9
1095a2647caeSdrh} {abc: 5 5 (3.14e+09) :xyz}
1096a2647caeSdrhdo_test printf-2.2.10.5 {
1097a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 3.14e+9
1098a2647caeSdrh} {abc: 5 5 (3.14000e+09) :xyz}
1099a2647caeSdrhdo_test printf-2.2.10.6 {
1100a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 3.14e+9
1101a2647caeSdrh} {abc: 5 5 (003.14e+09) :xyz}
1102a2647caeSdrhdo_test printf-2.2.10.7 {
1103a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 3.14e+9
1104a2647caeSdrh} {abc: 5 5 (3140000000.00000) :xyz}
1105a2647caeSdrhdo_test printf-2.2.10.8 {
1106a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 3.14e+9
1107a2647caeSdrh} {abc: 5 5 (3.14000e+09) :xyz}
1108a2647caeSdrhdo_test printf-2.2.10.9 {
1109a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 3.14e+9
1110a2647caeSdrh} {abc: 5 5 (3.14e+09) :xyz}
1111a2647caeSdrhdo_test printf-2.2.11.2 {
1112a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -4.72732e+88
1113a2647caeSdrh} {abc: (-4.72732e+88) :xyz}
1114a2647caeSdrhdo_test printf-2.2.11.3 {
1115a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -4.72732e+88
1116a2647caeSdrh} {abc: (-4.7273e+88) :xyz}
1117a2647caeSdrhdo_test printf-2.2.11.4 {
1118a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -4.72732e+88
1119a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz}
1120a2647caeSdrhdo_test printf-2.2.11.5 {
1121a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -4.72732e+88
1122a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz}
1123a2647caeSdrhdo_test printf-2.2.11.6 {
1124a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -4.72732e+88
1125a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz}
1126a2647caeSdrhdo_test printf-2.2.11.8 {
1127a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -4.72732e+88
1128a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz}
1129a2647caeSdrhdo_test printf-2.2.11.9 {
1130a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -4.72732e+88
1131a2647caeSdrh} {abc: 5 5 (-4.7273e+88) :xyz}
1132a2647caeSdrhdo_test printf-2.2.12.2 {
1133a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 9.87991e+143
1134a2647caeSdrh} {abc: (9.87991e+143) :xyz}
1135a2647caeSdrhdo_test printf-2.2.12.3 {
1136a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 9.87991e+143
1137a2647caeSdrh} {abc: (9.8799e+143) :xyz}
1138a2647caeSdrhdo_test printf-2.2.12.4 {
1139a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 9.87991e+143
1140a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz}
1141a2647caeSdrhdo_test printf-2.2.12.5 {
1142a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 9.87991e+143
1143a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz}
1144a2647caeSdrhdo_test printf-2.2.12.6 {
1145a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 9.87991e+143
1146a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz}
1147a2647caeSdrhdo_test printf-2.2.12.8 {
1148a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 9.87991e+143
1149a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz}
1150a2647caeSdrhdo_test printf-2.2.12.9 {
1151a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 9.87991e+143
1152a2647caeSdrh} {abc: 5 5 (9.8799e+143) :xyz}
1153a2647caeSdrhdo_test printf-2.2.13.1 {
1154a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -6.287291e-9
1155a2647caeSdrh} {abc: (-0.00000) :xyz}
1156a2647caeSdrhdo_test printf-2.2.13.2 {
1157a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -6.287291e-9
1158a2647caeSdrh} {abc: (-6.28729e-09) :xyz}
1159a2647caeSdrhdo_test printf-2.2.13.3 {
1160a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -6.287291e-9
1161a2647caeSdrh} {abc: (-6.2873e-09) :xyz}
1162a2647caeSdrhdo_test printf-2.2.13.4 {
1163a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -6.287291e-9
1164a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz}
1165a2647caeSdrhdo_test printf-2.2.13.5 {
1166a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -6.287291e-9
1167a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz}
1168a2647caeSdrhdo_test printf-2.2.13.6 {
1169a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -6.287291e-9
1170a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz}
1171a2647caeSdrhdo_test printf-2.2.13.7 {
1172a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -6.287291e-9
1173a2647caeSdrh} {abc: 5 5 (-0.00000) :xyz}
1174a2647caeSdrhdo_test printf-2.2.13.8 {
1175a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -6.287291e-9
1176a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz}
1177a2647caeSdrhdo_test printf-2.2.13.9 {
1178a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -6.287291e-9
1179a2647caeSdrh} {abc: 5 5 (-6.2873e-09) :xyz}
1180a2647caeSdrhdo_test printf-2.2.14.1 {
1181a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 3.38826392e-110
1182a2647caeSdrh} {abc: (0.00000) :xyz}
1183a2647caeSdrhdo_test printf-2.2.14.2 {
1184a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 3.38826392e-110
1185a2647caeSdrh} {abc: (3.38826e-110) :xyz}
1186a2647caeSdrhdo_test printf-2.2.14.3 {
1187a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 3.38826392e-110
1188a2647caeSdrh} {abc: (3.3883e-110) :xyz}
1189a2647caeSdrhdo_test printf-2.2.14.4 {
1190a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 3.38826392e-110
1191a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz}
1192a2647caeSdrhdo_test printf-2.2.14.5 {
1193a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 3.38826392e-110
1194a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz}
1195a2647caeSdrhdo_test printf-2.2.14.6 {
1196a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 3.38826392e-110
1197a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz}
1198a2647caeSdrhdo_test printf-2.2.14.7 {
1199a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 3.38826392e-110
1200a2647caeSdrh} {abc: 5 5 (0.00000) :xyz}
1201a2647caeSdrhdo_test printf-2.2.14.8 {
1202a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 3.38826392e-110
1203a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz}
1204a2647caeSdrhdo_test printf-2.2.14.9 {
1205a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 3.38826392e-110
1206a2647caeSdrh} {abc: 5 5 (3.3883e-110) :xyz}
1207a2647caeSdrhdo_test printf-2.3.1.1 {
1208a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 0.001
1209a2647caeSdrh} {abc: (0.0010000000) :xyz}
1210a2647caeSdrhdo_test printf-2.3.1.2 {
1211a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 0.001
1212a2647caeSdrh} {abc: (1.0000000000e-03) :xyz}
1213a2647caeSdrhdo_test printf-2.3.1.3 {
1214a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 0.001
1215a2647caeSdrh} {abc: (     0.001) :xyz}
1216a2647caeSdrhdo_test printf-2.3.1.4 {
1217a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 0.001
1218a2647caeSdrh} {abc: 10 10 (0.001) :xyz}
1219a2647caeSdrhdo_test printf-2.3.1.5 {
1220a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 0.001
1221a2647caeSdrh} {abc: 10 10 (0.00100000) :xyz}
1222a2647caeSdrhdo_test printf-2.3.1.6 {
1223a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 0.001
1224a2647caeSdrh} {abc: 10 10 (000000.001) :xyz}
1225a2647caeSdrhdo_test printf-2.3.1.7 {
1226a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 0.001
1227a2647caeSdrh} {abc: 10 10 (0.0010000000) :xyz}
1228a2647caeSdrhdo_test printf-2.3.1.8 {
1229a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 0.001
1230a2647caeSdrh} {abc: 10 10 (1.0000000000e-03) :xyz}
1231a2647caeSdrhdo_test printf-2.3.1.9 {
1232a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 0.001
1233a2647caeSdrh} {abc: 10 10 (     0.001) :xyz}
1234a2647caeSdrhdo_test printf-2.3.2.1 {
1235a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 1.0e-20
1236a2647caeSdrh} {abc: (0.0000000000) :xyz}
1237a2647caeSdrhdo_test printf-2.3.2.2 {
1238a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 1.0e-20
1239a2647caeSdrh} {abc: (1.0000000000e-20) :xyz}
1240a2647caeSdrhdo_test printf-2.3.2.3 {
1241a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 1.0e-20
1242a2647caeSdrh} {abc: (     1e-20) :xyz}
1243a2647caeSdrhdo_test printf-2.3.2.4 {
1244a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 1.0e-20
1245a2647caeSdrh} {abc: 10 10 (1e-20) :xyz}
1246a2647caeSdrhdo_test printf-2.3.2.5 {
1247a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 1.0e-20
1248a2647caeSdrh} {abc: 10 10 (1.00000e-20) :xyz}
1249a2647caeSdrhdo_test printf-2.3.2.6 {
1250a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 1.0e-20
1251a2647caeSdrh} {abc: 10 10 (000001e-20) :xyz}
1252a2647caeSdrhdo_test printf-2.3.2.7 {
1253a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 1.0e-20
1254a2647caeSdrh} {abc: 10 10 (0.0000000000) :xyz}
1255a2647caeSdrhdo_test printf-2.3.2.8 {
1256a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 1.0e-20
1257a2647caeSdrh} {abc: 10 10 (1.0000000000e-20) :xyz}
1258a2647caeSdrhdo_test printf-2.3.2.9 {
1259a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 1.0e-20
1260a2647caeSdrh} {abc: 10 10 (     1e-20) :xyz}
1261a2647caeSdrhdo_test printf-2.3.3.1 {
1262a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 1.0
1263a2647caeSdrh} {abc: (1.0000000000) :xyz}
1264a2647caeSdrhdo_test printf-2.3.3.2 {
1265a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 1.0
1266a2647caeSdrh} {abc: (1.0000000000e+00) :xyz}
1267a2647caeSdrhdo_test printf-2.3.3.3 {
1268a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 1.0
1269a2647caeSdrh} {abc: (         1) :xyz}
1270a2647caeSdrhdo_test printf-2.3.3.4 {
1271a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 1.0
1272a2647caeSdrh} {abc: 10 10 (1) :xyz}
1273a2647caeSdrhdo_test printf-2.3.3.5 {
1274a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 1.0
1275a2647caeSdrh} {abc: 10 10 (1.00000) :xyz}
1276a2647caeSdrhdo_test printf-2.3.3.6 {
1277a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 1.0
1278a2647caeSdrh} {abc: 10 10 (0000000001) :xyz}
1279a2647caeSdrhdo_test printf-2.3.3.7 {
1280a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 1.0
1281a2647caeSdrh} {abc: 10 10 (1.0000000000) :xyz}
1282a2647caeSdrhdo_test printf-2.3.3.8 {
1283a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 1.0
1284a2647caeSdrh} {abc: 10 10 (1.0000000000e+00) :xyz}
1285a2647caeSdrhdo_test printf-2.3.3.9 {
1286a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 1.0
1287a2647caeSdrh} {abc: 10 10 (         1) :xyz}
1288a2647caeSdrhdo_test printf-2.3.4.1 {
1289a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 0.0
1290a2647caeSdrh} {abc: (0.0000000000) :xyz}
1291a2647caeSdrhdo_test printf-2.3.4.2 {
1292a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 0.0
1293a2647caeSdrh} {abc: (0.0000000000e+00) :xyz}
1294a2647caeSdrhdo_test printf-2.3.4.3 {
1295a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 0.0
1296a2647caeSdrh} {abc: (         0) :xyz}
1297a2647caeSdrhdo_test printf-2.3.4.4 {
1298a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 0.0
1299a2647caeSdrh} {abc: 10 10 (0) :xyz}
1300a2647caeSdrhdo_test printf-2.3.4.5 {
1301a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 0.0
1302a2647caeSdrh} {abc: 10 10 (0.00000) :xyz}
1303a2647caeSdrhdo_test printf-2.3.4.6 {
1304a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 0.0
1305a2647caeSdrh} {abc: 10 10 (0000000000) :xyz}
1306a2647caeSdrhdo_test printf-2.3.4.7 {
1307a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 0.0
1308a2647caeSdrh} {abc: 10 10 (0.0000000000) :xyz}
1309a2647caeSdrhdo_test printf-2.3.4.8 {
1310a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 0.0
1311a2647caeSdrh} {abc: 10 10 (0.0000000000e+00) :xyz}
1312a2647caeSdrhdo_test printf-2.3.4.9 {
1313a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 0.0
1314a2647caeSdrh} {abc: 10 10 (         0) :xyz}
1315a2647caeSdrhdo_test printf-2.3.5.1 {
1316a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 100.0
1317a2647caeSdrh} {abc: (100.0000000000) :xyz}
1318a2647caeSdrhdo_test printf-2.3.5.2 {
1319a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 100.0
1320a2647caeSdrh} {abc: (1.0000000000e+02) :xyz}
1321a2647caeSdrhdo_test printf-2.3.5.3 {
1322a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 100.0
1323a2647caeSdrh} {abc: (       100) :xyz}
1324a2647caeSdrhdo_test printf-2.3.5.4 {
1325a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 100.0
1326a2647caeSdrh} {abc: 10 10 (100) :xyz}
1327a2647caeSdrhdo_test printf-2.3.5.5 {
1328a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 100.0
1329a2647caeSdrh} {abc: 10 10 (100.000) :xyz}
1330a2647caeSdrhdo_test printf-2.3.5.6 {
1331a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 100.0
1332a2647caeSdrh} {abc: 10 10 (0000000100) :xyz}
1333a2647caeSdrhdo_test printf-2.3.5.7 {
1334a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 100.0
1335a2647caeSdrh} {abc: 10 10 (100.0000000000) :xyz}
1336a2647caeSdrhdo_test printf-2.3.5.8 {
1337a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 100.0
1338a2647caeSdrh} {abc: 10 10 (1.0000000000e+02) :xyz}
1339a2647caeSdrhdo_test printf-2.3.5.9 {
1340a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 100.0
1341a2647caeSdrh} {abc: 10 10 (       100) :xyz}
1342a2647caeSdrhdo_test printf-2.3.6.1 {
1343a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 9.99999
1344a2647caeSdrh} {abc: (9.9999900000) :xyz}
1345a2647caeSdrhdo_test printf-2.3.6.2 {
1346a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 9.99999
1347a2647caeSdrh} {abc: (9.9999900000e+00) :xyz}
1348a2647caeSdrhdo_test printf-2.3.6.3 {
1349a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 9.99999
1350a2647caeSdrh} {abc: (   9.99999) :xyz}
1351a2647caeSdrhdo_test printf-2.3.6.4 {
1352a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 9.99999
1353a2647caeSdrh} {abc: 10 10 (9.99999) :xyz}
1354a2647caeSdrhdo_test printf-2.3.6.5 {
1355a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 9.99999
1356a2647caeSdrh} {abc: 10 10 (9.99999) :xyz}
1357a2647caeSdrhdo_test printf-2.3.6.6 {
1358a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 9.99999
1359a2647caeSdrh} {abc: 10 10 (0009.99999) :xyz}
1360a2647caeSdrhdo_test printf-2.3.6.7 {
1361a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 9.99999
1362a2647caeSdrh} {abc: 10 10 (9.9999900000) :xyz}
1363a2647caeSdrhdo_test printf-2.3.6.8 {
1364a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 9.99999
1365a2647caeSdrh} {abc: 10 10 (9.9999900000e+00) :xyz}
1366a2647caeSdrhdo_test printf-2.3.6.9 {
1367a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 9.99999
1368a2647caeSdrh} {abc: 10 10 (   9.99999) :xyz}
1369a2647caeSdrhdo_test printf-2.3.7.1 {
1370a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -0.00543
1371a2647caeSdrh} {abc: (-0.0054300000) :xyz}
1372a2647caeSdrhdo_test printf-2.3.7.2 {
1373a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -0.00543
1374a2647caeSdrh} {abc: (-5.4300000000e-03) :xyz}
1375a2647caeSdrhdo_test printf-2.3.7.3 {
1376a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -0.00543
1377a2647caeSdrh} {abc: (  -0.00543) :xyz}
1378a2647caeSdrhdo_test printf-2.3.7.4 {
1379a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -0.00543
1380a2647caeSdrh} {abc: 10 10 (-0.00543) :xyz}
1381a2647caeSdrhdo_test printf-2.3.7.5 {
1382a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -0.00543
1383a2647caeSdrh} {abc: 10 10 (-0.00543000) :xyz}
1384a2647caeSdrhdo_test printf-2.3.7.6 {
1385a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -0.00543
1386a2647caeSdrh} {abc: 10 10 (-000.00543) :xyz}
1387a2647caeSdrhdo_test printf-2.3.7.7 {
1388a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -0.00543
1389a2647caeSdrh} {abc: 10 10 (-0.0054300000) :xyz}
1390a2647caeSdrhdo_test printf-2.3.7.8 {
1391a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -0.00543
1392a2647caeSdrh} {abc: 10 10 (-5.4300000000e-03) :xyz}
1393a2647caeSdrhdo_test printf-2.3.7.9 {
1394a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -0.00543
1395a2647caeSdrh} {abc: 10 10 (  -0.00543) :xyz}
1396a2647caeSdrhdo_test printf-2.3.8.1 {
1397a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -1.0
1398a2647caeSdrh} {abc: (-1.0000000000) :xyz}
1399a2647caeSdrhdo_test printf-2.3.8.2 {
1400a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -1.0
1401a2647caeSdrh} {abc: (-1.0000000000e+00) :xyz}
1402a2647caeSdrhdo_test printf-2.3.8.3 {
1403a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -1.0
1404a2647caeSdrh} {abc: (        -1) :xyz}
1405a2647caeSdrhdo_test printf-2.3.8.4 {
1406a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -1.0
1407a2647caeSdrh} {abc: 10 10 (-1) :xyz}
1408a2647caeSdrhdo_test printf-2.3.8.5 {
1409a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -1.0
1410a2647caeSdrh} {abc: 10 10 (-1.00000) :xyz}
1411a2647caeSdrhdo_test printf-2.3.8.6 {
1412a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -1.0
1413a2647caeSdrh} {abc: 10 10 (-000000001) :xyz}
1414a2647caeSdrhdo_test printf-2.3.8.7 {
1415a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -1.0
1416a2647caeSdrh} {abc: 10 10 (-1.0000000000) :xyz}
1417a2647caeSdrhdo_test printf-2.3.8.8 {
1418a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -1.0
1419a2647caeSdrh} {abc: 10 10 (-1.0000000000e+00) :xyz}
1420a2647caeSdrhdo_test printf-2.3.8.9 {
1421a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -1.0
1422a2647caeSdrh} {abc: 10 10 (        -1) :xyz}
1423a2647caeSdrhdo_test printf-2.3.9.1 {
1424a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -99.99999
1425a2647caeSdrh} {abc: (-99.9999900000) :xyz}
1426a2647caeSdrhdo_test printf-2.3.9.2 {
1427a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -99.99999
1428a2647caeSdrh} {abc: (-9.9999990000e+01) :xyz}
1429a2647caeSdrhdo_test printf-2.3.9.3 {
1430a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -99.99999
1431a2647caeSdrh} {abc: ( -99.99999) :xyz}
1432a2647caeSdrhdo_test printf-2.3.9.4 {
1433a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -99.99999
1434a2647caeSdrh} {abc: 10 10 (-100) :xyz}
1435a2647caeSdrhdo_test printf-2.3.9.5 {
1436a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -99.99999
1437a2647caeSdrh} {abc: 10 10 (-100.000) :xyz}
1438a2647caeSdrhdo_test printf-2.3.9.6 {
1439a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -99.99999
1440a2647caeSdrh} {abc: 10 10 (-000000100) :xyz}
1441a2647caeSdrhdo_test printf-2.3.9.7 {
1442a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -99.99999
1443a2647caeSdrh} {abc: 10 10 (-99.9999900000) :xyz}
1444a2647caeSdrhdo_test printf-2.3.9.8 {
1445a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -99.99999
1446a2647caeSdrh} {abc: 10 10 (-9.9999990000e+01) :xyz}
1447a2647caeSdrhdo_test printf-2.3.9.9 {
1448a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -99.99999
1449a2647caeSdrh} {abc: 10 10 ( -99.99999) :xyz}
1450a2647caeSdrhdo_test printf-2.3.10.1 {
1451a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 3.14e+9
1452a2647caeSdrh} {abc: (3140000000.0000000000) :xyz}
1453a2647caeSdrhdo_test printf-2.3.10.2 {
1454a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 3.14e+9
1455a2647caeSdrh} {abc: (3.1400000000e+09) :xyz}
1456a2647caeSdrhdo_test printf-2.3.10.3 {
1457a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 3.14e+9
1458a2647caeSdrh} {abc: (3140000000) :xyz}
1459a2647caeSdrhdo_test printf-2.3.10.4 {
1460a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 3.14e+9
1461a2647caeSdrh} {abc: 10 10 (3.14e+09) :xyz}
1462a2647caeSdrhdo_test printf-2.3.10.5 {
1463a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 3.14e+9
1464a2647caeSdrh} {abc: 10 10 (3.14000e+09) :xyz}
1465a2647caeSdrhdo_test printf-2.3.10.6 {
1466a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 3.14e+9
1467a2647caeSdrh} {abc: 10 10 (003.14e+09) :xyz}
1468a2647caeSdrhdo_test printf-2.3.10.7 {
1469a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 3.14e+9
1470a2647caeSdrh} {abc: 10 10 (3140000000.0000000000) :xyz}
1471a2647caeSdrhdo_test printf-2.3.10.8 {
1472a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 3.14e+9
1473a2647caeSdrh} {abc: 10 10 (3.1400000000e+09) :xyz}
1474a2647caeSdrhdo_test printf-2.3.10.9 {
1475a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 3.14e+9
1476a2647caeSdrh} {abc: 10 10 (3140000000) :xyz}
1477a2647caeSdrhdo_test printf-2.3.11.2 {
1478a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -4.72732e+88
1479a2647caeSdrh} {abc: (-4.7273200000e+88) :xyz}
1480a2647caeSdrhdo_test printf-2.3.11.3 {
1481a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -4.72732e+88
1482a2647caeSdrh} {abc: (-4.72732e+88) :xyz}
1483a2647caeSdrhdo_test printf-2.3.11.4 {
1484a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -4.72732e+88
1485a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz}
1486a2647caeSdrhdo_test printf-2.3.11.5 {
1487a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -4.72732e+88
1488a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz}
1489a2647caeSdrhdo_test printf-2.3.11.6 {
1490a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -4.72732e+88
1491a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz}
1492a2647caeSdrhdo_test printf-2.3.11.8 {
1493a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -4.72732e+88
1494a2647caeSdrh} {abc: 10 10 (-4.7273200000e+88) :xyz}
1495a2647caeSdrhdo_test printf-2.3.11.9 {
1496a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -4.72732e+88
1497a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz}
1498a2647caeSdrhdo_test printf-2.3.12.2 {
1499a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 9.87991e+143
1500a2647caeSdrh} {abc: (9.8799100000e+143) :xyz}
1501a2647caeSdrhdo_test printf-2.3.12.3 {
1502a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 9.87991e+143
1503a2647caeSdrh} {abc: (9.87991e+143) :xyz}
1504a2647caeSdrhdo_test printf-2.3.12.4 {
1505a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 9.87991e+143
1506a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz}
1507a2647caeSdrhdo_test printf-2.3.12.5 {
1508a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 9.87991e+143
1509a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz}
1510a2647caeSdrhdo_test printf-2.3.12.6 {
1511a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 9.87991e+143
1512a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz}
1513a2647caeSdrhdo_test printf-2.3.12.8 {
1514a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 9.87991e+143
1515a2647caeSdrh} {abc: 10 10 (9.8799100000e+143) :xyz}
1516a2647caeSdrhdo_test printf-2.3.12.9 {
1517a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 9.87991e+143
1518a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz}
1519a2647caeSdrhdo_test printf-2.3.13.1 {
1520a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -6.287291e-9
1521a2647caeSdrh} {abc: (-0.0000000063) :xyz}
1522a2647caeSdrhdo_test printf-2.3.13.2 {
1523a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -6.287291e-9
1524a2647caeSdrh} {abc: (-6.2872910000e-09) :xyz}
1525a2647caeSdrhdo_test printf-2.3.13.3 {
1526a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -6.287291e-9
1527a2647caeSdrh} {abc: (-6.287291e-09) :xyz}
1528a2647caeSdrhdo_test printf-2.3.13.4 {
1529a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -6.287291e-9
1530a2647caeSdrh} {abc: 10 10 (-6.28729e-09) :xyz}
1531a2647caeSdrhdo_test printf-2.3.13.5 {
1532a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -6.287291e-9
1533a2647caeSdrh} {abc: 10 10 (-6.28729e-09) :xyz}
1534a2647caeSdrhdo_test printf-2.3.13.6 {
1535a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -6.287291e-9
1536a2647caeSdrh} {abc: 10 10 (-6.28729e-09) :xyz}
1537a2647caeSdrhdo_test printf-2.3.13.7 {
1538a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -6.287291e-9
1539a2647caeSdrh} {abc: 10 10 (-0.0000000063) :xyz}
1540a2647caeSdrhdo_test printf-2.3.13.8 {
1541a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -6.287291e-9
1542a2647caeSdrh} {abc: 10 10 (-6.2872910000e-09) :xyz}
1543a2647caeSdrhdo_test printf-2.3.13.9 {
1544a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -6.287291e-9
1545a2647caeSdrh} {abc: 10 10 (-6.287291e-09) :xyz}
1546a2647caeSdrhdo_test printf-2.3.14.1 {
1547a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 3.38826392e-110
1548a2647caeSdrh} {abc: (0.0000000000) :xyz}
1549a2647caeSdrhdo_test printf-2.3.14.2 {
1550a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 3.38826392e-110
1551a2647caeSdrh} {abc: (3.3882639200e-110) :xyz}
1552a2647caeSdrhdo_test printf-2.3.14.3 {
1553a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 3.38826392e-110
1554a2647caeSdrh} {abc: (3.38826392e-110) :xyz}
1555a2647caeSdrhdo_test printf-2.3.14.4 {
1556a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 3.38826392e-110
1557a2647caeSdrh} {abc: 10 10 (3.38826e-110) :xyz}
1558a2647caeSdrhdo_test printf-2.3.14.5 {
1559a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 3.38826392e-110
1560a2647caeSdrh} {abc: 10 10 (3.38826e-110) :xyz}
1561a2647caeSdrhdo_test printf-2.3.14.6 {
1562a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 3.38826392e-110
1563a2647caeSdrh} {abc: 10 10 (3.38826e-110) :xyz}
1564a2647caeSdrhdo_test printf-2.3.14.7 {
1565a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 3.38826392e-110
1566a2647caeSdrh} {abc: 10 10 (0.0000000000) :xyz}
1567a2647caeSdrhdo_test printf-2.3.14.8 {
1568a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 3.38826392e-110
1569a2647caeSdrh} {abc: 10 10 (3.3882639200e-110) :xyz}
1570a2647caeSdrhdo_test printf-2.3.14.9 {
1571a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 3.38826392e-110
1572a2647caeSdrh} {abc: 10 10 (3.38826392e-110) :xyz}
1573a2647caeSdrhdo_test printf-2.4.1.1 {
1574a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 0.001
1575a2647caeSdrh} {abc: (   0.00100) :xyz}
1576a2647caeSdrhdo_test printf-2.4.1.2 {
1577a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 0.001
1578a2647caeSdrh} {abc: (1.00000e-03) :xyz}
1579a2647caeSdrhdo_test printf-2.4.1.3 {
1580a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 0.001
1581a2647caeSdrh} {abc: (     0.001) :xyz}
1582a2647caeSdrhdo_test printf-2.4.1.4 {
1583a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 0.001
1584a2647caeSdrh} {abc: 10 5 (0.001) :xyz}
1585a2647caeSdrhdo_test printf-2.4.1.5 {
1586a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 0.001
1587a2647caeSdrh} {abc: 10 5 (0.00100000) :xyz}
1588a2647caeSdrhdo_test printf-2.4.1.6 {
1589a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 0.001
1590a2647caeSdrh} {abc: 10 5 (000000.001) :xyz}
1591a2647caeSdrhdo_test printf-2.4.1.7 {
1592a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 0.001
1593a2647caeSdrh} {abc: 10 5 (   0.00100) :xyz}
1594a2647caeSdrhdo_test printf-2.4.1.8 {
1595a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 0.001
1596a2647caeSdrh} {abc: 10 5 (1.00000e-03) :xyz}
1597a2647caeSdrhdo_test printf-2.4.1.9 {
1598a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 0.001
1599a2647caeSdrh} {abc: 10 5 (     0.001) :xyz}
1600a2647caeSdrhdo_test printf-2.4.2.1 {
1601a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 1.0e-20
1602a2647caeSdrh} {abc: (   0.00000) :xyz}
1603a2647caeSdrhdo_test printf-2.4.2.2 {
1604a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 1.0e-20
1605a2647caeSdrh} {abc: (1.00000e-20) :xyz}
1606a2647caeSdrhdo_test printf-2.4.2.3 {
1607a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 1.0e-20
1608a2647caeSdrh} {abc: (     1e-20) :xyz}
1609a2647caeSdrhdo_test printf-2.4.2.4 {
1610a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 1.0e-20
1611a2647caeSdrh} {abc: 10 5 (1e-20) :xyz}
1612a2647caeSdrhdo_test printf-2.4.2.5 {
1613a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 1.0e-20
1614a2647caeSdrh} {abc: 10 5 (1.00000e-20) :xyz}
1615a2647caeSdrhdo_test printf-2.4.2.6 {
1616a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 1.0e-20
1617a2647caeSdrh} {abc: 10 5 (000001e-20) :xyz}
1618a2647caeSdrhdo_test printf-2.4.2.7 {
1619a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 1.0e-20
1620a2647caeSdrh} {abc: 10 5 (   0.00000) :xyz}
1621a2647caeSdrhdo_test printf-2.4.2.8 {
1622a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 1.0e-20
1623a2647caeSdrh} {abc: 10 5 (1.00000e-20) :xyz}
1624a2647caeSdrhdo_test printf-2.4.2.9 {
1625a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 1.0e-20
1626a2647caeSdrh} {abc: 10 5 (     1e-20) :xyz}
1627a2647caeSdrhdo_test printf-2.4.3.1 {
1628a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 1.0
1629a2647caeSdrh} {abc: (   1.00000) :xyz}
1630a2647caeSdrhdo_test printf-2.4.3.2 {
1631a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 1.0
1632a2647caeSdrh} {abc: (1.00000e+00) :xyz}
1633a2647caeSdrhdo_test printf-2.4.3.3 {
1634a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 1.0
1635a2647caeSdrh} {abc: (         1) :xyz}
1636a2647caeSdrhdo_test printf-2.4.3.4 {
1637a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 1.0
1638a2647caeSdrh} {abc: 10 5 (1) :xyz}
1639a2647caeSdrhdo_test printf-2.4.3.5 {
1640a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 1.0
1641a2647caeSdrh} {abc: 10 5 (1.00000) :xyz}
1642a2647caeSdrhdo_test printf-2.4.3.6 {
1643a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 1.0
1644a2647caeSdrh} {abc: 10 5 (0000000001) :xyz}
1645a2647caeSdrhdo_test printf-2.4.3.7 {
1646a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 1.0
1647a2647caeSdrh} {abc: 10 5 (   1.00000) :xyz}
1648a2647caeSdrhdo_test printf-2.4.3.8 {
1649a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 1.0
1650a2647caeSdrh} {abc: 10 5 (1.00000e+00) :xyz}
1651a2647caeSdrhdo_test printf-2.4.3.9 {
1652a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 1.0
1653a2647caeSdrh} {abc: 10 5 (         1) :xyz}
1654a2647caeSdrhdo_test printf-2.4.4.1 {
1655a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 0.0
1656a2647caeSdrh} {abc: (   0.00000) :xyz}
1657a2647caeSdrhdo_test printf-2.4.4.2 {
1658a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 0.0
1659a2647caeSdrh} {abc: (0.00000e+00) :xyz}
1660a2647caeSdrhdo_test printf-2.4.4.3 {
1661a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 0.0
1662a2647caeSdrh} {abc: (         0) :xyz}
1663a2647caeSdrhdo_test printf-2.4.4.4 {
1664a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 0.0
1665a2647caeSdrh} {abc: 10 5 (0) :xyz}
1666a2647caeSdrhdo_test printf-2.4.4.5 {
1667a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 0.0
1668a2647caeSdrh} {abc: 10 5 (0.00000) :xyz}
1669a2647caeSdrhdo_test printf-2.4.4.6 {
1670a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 0.0
1671a2647caeSdrh} {abc: 10 5 (0000000000) :xyz}
1672a2647caeSdrhdo_test printf-2.4.4.7 {
1673a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 0.0
1674a2647caeSdrh} {abc: 10 5 (   0.00000) :xyz}
1675a2647caeSdrhdo_test printf-2.4.4.8 {
1676a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 0.0
1677a2647caeSdrh} {abc: 10 5 (0.00000e+00) :xyz}
1678a2647caeSdrhdo_test printf-2.4.4.9 {
1679a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 0.0
1680a2647caeSdrh} {abc: 10 5 (         0) :xyz}
1681a2647caeSdrhdo_test printf-2.4.5.1 {
1682a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 100.0
1683a2647caeSdrh} {abc: ( 100.00000) :xyz}
1684a2647caeSdrhdo_test printf-2.4.5.2 {
1685a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 100.0
1686a2647caeSdrh} {abc: (1.00000e+02) :xyz}
1687a2647caeSdrhdo_test printf-2.4.5.3 {
1688a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 100.0
1689a2647caeSdrh} {abc: (       100) :xyz}
1690a2647caeSdrhdo_test printf-2.4.5.4 {
1691a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 100.0
1692a2647caeSdrh} {abc: 10 5 (100) :xyz}
1693a2647caeSdrhdo_test printf-2.4.5.5 {
1694a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 100.0
1695a2647caeSdrh} {abc: 10 5 (100.000) :xyz}
1696a2647caeSdrhdo_test printf-2.4.5.6 {
1697a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 100.0
1698a2647caeSdrh} {abc: 10 5 (0000000100) :xyz}
1699a2647caeSdrhdo_test printf-2.4.5.7 {
1700a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 100.0
1701a2647caeSdrh} {abc: 10 5 ( 100.00000) :xyz}
1702a2647caeSdrhdo_test printf-2.4.5.8 {
1703a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 100.0
1704a2647caeSdrh} {abc: 10 5 (1.00000e+02) :xyz}
1705a2647caeSdrhdo_test printf-2.4.5.9 {
1706a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 100.0
1707a2647caeSdrh} {abc: 10 5 (       100) :xyz}
1708a2647caeSdrhdo_test printf-2.4.6.1 {
1709a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 9.99999
1710a2647caeSdrh} {abc: (   9.99999) :xyz}
1711a2647caeSdrhdo_test printf-2.4.6.2 {
1712a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 9.99999
1713a2647caeSdrh} {abc: (9.99999e+00) :xyz}
1714a2647caeSdrhdo_test printf-2.4.6.3 {
1715a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 9.99999
1716a2647caeSdrh} {abc: (        10) :xyz}
1717a2647caeSdrhdo_test printf-2.4.6.4 {
1718a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 9.99999
1719a2647caeSdrh} {abc: 10 5 (9.99999) :xyz}
1720a2647caeSdrhdo_test printf-2.4.6.5 {
1721a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 9.99999
1722a2647caeSdrh} {abc: 10 5 (9.99999) :xyz}
1723a2647caeSdrhdo_test printf-2.4.6.6 {
1724a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 9.99999
1725a2647caeSdrh} {abc: 10 5 (0009.99999) :xyz}
1726a2647caeSdrhdo_test printf-2.4.6.7 {
1727a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 9.99999
1728a2647caeSdrh} {abc: 10 5 (   9.99999) :xyz}
1729a2647caeSdrhdo_test printf-2.4.6.8 {
1730a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 9.99999
1731a2647caeSdrh} {abc: 10 5 (9.99999e+00) :xyz}
1732a2647caeSdrhdo_test printf-2.4.6.9 {
1733a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 9.99999
1734a2647caeSdrh} {abc: 10 5 (        10) :xyz}
1735a2647caeSdrhdo_test printf-2.4.7.1 {
1736a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -0.00543
1737a2647caeSdrh} {abc: (  -0.00543) :xyz}
1738a2647caeSdrhdo_test printf-2.4.7.2 {
1739a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -0.00543
1740a2647caeSdrh} {abc: (-5.43000e-03) :xyz}
1741a2647caeSdrhdo_test printf-2.4.7.3 {
1742a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -0.00543
1743a2647caeSdrh} {abc: (  -0.00543) :xyz}
1744a2647caeSdrhdo_test printf-2.4.7.4 {
1745a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -0.00543
1746a2647caeSdrh} {abc: 10 5 (-0.00543) :xyz}
1747a2647caeSdrhdo_test printf-2.4.7.5 {
1748a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -0.00543
1749a2647caeSdrh} {abc: 10 5 (-0.00543000) :xyz}
1750a2647caeSdrhdo_test printf-2.4.7.6 {
1751a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -0.00543
1752a2647caeSdrh} {abc: 10 5 (-000.00543) :xyz}
1753a2647caeSdrhdo_test printf-2.4.7.7 {
1754a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -0.00543
1755a2647caeSdrh} {abc: 10 5 (  -0.00543) :xyz}
1756a2647caeSdrhdo_test printf-2.4.7.8 {
1757a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -0.00543
1758a2647caeSdrh} {abc: 10 5 (-5.43000e-03) :xyz}
1759a2647caeSdrhdo_test printf-2.4.7.9 {
1760a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -0.00543
1761a2647caeSdrh} {abc: 10 5 (  -0.00543) :xyz}
1762a2647caeSdrhdo_test printf-2.4.8.1 {
1763a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -1.0
1764a2647caeSdrh} {abc: (  -1.00000) :xyz}
1765a2647caeSdrhdo_test printf-2.4.8.2 {
1766a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -1.0
1767a2647caeSdrh} {abc: (-1.00000e+00) :xyz}
1768a2647caeSdrhdo_test printf-2.4.8.3 {
1769a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -1.0
1770a2647caeSdrh} {abc: (        -1) :xyz}
1771a2647caeSdrhdo_test printf-2.4.8.4 {
1772a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -1.0
1773a2647caeSdrh} {abc: 10 5 (-1) :xyz}
1774a2647caeSdrhdo_test printf-2.4.8.5 {
1775a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -1.0
1776a2647caeSdrh} {abc: 10 5 (-1.00000) :xyz}
1777a2647caeSdrhdo_test printf-2.4.8.6 {
1778a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -1.0
1779a2647caeSdrh} {abc: 10 5 (-000000001) :xyz}
1780a2647caeSdrhdo_test printf-2.4.8.7 {
1781a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -1.0
1782a2647caeSdrh} {abc: 10 5 (  -1.00000) :xyz}
1783a2647caeSdrhdo_test printf-2.4.8.8 {
1784a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -1.0
1785a2647caeSdrh} {abc: 10 5 (-1.00000e+00) :xyz}
1786a2647caeSdrhdo_test printf-2.4.8.9 {
1787a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -1.0
1788a2647caeSdrh} {abc: 10 5 (        -1) :xyz}
1789a2647caeSdrhdo_test printf-2.4.9.1 {
1790a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -99.99999
1791a2647caeSdrh} {abc: ( -99.99999) :xyz}
1792a2647caeSdrhdo_test printf-2.4.9.2 {
1793a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -99.99999
1794a2647caeSdrh} {abc: (-1.00000e+02) :xyz}
1795a2647caeSdrhdo_test printf-2.4.9.3 {
1796a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -99.99999
1797a2647caeSdrh} {abc: (      -100) :xyz}
1798a2647caeSdrhdo_test printf-2.4.9.4 {
1799a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -99.99999
1800a2647caeSdrh} {abc: 10 5 (-100) :xyz}
1801a2647caeSdrhdo_test printf-2.4.9.5 {
1802a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -99.99999
1803a2647caeSdrh} {abc: 10 5 (-100.000) :xyz}
1804a2647caeSdrhdo_test printf-2.4.9.6 {
1805a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -99.99999
1806a2647caeSdrh} {abc: 10 5 (-000000100) :xyz}
1807a2647caeSdrhdo_test printf-2.4.9.7 {
1808a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -99.99999
1809a2647caeSdrh} {abc: 10 5 ( -99.99999) :xyz}
1810a2647caeSdrhdo_test printf-2.4.9.8 {
1811a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -99.99999
1812a2647caeSdrh} {abc: 10 5 (-1.00000e+02) :xyz}
1813a2647caeSdrhdo_test printf-2.4.9.9 {
1814a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -99.99999
1815a2647caeSdrh} {abc: 10 5 (      -100) :xyz}
1816a2647caeSdrhdo_test printf-2.4.10.1 {
1817a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 3.14e+9
1818a2647caeSdrh} {abc: (3140000000.00000) :xyz}
1819a2647caeSdrhdo_test printf-2.4.10.2 {
1820a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 3.14e+9
1821a2647caeSdrh} {abc: (3.14000e+09) :xyz}
1822a2647caeSdrhdo_test printf-2.4.10.3 {
1823a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 3.14e+9
1824a2647caeSdrh} {abc: (  3.14e+09) :xyz}
1825a2647caeSdrhdo_test printf-2.4.10.4 {
1826a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 3.14e+9
1827a2647caeSdrh} {abc: 10 5 (3.14e+09) :xyz}
1828a2647caeSdrhdo_test printf-2.4.10.5 {
1829a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 3.14e+9
1830a2647caeSdrh} {abc: 10 5 (3.14000e+09) :xyz}
1831a2647caeSdrhdo_test printf-2.4.10.6 {
1832a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 3.14e+9
1833a2647caeSdrh} {abc: 10 5 (003.14e+09) :xyz}
1834a2647caeSdrhdo_test printf-2.4.10.7 {
1835a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 3.14e+9
1836a2647caeSdrh} {abc: 10 5 (3140000000.00000) :xyz}
1837a2647caeSdrhdo_test printf-2.4.10.8 {
1838a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 3.14e+9
1839a2647caeSdrh} {abc: 10 5 (3.14000e+09) :xyz}
1840a2647caeSdrhdo_test printf-2.4.10.9 {
1841a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 3.14e+9
1842a2647caeSdrh} {abc: 10 5 (  3.14e+09) :xyz}
1843a2647caeSdrhdo_test printf-2.4.11.2 {
1844a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -4.72732e+88
1845a2647caeSdrh} {abc: (-4.72732e+88) :xyz}
1846a2647caeSdrhdo_test printf-2.4.11.3 {
1847a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -4.72732e+88
1848a2647caeSdrh} {abc: (-4.7273e+88) :xyz}
1849a2647caeSdrhdo_test printf-2.4.11.4 {
1850a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -4.72732e+88
1851a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz}
1852a2647caeSdrhdo_test printf-2.4.11.5 {
1853a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -4.72732e+88
1854a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz}
1855a2647caeSdrhdo_test printf-2.4.11.6 {
1856a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -4.72732e+88
1857a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz}
1858a2647caeSdrhdo_test printf-2.4.11.8 {
1859a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -4.72732e+88
1860a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz}
1861a2647caeSdrhdo_test printf-2.4.11.9 {
1862a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -4.72732e+88
1863a2647caeSdrh} {abc: 10 5 (-4.7273e+88) :xyz}
1864a2647caeSdrhdo_test printf-2.4.12.2 {
1865a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 9.87991e+143
1866a2647caeSdrh} {abc: (9.87991e+143) :xyz}
1867a2647caeSdrhdo_test printf-2.4.12.3 {
1868a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 9.87991e+143
1869a2647caeSdrh} {abc: (9.8799e+143) :xyz}
1870a2647caeSdrhdo_test printf-2.4.12.4 {
1871a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 9.87991e+143
1872a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz}
1873a2647caeSdrhdo_test printf-2.4.12.5 {
1874a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 9.87991e+143
1875a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz}
1876a2647caeSdrhdo_test printf-2.4.12.6 {
1877a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 9.87991e+143
1878a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz}
1879a2647caeSdrhdo_test printf-2.4.12.8 {
1880a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 9.87991e+143
1881a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz}
1882a2647caeSdrhdo_test printf-2.4.12.9 {
1883a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 9.87991e+143
1884a2647caeSdrh} {abc: 10 5 (9.8799e+143) :xyz}
1885a2647caeSdrhdo_test printf-2.4.13.1 {
1886a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -6.287291e-9
1887a2647caeSdrh} {abc: (  -0.00000) :xyz}
1888a2647caeSdrhdo_test printf-2.4.13.2 {
1889a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -6.287291e-9
1890a2647caeSdrh} {abc: (-6.28729e-09) :xyz}
1891a2647caeSdrhdo_test printf-2.4.13.3 {
1892a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -6.287291e-9
1893a2647caeSdrh} {abc: (-6.2873e-09) :xyz}
1894a2647caeSdrhdo_test printf-2.4.13.4 {
1895a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -6.287291e-9
1896a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz}
1897a2647caeSdrhdo_test printf-2.4.13.5 {
1898a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -6.287291e-9
1899a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz}
1900a2647caeSdrhdo_test printf-2.4.13.6 {
1901a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -6.287291e-9
1902a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz}
1903a2647caeSdrhdo_test printf-2.4.13.7 {
1904a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -6.287291e-9
1905a2647caeSdrh} {abc: 10 5 (  -0.00000) :xyz}
1906a2647caeSdrhdo_test printf-2.4.13.8 {
1907a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -6.287291e-9
1908a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz}
1909a2647caeSdrhdo_test printf-2.4.13.9 {
1910a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -6.287291e-9
1911a2647caeSdrh} {abc: 10 5 (-6.2873e-09) :xyz}
1912a2647caeSdrhdo_test printf-2.4.14.1 {
1913a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 3.38826392e-110
1914a2647caeSdrh} {abc: (   0.00000) :xyz}
1915a2647caeSdrhdo_test printf-2.4.14.2 {
1916a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 3.38826392e-110
1917a2647caeSdrh} {abc: (3.38826e-110) :xyz}
1918a2647caeSdrhdo_test printf-2.4.14.3 {
1919a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 3.38826392e-110
1920a2647caeSdrh} {abc: (3.3883e-110) :xyz}
1921a2647caeSdrhdo_test printf-2.4.14.4 {
1922a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 3.38826392e-110
1923a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz}
1924a2647caeSdrhdo_test printf-2.4.14.5 {
1925a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 3.38826392e-110
1926a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz}
1927a2647caeSdrhdo_test printf-2.4.14.6 {
1928a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 3.38826392e-110
1929a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz}
1930a2647caeSdrhdo_test printf-2.4.14.7 {
1931a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 3.38826392e-110
1932a2647caeSdrh} {abc: 10 5 (   0.00000) :xyz}
1933a2647caeSdrhdo_test printf-2.4.14.8 {
1934a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 3.38826392e-110
1935a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz}
1936a2647caeSdrhdo_test printf-2.4.14.9 {
1937a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 3.38826392e-110
1938a2647caeSdrh} {abc: 10 5 (3.3883e-110) :xyz}
1939a2647caeSdrhdo_test printf-2.5.1.1 {
1940a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 0.001
1941a2647caeSdrh} {abc: (0.00) :xyz}
1942a2647caeSdrhdo_test printf-2.5.1.2 {
1943a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 0.001
1944a2647caeSdrh} {abc: (1.00e-03) :xyz}
1945a2647caeSdrhdo_test printf-2.5.1.3 {
1946a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 0.001
1947a2647caeSdrh} {abc: (0.001) :xyz}
1948a2647caeSdrhdo_test printf-2.5.1.4 {
1949a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 0.001
1950a2647caeSdrh} {abc: 2 2 (0.001) :xyz}
1951a2647caeSdrhdo_test printf-2.5.1.5 {
1952a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 0.001
1953a2647caeSdrh} {abc: 2 2 (0.00100000) :xyz}
1954a2647caeSdrhdo_test printf-2.5.1.6 {
1955a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 0.001
1956a2647caeSdrh} {abc: 2 2 (000000.001) :xyz}
1957a2647caeSdrhdo_test printf-2.5.1.7 {
1958a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 0.001
1959a2647caeSdrh} {abc: 2 2 (0.00) :xyz}
1960a2647caeSdrhdo_test printf-2.5.1.8 {
1961a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 0.001
1962a2647caeSdrh} {abc: 2 2 (1.00e-03) :xyz}
1963a2647caeSdrhdo_test printf-2.5.1.9 {
1964a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 0.001
1965a2647caeSdrh} {abc: 2 2 (0.001) :xyz}
1966a2647caeSdrhdo_test printf-2.5.2.1 {
1967a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 1.0e-20
1968a2647caeSdrh} {abc: (0.00) :xyz}
1969a2647caeSdrhdo_test printf-2.5.2.2 {
1970a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 1.0e-20
1971a2647caeSdrh} {abc: (1.00e-20) :xyz}
1972a2647caeSdrhdo_test printf-2.5.2.3 {
1973a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 1.0e-20
1974a2647caeSdrh} {abc: (1e-20) :xyz}
1975a2647caeSdrhdo_test printf-2.5.2.4 {
1976a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 1.0e-20
1977a2647caeSdrh} {abc: 2 2 (1e-20) :xyz}
1978a2647caeSdrhdo_test printf-2.5.2.5 {
1979a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 1.0e-20
1980a2647caeSdrh} {abc: 2 2 (1.00000e-20) :xyz}
1981a2647caeSdrhdo_test printf-2.5.2.6 {
1982a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 1.0e-20
1983a2647caeSdrh} {abc: 2 2 (000001e-20) :xyz}
1984a2647caeSdrhdo_test printf-2.5.2.7 {
1985a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 1.0e-20
1986a2647caeSdrh} {abc: 2 2 (0.00) :xyz}
1987a2647caeSdrhdo_test printf-2.5.2.8 {
1988a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 1.0e-20
1989a2647caeSdrh} {abc: 2 2 (1.00e-20) :xyz}
1990a2647caeSdrhdo_test printf-2.5.2.9 {
1991a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 1.0e-20
1992a2647caeSdrh} {abc: 2 2 (1e-20) :xyz}
1993a2647caeSdrhdo_test printf-2.5.3.1 {
1994a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 1.0
1995a2647caeSdrh} {abc: (1.00) :xyz}
1996a2647caeSdrhdo_test printf-2.5.3.2 {
1997a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 1.0
1998a2647caeSdrh} {abc: (1.00e+00) :xyz}
1999a2647caeSdrhdo_test printf-2.5.3.3 {
2000a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 1.0
2001a2647caeSdrh} {abc: ( 1) :xyz}
2002a2647caeSdrhdo_test printf-2.5.3.4 {
2003a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 1.0
2004a2647caeSdrh} {abc: 2 2 (1) :xyz}
2005a2647caeSdrhdo_test printf-2.5.3.5 {
2006a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 1.0
2007a2647caeSdrh} {abc: 2 2 (1.00000) :xyz}
2008a2647caeSdrhdo_test printf-2.5.3.6 {
2009a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 1.0
2010a2647caeSdrh} {abc: 2 2 (0000000001) :xyz}
2011a2647caeSdrhdo_test printf-2.5.3.7 {
2012a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 1.0
2013a2647caeSdrh} {abc: 2 2 (1.00) :xyz}
2014a2647caeSdrhdo_test printf-2.5.3.8 {
2015a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 1.0
2016a2647caeSdrh} {abc: 2 2 (1.00e+00) :xyz}
2017a2647caeSdrhdo_test printf-2.5.3.9 {
2018a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 1.0
2019a2647caeSdrh} {abc: 2 2 ( 1) :xyz}
2020a2647caeSdrhdo_test printf-2.5.4.1 {
2021a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 0.0
2022a2647caeSdrh} {abc: (0.00) :xyz}
2023a2647caeSdrhdo_test printf-2.5.4.2 {
2024a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 0.0
2025a2647caeSdrh} {abc: (0.00e+00) :xyz}
2026a2647caeSdrhdo_test printf-2.5.4.3 {
2027a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 0.0
2028a2647caeSdrh} {abc: ( 0) :xyz}
2029a2647caeSdrhdo_test printf-2.5.4.4 {
2030a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 0.0
2031a2647caeSdrh} {abc: 2 2 (0) :xyz}
2032a2647caeSdrhdo_test printf-2.5.4.5 {
2033a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 0.0
2034a2647caeSdrh} {abc: 2 2 (0.00000) :xyz}
2035a2647caeSdrhdo_test printf-2.5.4.6 {
2036a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 0.0
2037a2647caeSdrh} {abc: 2 2 (0000000000) :xyz}
2038a2647caeSdrhdo_test printf-2.5.4.7 {
2039a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 0.0
2040a2647caeSdrh} {abc: 2 2 (0.00) :xyz}
2041a2647caeSdrhdo_test printf-2.5.4.8 {
2042a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 0.0
2043a2647caeSdrh} {abc: 2 2 (0.00e+00) :xyz}
2044a2647caeSdrhdo_test printf-2.5.4.9 {
2045a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 0.0
2046a2647caeSdrh} {abc: 2 2 ( 0) :xyz}
2047a2647caeSdrhdo_test printf-2.5.5.1 {
2048a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 100.0
2049a2647caeSdrh} {abc: (100.00) :xyz}
2050a2647caeSdrhdo_test printf-2.5.5.2 {
2051a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 100.0
2052a2647caeSdrh} {abc: (1.00e+02) :xyz}
2053a2647caeSdrhdo_test printf-2.5.5.3 {
2054a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 100.0
2055a2647caeSdrh} {abc: (1e+02) :xyz}
2056a2647caeSdrhdo_test printf-2.5.5.4 {
2057a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 100.0
2058a2647caeSdrh} {abc: 2 2 (100) :xyz}
2059a2647caeSdrhdo_test printf-2.5.5.5 {
2060a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 100.0
2061a2647caeSdrh} {abc: 2 2 (100.000) :xyz}
2062a2647caeSdrhdo_test printf-2.5.5.6 {
2063a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 100.0
2064a2647caeSdrh} {abc: 2 2 (0000000100) :xyz}
2065a2647caeSdrhdo_test printf-2.5.5.7 {
2066a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 100.0
2067a2647caeSdrh} {abc: 2 2 (100.00) :xyz}
2068a2647caeSdrhdo_test printf-2.5.5.8 {
2069a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 100.0
2070a2647caeSdrh} {abc: 2 2 (1.00e+02) :xyz}
2071a2647caeSdrhdo_test printf-2.5.5.9 {
2072a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 100.0
2073a2647caeSdrh} {abc: 2 2 (1e+02) :xyz}
2074a2647caeSdrhdo_test printf-2.5.6.1 {
2075a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 9.99999
2076a2647caeSdrh} {abc: (10.00) :xyz}
2077a2647caeSdrhdo_test printf-2.5.6.2 {
2078a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 9.99999
2079a2647caeSdrh} {abc: (1.00e+01) :xyz}
2080a2647caeSdrhdo_test printf-2.5.6.3 {
2081a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 9.99999
2082a2647caeSdrh} {abc: (10) :xyz}
2083a2647caeSdrhdo_test printf-2.5.6.4 {
2084a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 9.99999
2085a2647caeSdrh} {abc: 2 2 (9.99999) :xyz}
2086a2647caeSdrhdo_test printf-2.5.6.5 {
2087a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 9.99999
2088a2647caeSdrh} {abc: 2 2 (9.99999) :xyz}
2089a2647caeSdrhdo_test printf-2.5.6.6 {
2090a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 9.99999
2091a2647caeSdrh} {abc: 2 2 (0009.99999) :xyz}
2092a2647caeSdrhdo_test printf-2.5.6.7 {
2093a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 9.99999
2094a2647caeSdrh} {abc: 2 2 (10.00) :xyz}
2095a2647caeSdrhdo_test printf-2.5.6.8 {
2096a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 9.99999
2097a2647caeSdrh} {abc: 2 2 (1.00e+01) :xyz}
2098a2647caeSdrhdo_test printf-2.5.6.9 {
2099a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 9.99999
2100a2647caeSdrh} {abc: 2 2 (10) :xyz}
2101a2647caeSdrhdo_test printf-2.5.7.1 {
2102a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -0.00543
2103a2647caeSdrh} {abc: (-0.01) :xyz}
2104a2647caeSdrhdo_test printf-2.5.7.2 {
2105a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -0.00543
2106a2647caeSdrh} {abc: (-5.43e-03) :xyz}
2107a2647caeSdrhdo_test printf-2.5.7.3 {
2108a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -0.00543
2109a2647caeSdrh} {abc: (-0.0054) :xyz}
2110a2647caeSdrhdo_test printf-2.5.7.4 {
2111a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -0.00543
2112a2647caeSdrh} {abc: 2 2 (-0.00543) :xyz}
2113a2647caeSdrhdo_test printf-2.5.7.5 {
2114a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -0.00543
2115a2647caeSdrh} {abc: 2 2 (-0.00543000) :xyz}
2116a2647caeSdrhdo_test printf-2.5.7.6 {
2117a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -0.00543
2118a2647caeSdrh} {abc: 2 2 (-000.00543) :xyz}
2119a2647caeSdrhdo_test printf-2.5.7.7 {
2120a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -0.00543
2121a2647caeSdrh} {abc: 2 2 (-0.01) :xyz}
2122a2647caeSdrhdo_test printf-2.5.7.8 {
2123a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -0.00543
2124a2647caeSdrh} {abc: 2 2 (-5.43e-03) :xyz}
2125a2647caeSdrhdo_test printf-2.5.7.9 {
2126a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -0.00543
2127a2647caeSdrh} {abc: 2 2 (-0.0054) :xyz}
2128a2647caeSdrhdo_test printf-2.5.8.1 {
2129a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -1.0
2130a2647caeSdrh} {abc: (-1.00) :xyz}
2131a2647caeSdrhdo_test printf-2.5.8.2 {
2132a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -1.0
2133a2647caeSdrh} {abc: (-1.00e+00) :xyz}
2134a2647caeSdrhdo_test printf-2.5.8.3 {
2135a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -1.0
2136a2647caeSdrh} {abc: (-1) :xyz}
2137a2647caeSdrhdo_test printf-2.5.8.4 {
2138a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -1.0
2139a2647caeSdrh} {abc: 2 2 (-1) :xyz}
2140a2647caeSdrhdo_test printf-2.5.8.5 {
2141a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -1.0
2142a2647caeSdrh} {abc: 2 2 (-1.00000) :xyz}
2143a2647caeSdrhdo_test printf-2.5.8.6 {
2144a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -1.0
2145a2647caeSdrh} {abc: 2 2 (-000000001) :xyz}
2146a2647caeSdrhdo_test printf-2.5.8.7 {
2147a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -1.0
2148a2647caeSdrh} {abc: 2 2 (-1.00) :xyz}
2149a2647caeSdrhdo_test printf-2.5.8.8 {
2150a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -1.0
2151a2647caeSdrh} {abc: 2 2 (-1.00e+00) :xyz}
2152a2647caeSdrhdo_test printf-2.5.8.9 {
2153a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -1.0
2154a2647caeSdrh} {abc: 2 2 (-1) :xyz}
2155a2647caeSdrhdo_test printf-2.5.9.1 {
2156a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -99.99999
2157a2647caeSdrh} {abc: (-100.00) :xyz}
2158a2647caeSdrhdo_test printf-2.5.9.2 {
2159a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -99.99999
2160a2647caeSdrh} {abc: (-1.00e+02) :xyz}
2161a2647caeSdrhdo_test printf-2.5.9.3 {
2162a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -99.99999
2163a2647caeSdrh} {abc: (-1e+02) :xyz}
2164a2647caeSdrhdo_test printf-2.5.9.4 {
2165a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -99.99999
2166a2647caeSdrh} {abc: 2 2 (-100) :xyz}
2167a2647caeSdrhdo_test printf-2.5.9.5 {
2168a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -99.99999
2169a2647caeSdrh} {abc: 2 2 (-100.000) :xyz}
2170a2647caeSdrhdo_test printf-2.5.9.6 {
2171a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -99.99999
2172a2647caeSdrh} {abc: 2 2 (-000000100) :xyz}
2173a2647caeSdrhdo_test printf-2.5.9.7 {
2174a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -99.99999
2175a2647caeSdrh} {abc: 2 2 (-100.00) :xyz}
2176a2647caeSdrhdo_test printf-2.5.9.8 {
2177a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -99.99999
2178a2647caeSdrh} {abc: 2 2 (-1.00e+02) :xyz}
2179a2647caeSdrhdo_test printf-2.5.9.9 {
2180a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -99.99999
2181a2647caeSdrh} {abc: 2 2 (-1e+02) :xyz}
2182a2647caeSdrhdo_test printf-2.5.10.1 {
2183a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 3.14e+9
2184a2647caeSdrh} {abc: (3140000000.00) :xyz}
2185a2647caeSdrhdo_test printf-2.5.10.2 {
2186a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 3.14e+9
2187a2647caeSdrh} {abc: (3.14e+09) :xyz}
2188a2647caeSdrhdo_test printf-2.5.10.3 {
2189a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 3.14e+9
2190a2647caeSdrh} {abc: (3.1e+09) :xyz}
2191a2647caeSdrhdo_test printf-2.5.10.4 {
2192a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 3.14e+9
2193a2647caeSdrh} {abc: 2 2 (3.14e+09) :xyz}
2194a2647caeSdrhdo_test printf-2.5.10.5 {
2195a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 3.14e+9
2196a2647caeSdrh} {abc: 2 2 (3.14000e+09) :xyz}
2197a2647caeSdrhdo_test printf-2.5.10.6 {
2198a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 3.14e+9
2199a2647caeSdrh} {abc: 2 2 (003.14e+09) :xyz}
2200a2647caeSdrhdo_test printf-2.5.10.7 {
2201a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 3.14e+9
2202a2647caeSdrh} {abc: 2 2 (3140000000.00) :xyz}
2203a2647caeSdrhdo_test printf-2.5.10.8 {
2204a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 3.14e+9
2205a2647caeSdrh} {abc: 2 2 (3.14e+09) :xyz}
2206a2647caeSdrhdo_test printf-2.5.10.9 {
2207a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 3.14e+9
2208a2647caeSdrh} {abc: 2 2 (3.1e+09) :xyz}
2209a2647caeSdrhdo_test printf-2.5.11.2 {
2210a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -4.72732e+88
2211a2647caeSdrh} {abc: (-4.73e+88) :xyz}
2212a2647caeSdrhdo_test printf-2.5.11.3 {
2213a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -4.72732e+88
2214a2647caeSdrh} {abc: (-4.7e+88) :xyz}
2215a2647caeSdrhdo_test printf-2.5.11.4 {
2216a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -4.72732e+88
2217a2647caeSdrh} {abc: 2 2 (-4.72732e+88) :xyz}
2218a2647caeSdrhdo_test printf-2.5.11.5 {
2219a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -4.72732e+88
2220a2647caeSdrh} {abc: 2 2 (-4.72732e+88) :xyz}
2221a2647caeSdrhdo_test printf-2.5.11.6 {
2222a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -4.72732e+88
2223a2647caeSdrh} {abc: 2 2 (-4.72732e+88) :xyz}
2224a2647caeSdrhdo_test printf-2.5.11.8 {
2225a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -4.72732e+88
2226a2647caeSdrh} {abc: 2 2 (-4.73e+88) :xyz}
2227a2647caeSdrhdo_test printf-2.5.11.9 {
2228a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -4.72732e+88
2229a2647caeSdrh} {abc: 2 2 (-4.7e+88) :xyz}
2230a2647caeSdrhdo_test printf-2.5.12.2 {
2231a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 9.87991e+143
2232a2647caeSdrh} {abc: (9.88e+143) :xyz}
2233a2647caeSdrhdo_test printf-2.5.12.3 {
2234a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 9.87991e+143
2235a2647caeSdrh} {abc: (9.9e+143) :xyz}
2236a2647caeSdrhdo_test printf-2.5.12.4 {
2237a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 9.87991e+143
2238a2647caeSdrh} {abc: 2 2 (9.87991e+143) :xyz}
2239a2647caeSdrhdo_test printf-2.5.12.5 {
2240a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 9.87991e+143
2241a2647caeSdrh} {abc: 2 2 (9.87991e+143) :xyz}
2242a2647caeSdrhdo_test printf-2.5.12.6 {
2243a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 9.87991e+143
2244a2647caeSdrh} {abc: 2 2 (9.87991e+143) :xyz}
2245a2647caeSdrhdo_test printf-2.5.12.8 {
2246a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 9.87991e+143
2247a2647caeSdrh} {abc: 2 2 (9.88e+143) :xyz}
2248a2647caeSdrhdo_test printf-2.5.12.9 {
2249a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 9.87991e+143
2250a2647caeSdrh} {abc: 2 2 (9.9e+143) :xyz}
2251a2647caeSdrhdo_test printf-2.5.13.1 {
2252a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -6.287291e-9
2253a2647caeSdrh} {abc: (-0.00) :xyz}
2254a2647caeSdrhdo_test printf-2.5.13.2 {
2255a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -6.287291e-9
2256a2647caeSdrh} {abc: (-6.29e-09) :xyz}
2257a2647caeSdrhdo_test printf-2.5.13.3 {
2258a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -6.287291e-9
2259a2647caeSdrh} {abc: (-6.3e-09) :xyz}
2260a2647caeSdrhdo_test printf-2.5.13.4 {
2261a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -6.287291e-9
2262a2647caeSdrh} {abc: 2 2 (-6.28729e-09) :xyz}
2263a2647caeSdrhdo_test printf-2.5.13.5 {
2264a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -6.287291e-9
2265a2647caeSdrh} {abc: 2 2 (-6.28729e-09) :xyz}
2266a2647caeSdrhdo_test printf-2.5.13.6 {
2267a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -6.287291e-9
2268a2647caeSdrh} {abc: 2 2 (-6.28729e-09) :xyz}
2269a2647caeSdrhdo_test printf-2.5.13.7 {
2270a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -6.287291e-9
2271a2647caeSdrh} {abc: 2 2 (-0.00) :xyz}
2272a2647caeSdrhdo_test printf-2.5.13.8 {
2273a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -6.287291e-9
2274a2647caeSdrh} {abc: 2 2 (-6.29e-09) :xyz}
2275a2647caeSdrhdo_test printf-2.5.13.9 {
2276a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -6.287291e-9
2277a2647caeSdrh} {abc: 2 2 (-6.3e-09) :xyz}
2278a2647caeSdrhdo_test printf-2.5.14.1 {
2279a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 3.38826392e-110
2280a2647caeSdrh} {abc: (0.00) :xyz}
2281a2647caeSdrhdo_test printf-2.5.14.2 {
2282a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 3.38826392e-110
2283a2647caeSdrh} {abc: (3.39e-110) :xyz}
2284a2647caeSdrhdo_test printf-2.5.14.3 {
2285a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 3.38826392e-110
2286a2647caeSdrh} {abc: (3.4e-110) :xyz}
2287a2647caeSdrhdo_test printf-2.5.14.4 {
2288a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 3.38826392e-110
2289a2647caeSdrh} {abc: 2 2 (3.38826e-110) :xyz}
2290a2647caeSdrhdo_test printf-2.5.14.5 {
2291a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 3.38826392e-110
2292a2647caeSdrh} {abc: 2 2 (3.38826e-110) :xyz}
2293a2647caeSdrhdo_test printf-2.5.14.6 {
2294a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 3.38826392e-110
2295a2647caeSdrh} {abc: 2 2 (3.38826e-110) :xyz}
2296a2647caeSdrhdo_test printf-2.5.14.7 {
2297a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 3.38826392e-110
2298a2647caeSdrh} {abc: 2 2 (0.00) :xyz}
2299a2647caeSdrhdo_test printf-2.5.14.8 {
2300a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 3.38826392e-110
2301a2647caeSdrh} {abc: 2 2 (3.39e-110) :xyz}
2302a2647caeSdrhdo_test printf-2.5.14.9 {
2303a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 3.38826392e-110
2304a2647caeSdrh} {abc: 2 2 (3.4e-110) :xyz}
2305a2647caeSdrhdo_test printf-2.6.1.1 {
2306a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 0.001
2307a2647caeSdrh} {abc: (0.001) :xyz}
2308a2647caeSdrhdo_test printf-2.6.1.2 {
2309a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 0.001
2310a2647caeSdrh} {abc: (1.000e-03) :xyz}
2311a2647caeSdrhdo_test printf-2.6.1.3 {
2312a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 0.001
2313a2647caeSdrh} {abc: (0.001) :xyz}
2314a2647caeSdrhdo_test printf-2.6.1.4 {
2315a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 0.001
2316a2647caeSdrh} {abc: 2 3 (0.001) :xyz}
2317a2647caeSdrhdo_test printf-2.6.1.5 {
2318a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 0.001
2319a2647caeSdrh} {abc: 2 3 (0.00100000) :xyz}
2320a2647caeSdrhdo_test printf-2.6.1.6 {
2321a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 0.001
2322a2647caeSdrh} {abc: 2 3 (000000.001) :xyz}
2323a2647caeSdrhdo_test printf-2.6.1.7 {
2324a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 0.001
2325a2647caeSdrh} {abc: 2 3 (0.001) :xyz}
2326a2647caeSdrhdo_test printf-2.6.1.8 {
2327a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 0.001
2328a2647caeSdrh} {abc: 2 3 (1.000e-03) :xyz}
2329a2647caeSdrhdo_test printf-2.6.1.9 {
2330a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 0.001
2331a2647caeSdrh} {abc: 2 3 (0.001) :xyz}
2332a2647caeSdrhdo_test printf-2.6.2.1 {
2333a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 1.0e-20
2334a2647caeSdrh} {abc: (0.000) :xyz}
2335a2647caeSdrhdo_test printf-2.6.2.2 {
2336a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 1.0e-20
2337a2647caeSdrh} {abc: (1.000e-20) :xyz}
2338a2647caeSdrhdo_test printf-2.6.2.3 {
2339a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 1.0e-20
2340a2647caeSdrh} {abc: (1e-20) :xyz}
2341a2647caeSdrhdo_test printf-2.6.2.4 {
2342a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 1.0e-20
2343a2647caeSdrh} {abc: 2 3 (1e-20) :xyz}
2344a2647caeSdrhdo_test printf-2.6.2.5 {
2345a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 1.0e-20
2346a2647caeSdrh} {abc: 2 3 (1.00000e-20) :xyz}
2347a2647caeSdrhdo_test printf-2.6.2.6 {
2348a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 1.0e-20
2349a2647caeSdrh} {abc: 2 3 (000001e-20) :xyz}
2350a2647caeSdrhdo_test printf-2.6.2.7 {
2351a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 1.0e-20
2352a2647caeSdrh} {abc: 2 3 (0.000) :xyz}
2353a2647caeSdrhdo_test printf-2.6.2.8 {
2354a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 1.0e-20
2355a2647caeSdrh} {abc: 2 3 (1.000e-20) :xyz}
2356a2647caeSdrhdo_test printf-2.6.2.9 {
2357a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 1.0e-20
2358a2647caeSdrh} {abc: 2 3 (1e-20) :xyz}
2359a2647caeSdrhdo_test printf-2.6.3.1 {
2360a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 1.0
2361a2647caeSdrh} {abc: (1.000) :xyz}
2362a2647caeSdrhdo_test printf-2.6.3.2 {
2363a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 1.0
2364a2647caeSdrh} {abc: (1.000e+00) :xyz}
2365a2647caeSdrhdo_test printf-2.6.3.3 {
2366a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 1.0
2367a2647caeSdrh} {abc: ( 1) :xyz}
2368a2647caeSdrhdo_test printf-2.6.3.4 {
2369a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 1.0
2370a2647caeSdrh} {abc: 2 3 (1) :xyz}
2371a2647caeSdrhdo_test printf-2.6.3.5 {
2372a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 1.0
2373a2647caeSdrh} {abc: 2 3 (1.00000) :xyz}
2374a2647caeSdrhdo_test printf-2.6.3.6 {
2375a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 1.0
2376a2647caeSdrh} {abc: 2 3 (0000000001) :xyz}
2377a2647caeSdrhdo_test printf-2.6.3.7 {
2378a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 1.0
2379a2647caeSdrh} {abc: 2 3 (1.000) :xyz}
2380a2647caeSdrhdo_test printf-2.6.3.8 {
2381a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 1.0
2382a2647caeSdrh} {abc: 2 3 (1.000e+00) :xyz}
2383a2647caeSdrhdo_test printf-2.6.3.9 {
2384a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 1.0
2385a2647caeSdrh} {abc: 2 3 ( 1) :xyz}
2386a2647caeSdrhdo_test printf-2.6.4.1 {
2387a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 0.0
2388a2647caeSdrh} {abc: (0.000) :xyz}
2389a2647caeSdrhdo_test printf-2.6.4.2 {
2390a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 0.0
2391a2647caeSdrh} {abc: (0.000e+00) :xyz}
2392a2647caeSdrhdo_test printf-2.6.4.3 {
2393a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 0.0
2394a2647caeSdrh} {abc: ( 0) :xyz}
2395a2647caeSdrhdo_test printf-2.6.4.4 {
2396a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 0.0
2397a2647caeSdrh} {abc: 2 3 (0) :xyz}
2398a2647caeSdrhdo_test printf-2.6.4.5 {
2399a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 0.0
2400a2647caeSdrh} {abc: 2 3 (0.00000) :xyz}
2401a2647caeSdrhdo_test printf-2.6.4.6 {
2402a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 0.0
2403a2647caeSdrh} {abc: 2 3 (0000000000) :xyz}
2404a2647caeSdrhdo_test printf-2.6.4.7 {
2405a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 0.0
2406a2647caeSdrh} {abc: 2 3 (0.000) :xyz}
2407a2647caeSdrhdo_test printf-2.6.4.8 {
2408a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 0.0
2409a2647caeSdrh} {abc: 2 3 (0.000e+00) :xyz}
2410a2647caeSdrhdo_test printf-2.6.4.9 {
2411a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 0.0
2412a2647caeSdrh} {abc: 2 3 ( 0) :xyz}
2413a2647caeSdrhdo_test printf-2.6.5.1 {
2414a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 100.0
2415a2647caeSdrh} {abc: (100.000) :xyz}
2416a2647caeSdrhdo_test printf-2.6.5.2 {
2417a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 100.0
2418a2647caeSdrh} {abc: (1.000e+02) :xyz}
2419a2647caeSdrhdo_test printf-2.6.5.3 {
2420a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 100.0
2421a2647caeSdrh} {abc: (100) :xyz}
2422a2647caeSdrhdo_test printf-2.6.5.4 {
2423a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 100.0
2424a2647caeSdrh} {abc: 2 3 (100) :xyz}
2425a2647caeSdrhdo_test printf-2.6.5.5 {
2426a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 100.0
2427a2647caeSdrh} {abc: 2 3 (100.000) :xyz}
2428a2647caeSdrhdo_test printf-2.6.5.6 {
2429a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 100.0
2430a2647caeSdrh} {abc: 2 3 (0000000100) :xyz}
2431a2647caeSdrhdo_test printf-2.6.5.7 {
2432a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 100.0
2433a2647caeSdrh} {abc: 2 3 (100.000) :xyz}
2434a2647caeSdrhdo_test printf-2.6.5.8 {
2435a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 100.0
2436a2647caeSdrh} {abc: 2 3 (1.000e+02) :xyz}
2437a2647caeSdrhdo_test printf-2.6.5.9 {
2438a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 100.0
2439a2647caeSdrh} {abc: 2 3 (100) :xyz}
2440a2647caeSdrhdo_test printf-2.6.6.1 {
2441a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 9.99999
2442a2647caeSdrh} {abc: (10.000) :xyz}
2443a2647caeSdrhdo_test printf-2.6.6.2 {
2444a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 9.99999
2445a2647caeSdrh} {abc: (1.000e+01) :xyz}
2446a2647caeSdrhdo_test printf-2.6.6.3 {
2447a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 9.99999
2448a2647caeSdrh} {abc: (10) :xyz}
2449a2647caeSdrhdo_test printf-2.6.6.4 {
2450a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 9.99999
2451a2647caeSdrh} {abc: 2 3 (9.99999) :xyz}
2452a2647caeSdrhdo_test printf-2.6.6.5 {
2453a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 9.99999
2454a2647caeSdrh} {abc: 2 3 (9.99999) :xyz}
2455a2647caeSdrhdo_test printf-2.6.6.6 {
2456a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 9.99999
2457a2647caeSdrh} {abc: 2 3 (0009.99999) :xyz}
2458a2647caeSdrhdo_test printf-2.6.6.7 {
2459a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 9.99999
2460a2647caeSdrh} {abc: 2 3 (10.000) :xyz}
2461a2647caeSdrhdo_test printf-2.6.6.8 {
2462a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 9.99999
2463a2647caeSdrh} {abc: 2 3 (1.000e+01) :xyz}
2464a2647caeSdrhdo_test printf-2.6.6.9 {
2465a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 9.99999
2466a2647caeSdrh} {abc: 2 3 (10) :xyz}
2467a2647caeSdrhdo_test printf-2.6.7.1 {
2468a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -0.00543
2469a2647caeSdrh} {abc: (-0.005) :xyz}
2470a2647caeSdrhdo_test printf-2.6.7.2 {
2471a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -0.00543
2472a2647caeSdrh} {abc: (-5.430e-03) :xyz}
2473a2647caeSdrhdo_test printf-2.6.7.3 {
2474a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -0.00543
2475a2647caeSdrh} {abc: (-0.00543) :xyz}
2476a2647caeSdrhdo_test printf-2.6.7.4 {
2477a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -0.00543
2478a2647caeSdrh} {abc: 2 3 (-0.00543) :xyz}
2479a2647caeSdrhdo_test printf-2.6.7.5 {
2480a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -0.00543
2481a2647caeSdrh} {abc: 2 3 (-0.00543000) :xyz}
2482a2647caeSdrhdo_test printf-2.6.7.6 {
2483a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -0.00543
2484a2647caeSdrh} {abc: 2 3 (-000.00543) :xyz}
2485a2647caeSdrhdo_test printf-2.6.7.7 {
2486a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -0.00543
2487a2647caeSdrh} {abc: 2 3 (-0.005) :xyz}
2488a2647caeSdrhdo_test printf-2.6.7.8 {
2489a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -0.00543
2490a2647caeSdrh} {abc: 2 3 (-5.430e-03) :xyz}
2491a2647caeSdrhdo_test printf-2.6.7.9 {
2492a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -0.00543
2493a2647caeSdrh} {abc: 2 3 (-0.00543) :xyz}
2494a2647caeSdrhdo_test printf-2.6.8.1 {
2495a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -1.0
2496a2647caeSdrh} {abc: (-1.000) :xyz}
2497a2647caeSdrhdo_test printf-2.6.8.2 {
2498a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -1.0
2499a2647caeSdrh} {abc: (-1.000e+00) :xyz}
2500a2647caeSdrhdo_test printf-2.6.8.3 {
2501a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -1.0
2502a2647caeSdrh} {abc: (-1) :xyz}
2503a2647caeSdrhdo_test printf-2.6.8.4 {
2504a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -1.0
2505a2647caeSdrh} {abc: 2 3 (-1) :xyz}
2506a2647caeSdrhdo_test printf-2.6.8.5 {
2507a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -1.0
2508a2647caeSdrh} {abc: 2 3 (-1.00000) :xyz}
2509a2647caeSdrhdo_test printf-2.6.8.6 {
2510a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -1.0
2511a2647caeSdrh} {abc: 2 3 (-000000001) :xyz}
2512a2647caeSdrhdo_test printf-2.6.8.7 {
2513a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -1.0
2514a2647caeSdrh} {abc: 2 3 (-1.000) :xyz}
2515a2647caeSdrhdo_test printf-2.6.8.8 {
2516a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -1.0
2517a2647caeSdrh} {abc: 2 3 (-1.000e+00) :xyz}
2518a2647caeSdrhdo_test printf-2.6.8.9 {
2519a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -1.0
2520a2647caeSdrh} {abc: 2 3 (-1) :xyz}
2521a2647caeSdrhdo_test printf-2.6.9.1 {
2522a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -99.99999
2523a2647caeSdrh} {abc: (-100.000) :xyz}
2524a2647caeSdrhdo_test printf-2.6.9.2 {
2525a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -99.99999
2526a2647caeSdrh} {abc: (-1.000e+02) :xyz}
2527a2647caeSdrhdo_test printf-2.6.9.3 {
2528a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -99.99999
2529a2647caeSdrh} {abc: (-100) :xyz}
2530a2647caeSdrhdo_test printf-2.6.9.4 {
2531a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -99.99999
2532a2647caeSdrh} {abc: 2 3 (-100) :xyz}
2533a2647caeSdrhdo_test printf-2.6.9.5 {
2534a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -99.99999
2535a2647caeSdrh} {abc: 2 3 (-100.000) :xyz}
2536a2647caeSdrhdo_test printf-2.6.9.6 {
2537a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -99.99999
2538a2647caeSdrh} {abc: 2 3 (-000000100) :xyz}
2539a2647caeSdrhdo_test printf-2.6.9.7 {
2540a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -99.99999
2541a2647caeSdrh} {abc: 2 3 (-100.000) :xyz}
2542a2647caeSdrhdo_test printf-2.6.9.8 {
2543a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -99.99999
2544a2647caeSdrh} {abc: 2 3 (-1.000e+02) :xyz}
2545a2647caeSdrhdo_test printf-2.6.9.9 {
2546a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -99.99999
2547a2647caeSdrh} {abc: 2 3 (-100) :xyz}
2548a2647caeSdrhdo_test printf-2.6.10.1 {
2549a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 3.14e+9
2550a2647caeSdrh} {abc: (3140000000.000) :xyz}
2551a2647caeSdrhdo_test printf-2.6.10.2 {
2552a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 3.14e+9
2553a2647caeSdrh} {abc: (3.140e+09) :xyz}
2554a2647caeSdrhdo_test printf-2.6.10.3 {
2555a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 3.14e+9
2556a2647caeSdrh} {abc: (3.14e+09) :xyz}
2557a2647caeSdrhdo_test printf-2.6.10.4 {
2558a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 3.14e+9
2559a2647caeSdrh} {abc: 2 3 (3.14e+09) :xyz}
2560a2647caeSdrhdo_test printf-2.6.10.5 {
2561a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 3.14e+9
2562a2647caeSdrh} {abc: 2 3 (3.14000e+09) :xyz}
2563a2647caeSdrhdo_test printf-2.6.10.6 {
2564a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 3.14e+9
2565a2647caeSdrh} {abc: 2 3 (003.14e+09) :xyz}
2566a2647caeSdrhdo_test printf-2.6.10.7 {
2567a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 3.14e+9
2568a2647caeSdrh} {abc: 2 3 (3140000000.000) :xyz}
2569a2647caeSdrhdo_test printf-2.6.10.8 {
2570a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 3.14e+9
2571a2647caeSdrh} {abc: 2 3 (3.140e+09) :xyz}
2572a2647caeSdrhdo_test printf-2.6.10.9 {
2573a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 3.14e+9
2574a2647caeSdrh} {abc: 2 3 (3.14e+09) :xyz}
2575a2647caeSdrhdo_test printf-2.6.11.2 {
2576a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -4.72732e+88
2577a2647caeSdrh} {abc: (-4.727e+88) :xyz}
2578a2647caeSdrhdo_test printf-2.6.11.3 {
2579a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -4.72732e+88
2580a2647caeSdrh} {abc: (-4.73e+88) :xyz}
2581a2647caeSdrhdo_test printf-2.6.11.4 {
2582a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -4.72732e+88
2583a2647caeSdrh} {abc: 2 3 (-4.72732e+88) :xyz}
2584a2647caeSdrhdo_test printf-2.6.11.5 {
2585a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -4.72732e+88
2586a2647caeSdrh} {abc: 2 3 (-4.72732e+88) :xyz}
2587a2647caeSdrhdo_test printf-2.6.11.6 {
2588a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -4.72732e+88
2589a2647caeSdrh} {abc: 2 3 (-4.72732e+88) :xyz}
2590a2647caeSdrhdo_test printf-2.6.11.8 {
2591a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -4.72732e+88
2592a2647caeSdrh} {abc: 2 3 (-4.727e+88) :xyz}
2593a2647caeSdrhdo_test printf-2.6.11.9 {
2594a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -4.72732e+88
2595a2647caeSdrh} {abc: 2 3 (-4.73e+88) :xyz}
2596a2647caeSdrhdo_test printf-2.6.12.2 {
2597a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 9.87991e+143
2598a2647caeSdrh} {abc: (9.880e+143) :xyz}
2599a2647caeSdrhdo_test printf-2.6.12.3 {
2600a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 9.87991e+143
2601a2647caeSdrh} {abc: (9.88e+143) :xyz}
2602a2647caeSdrhdo_test printf-2.6.12.4 {
2603a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 9.87991e+143
2604a2647caeSdrh} {abc: 2 3 (9.87991e+143) :xyz}
2605a2647caeSdrhdo_test printf-2.6.12.5 {
2606a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 9.87991e+143
2607a2647caeSdrh} {abc: 2 3 (9.87991e+143) :xyz}
2608a2647caeSdrhdo_test printf-2.6.12.6 {
2609a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 9.87991e+143
2610a2647caeSdrh} {abc: 2 3 (9.87991e+143) :xyz}
2611a2647caeSdrhdo_test printf-2.6.12.8 {
2612a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 9.87991e+143
2613a2647caeSdrh} {abc: 2 3 (9.880e+143) :xyz}
2614a2647caeSdrhdo_test printf-2.6.12.9 {
2615a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 9.87991e+143
2616a2647caeSdrh} {abc: 2 3 (9.88e+143) :xyz}
2617a2647caeSdrhdo_test printf-2.6.13.1 {
2618a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -6.287291e-9
2619a2647caeSdrh} {abc: (-0.000) :xyz}
2620a2647caeSdrhdo_test printf-2.6.13.2 {
2621a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -6.287291e-9
2622a2647caeSdrh} {abc: (-6.287e-09) :xyz}
2623a2647caeSdrhdo_test printf-2.6.13.3 {
2624a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -6.287291e-9
2625a2647caeSdrh} {abc: (-6.29e-09) :xyz}
2626a2647caeSdrhdo_test printf-2.6.13.4 {
2627a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -6.287291e-9
2628a2647caeSdrh} {abc: 2 3 (-6.28729e-09) :xyz}
2629a2647caeSdrhdo_test printf-2.6.13.5 {
2630a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -6.287291e-9
2631a2647caeSdrh} {abc: 2 3 (-6.28729e-09) :xyz}
2632a2647caeSdrhdo_test printf-2.6.13.6 {
2633a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -6.287291e-9
2634a2647caeSdrh} {abc: 2 3 (-6.28729e-09) :xyz}
2635a2647caeSdrhdo_test printf-2.6.13.7 {
2636a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -6.287291e-9
2637a2647caeSdrh} {abc: 2 3 (-0.000) :xyz}
2638a2647caeSdrhdo_test printf-2.6.13.8 {
2639a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -6.287291e-9
2640a2647caeSdrh} {abc: 2 3 (-6.287e-09) :xyz}
2641a2647caeSdrhdo_test printf-2.6.13.9 {
2642a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -6.287291e-9
2643a2647caeSdrh} {abc: 2 3 (-6.29e-09) :xyz}
2644a2647caeSdrhdo_test printf-2.6.14.1 {
2645a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 3.38826392e-110
2646a2647caeSdrh} {abc: (0.000) :xyz}
2647a2647caeSdrhdo_test printf-2.6.14.2 {
2648a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 3.38826392e-110
2649a2647caeSdrh} {abc: (3.388e-110) :xyz}
2650a2647caeSdrhdo_test printf-2.6.14.3 {
2651a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 3.38826392e-110
2652a2647caeSdrh} {abc: (3.39e-110) :xyz}
2653a2647caeSdrhdo_test printf-2.6.14.4 {
2654a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 3.38826392e-110
2655a2647caeSdrh} {abc: 2 3 (3.38826e-110) :xyz}
2656a2647caeSdrhdo_test printf-2.6.14.5 {
2657a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 3.38826392e-110
2658a2647caeSdrh} {abc: 2 3 (3.38826e-110) :xyz}
2659a2647caeSdrhdo_test printf-2.6.14.6 {
2660a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 3.38826392e-110
2661a2647caeSdrh} {abc: 2 3 (3.38826e-110) :xyz}
2662a2647caeSdrhdo_test printf-2.6.14.7 {
2663a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 3.38826392e-110
2664a2647caeSdrh} {abc: 2 3 (0.000) :xyz}
2665a2647caeSdrhdo_test printf-2.6.14.8 {
2666a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 3.38826392e-110
2667a2647caeSdrh} {abc: 2 3 (3.388e-110) :xyz}
2668a2647caeSdrhdo_test printf-2.6.14.9 {
2669a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 3.38826392e-110
2670a2647caeSdrh} {abc: 2 3 (3.39e-110) :xyz}
2671a2647caeSdrhdo_test printf-2.7.1.1 {
2672a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 0.001
2673a2647caeSdrh} {abc: (0.001) :xyz}
2674a2647caeSdrhdo_test printf-2.7.1.2 {
2675a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 0.001
2676a2647caeSdrh} {abc: (1.000e-03) :xyz}
2677a2647caeSdrhdo_test printf-2.7.1.3 {
2678a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 0.001
2679a2647caeSdrh} {abc: (0.001) :xyz}
2680a2647caeSdrhdo_test printf-2.7.1.4 {
2681a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 0.001
2682a2647caeSdrh} {abc: 3 3 (0.001) :xyz}
2683a2647caeSdrhdo_test printf-2.7.1.5 {
2684a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 0.001
2685a2647caeSdrh} {abc: 3 3 (0.00100000) :xyz}
2686a2647caeSdrhdo_test printf-2.7.1.6 {
2687a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 0.001
2688a2647caeSdrh} {abc: 3 3 (000000.001) :xyz}
2689a2647caeSdrhdo_test printf-2.7.1.7 {
2690a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 0.001
2691a2647caeSdrh} {abc: 3 3 (0.001) :xyz}
2692a2647caeSdrhdo_test printf-2.7.1.8 {
2693a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 0.001
2694a2647caeSdrh} {abc: 3 3 (1.000e-03) :xyz}
2695a2647caeSdrhdo_test printf-2.7.1.9 {
2696a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 0.001
2697a2647caeSdrh} {abc: 3 3 (0.001) :xyz}
2698a2647caeSdrhdo_test printf-2.7.2.1 {
2699a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 1.0e-20
2700a2647caeSdrh} {abc: (0.000) :xyz}
2701a2647caeSdrhdo_test printf-2.7.2.2 {
2702a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 1.0e-20
2703a2647caeSdrh} {abc: (1.000e-20) :xyz}
2704a2647caeSdrhdo_test printf-2.7.2.3 {
2705a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 1.0e-20
2706a2647caeSdrh} {abc: (1e-20) :xyz}
2707a2647caeSdrhdo_test printf-2.7.2.4 {
2708a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 1.0e-20
2709a2647caeSdrh} {abc: 3 3 (1e-20) :xyz}
2710a2647caeSdrhdo_test printf-2.7.2.5 {
2711a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 1.0e-20
2712a2647caeSdrh} {abc: 3 3 (1.00000e-20) :xyz}
2713a2647caeSdrhdo_test printf-2.7.2.6 {
2714a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 1.0e-20
2715a2647caeSdrh} {abc: 3 3 (000001e-20) :xyz}
2716a2647caeSdrhdo_test printf-2.7.2.7 {
2717a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 1.0e-20
2718a2647caeSdrh} {abc: 3 3 (0.000) :xyz}
2719a2647caeSdrhdo_test printf-2.7.2.8 {
2720a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 1.0e-20
2721a2647caeSdrh} {abc: 3 3 (1.000e-20) :xyz}
2722a2647caeSdrhdo_test printf-2.7.2.9 {
2723a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 1.0e-20
2724a2647caeSdrh} {abc: 3 3 (1e-20) :xyz}
2725a2647caeSdrhdo_test printf-2.7.3.1 {
2726a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 1.0
2727a2647caeSdrh} {abc: (1.000) :xyz}
2728a2647caeSdrhdo_test printf-2.7.3.2 {
2729a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 1.0
2730a2647caeSdrh} {abc: (1.000e+00) :xyz}
2731a2647caeSdrhdo_test printf-2.7.3.3 {
2732a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 1.0
2733a2647caeSdrh} {abc: (  1) :xyz}
2734a2647caeSdrhdo_test printf-2.7.3.4 {
2735a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 1.0
2736a2647caeSdrh} {abc: 3 3 (1) :xyz}
2737a2647caeSdrhdo_test printf-2.7.3.5 {
2738a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 1.0
2739a2647caeSdrh} {abc: 3 3 (1.00000) :xyz}
2740a2647caeSdrhdo_test printf-2.7.3.6 {
2741a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 1.0
2742a2647caeSdrh} {abc: 3 3 (0000000001) :xyz}
2743a2647caeSdrhdo_test printf-2.7.3.7 {
2744a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 1.0
2745a2647caeSdrh} {abc: 3 3 (1.000) :xyz}
2746a2647caeSdrhdo_test printf-2.7.3.8 {
2747a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 1.0
2748a2647caeSdrh} {abc: 3 3 (1.000e+00) :xyz}
2749a2647caeSdrhdo_test printf-2.7.3.9 {
2750a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 1.0
2751a2647caeSdrh} {abc: 3 3 (  1) :xyz}
2752a2647caeSdrhdo_test printf-2.7.4.1 {
2753a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 0.0
2754a2647caeSdrh} {abc: (0.000) :xyz}
2755a2647caeSdrhdo_test printf-2.7.4.2 {
2756a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 0.0
2757a2647caeSdrh} {abc: (0.000e+00) :xyz}
2758a2647caeSdrhdo_test printf-2.7.4.3 {
2759a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 0.0
2760a2647caeSdrh} {abc: (  0) :xyz}
2761a2647caeSdrhdo_test printf-2.7.4.4 {
2762a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 0.0
2763a2647caeSdrh} {abc: 3 3 (0) :xyz}
2764a2647caeSdrhdo_test printf-2.7.4.5 {
2765a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 0.0
2766a2647caeSdrh} {abc: 3 3 (0.00000) :xyz}
2767a2647caeSdrhdo_test printf-2.7.4.6 {
2768a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 0.0
2769a2647caeSdrh} {abc: 3 3 (0000000000) :xyz}
2770a2647caeSdrhdo_test printf-2.7.4.7 {
2771a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 0.0
2772a2647caeSdrh} {abc: 3 3 (0.000) :xyz}
2773a2647caeSdrhdo_test printf-2.7.4.8 {
2774a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 0.0
2775a2647caeSdrh} {abc: 3 3 (0.000e+00) :xyz}
2776a2647caeSdrhdo_test printf-2.7.4.9 {
2777a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 0.0
2778a2647caeSdrh} {abc: 3 3 (  0) :xyz}
2779a2647caeSdrhdo_test printf-2.7.5.1 {
2780a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 100.0
2781a2647caeSdrh} {abc: (100.000) :xyz}
2782a2647caeSdrhdo_test printf-2.7.5.2 {
2783a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 100.0
2784a2647caeSdrh} {abc: (1.000e+02) :xyz}
2785a2647caeSdrhdo_test printf-2.7.5.3 {
2786a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 100.0
2787a2647caeSdrh} {abc: (100) :xyz}
2788a2647caeSdrhdo_test printf-2.7.5.4 {
2789a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 100.0
2790a2647caeSdrh} {abc: 3 3 (100) :xyz}
2791a2647caeSdrhdo_test printf-2.7.5.5 {
2792a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 100.0
2793a2647caeSdrh} {abc: 3 3 (100.000) :xyz}
2794a2647caeSdrhdo_test printf-2.7.5.6 {
2795a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 100.0
2796a2647caeSdrh} {abc: 3 3 (0000000100) :xyz}
2797a2647caeSdrhdo_test printf-2.7.5.7 {
2798a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 100.0
2799a2647caeSdrh} {abc: 3 3 (100.000) :xyz}
2800a2647caeSdrhdo_test printf-2.7.5.8 {
2801a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 100.0
2802a2647caeSdrh} {abc: 3 3 (1.000e+02) :xyz}
2803a2647caeSdrhdo_test printf-2.7.5.9 {
2804a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 100.0
2805a2647caeSdrh} {abc: 3 3 (100) :xyz}
2806a2647caeSdrhdo_test printf-2.7.6.1 {
2807a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 9.99999
2808a2647caeSdrh} {abc: (10.000) :xyz}
2809a2647caeSdrhdo_test printf-2.7.6.2 {
2810a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 9.99999
2811a2647caeSdrh} {abc: (1.000e+01) :xyz}
2812a2647caeSdrhdo_test printf-2.7.6.3 {
2813a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 9.99999
2814a2647caeSdrh} {abc: ( 10) :xyz}
2815a2647caeSdrhdo_test printf-2.7.6.4 {
2816a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 9.99999
2817a2647caeSdrh} {abc: 3 3 (9.99999) :xyz}
2818a2647caeSdrhdo_test printf-2.7.6.5 {
2819a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 9.99999
2820a2647caeSdrh} {abc: 3 3 (9.99999) :xyz}
2821a2647caeSdrhdo_test printf-2.7.6.6 {
2822a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 9.99999
2823a2647caeSdrh} {abc: 3 3 (0009.99999) :xyz}
2824a2647caeSdrhdo_test printf-2.7.6.7 {
2825a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 9.99999
2826a2647caeSdrh} {abc: 3 3 (10.000) :xyz}
2827a2647caeSdrhdo_test printf-2.7.6.8 {
2828a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 9.99999
2829a2647caeSdrh} {abc: 3 3 (1.000e+01) :xyz}
2830a2647caeSdrhdo_test printf-2.7.6.9 {
2831a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 9.99999
2832a2647caeSdrh} {abc: 3 3 ( 10) :xyz}
2833a2647caeSdrhdo_test printf-2.7.7.1 {
2834a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -0.00543
2835a2647caeSdrh} {abc: (-0.005) :xyz}
2836a2647caeSdrhdo_test printf-2.7.7.2 {
2837a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -0.00543
2838a2647caeSdrh} {abc: (-5.430e-03) :xyz}
2839a2647caeSdrhdo_test printf-2.7.7.3 {
2840a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -0.00543
2841a2647caeSdrh} {abc: (-0.00543) :xyz}
2842a2647caeSdrhdo_test printf-2.7.7.4 {
2843a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -0.00543
2844a2647caeSdrh} {abc: 3 3 (-0.00543) :xyz}
2845a2647caeSdrhdo_test printf-2.7.7.5 {
2846a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -0.00543
2847a2647caeSdrh} {abc: 3 3 (-0.00543000) :xyz}
2848a2647caeSdrhdo_test printf-2.7.7.6 {
2849a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -0.00543
2850a2647caeSdrh} {abc: 3 3 (-000.00543) :xyz}
2851a2647caeSdrhdo_test printf-2.7.7.7 {
2852a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -0.00543
2853a2647caeSdrh} {abc: 3 3 (-0.005) :xyz}
2854a2647caeSdrhdo_test printf-2.7.7.8 {
2855a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -0.00543
2856a2647caeSdrh} {abc: 3 3 (-5.430e-03) :xyz}
2857a2647caeSdrhdo_test printf-2.7.7.9 {
2858a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -0.00543
2859a2647caeSdrh} {abc: 3 3 (-0.00543) :xyz}
2860a2647caeSdrhdo_test printf-2.7.8.1 {
2861a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -1.0
2862a2647caeSdrh} {abc: (-1.000) :xyz}
2863a2647caeSdrhdo_test printf-2.7.8.2 {
2864a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -1.0
2865a2647caeSdrh} {abc: (-1.000e+00) :xyz}
2866a2647caeSdrhdo_test printf-2.7.8.3 {
2867a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -1.0
2868a2647caeSdrh} {abc: ( -1) :xyz}
2869a2647caeSdrhdo_test printf-2.7.8.4 {
2870a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -1.0
2871a2647caeSdrh} {abc: 3 3 (-1) :xyz}
2872a2647caeSdrhdo_test printf-2.7.8.5 {
2873a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -1.0
2874a2647caeSdrh} {abc: 3 3 (-1.00000) :xyz}
2875a2647caeSdrhdo_test printf-2.7.8.6 {
2876a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -1.0
2877a2647caeSdrh} {abc: 3 3 (-000000001) :xyz}
2878a2647caeSdrhdo_test printf-2.7.8.7 {
2879a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -1.0
2880a2647caeSdrh} {abc: 3 3 (-1.000) :xyz}
2881a2647caeSdrhdo_test printf-2.7.8.8 {
2882a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -1.0
2883a2647caeSdrh} {abc: 3 3 (-1.000e+00) :xyz}
2884a2647caeSdrhdo_test printf-2.7.8.9 {
2885a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -1.0
2886a2647caeSdrh} {abc: 3 3 ( -1) :xyz}
2887a2647caeSdrhdo_test printf-2.7.9.1 {
2888a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -99.99999
2889a2647caeSdrh} {abc: (-100.000) :xyz}
2890a2647caeSdrhdo_test printf-2.7.9.2 {
2891a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -99.99999
2892a2647caeSdrh} {abc: (-1.000e+02) :xyz}
2893a2647caeSdrhdo_test printf-2.7.9.3 {
2894a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -99.99999
2895a2647caeSdrh} {abc: (-100) :xyz}
2896a2647caeSdrhdo_test printf-2.7.9.4 {
2897a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -99.99999
2898a2647caeSdrh} {abc: 3 3 (-100) :xyz}
2899a2647caeSdrhdo_test printf-2.7.9.5 {
2900a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -99.99999
2901a2647caeSdrh} {abc: 3 3 (-100.000) :xyz}
2902a2647caeSdrhdo_test printf-2.7.9.6 {
2903a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -99.99999
2904a2647caeSdrh} {abc: 3 3 (-000000100) :xyz}
2905a2647caeSdrhdo_test printf-2.7.9.7 {
2906a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -99.99999
2907a2647caeSdrh} {abc: 3 3 (-100.000) :xyz}
2908a2647caeSdrhdo_test printf-2.7.9.8 {
2909a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -99.99999
2910a2647caeSdrh} {abc: 3 3 (-1.000e+02) :xyz}
2911a2647caeSdrhdo_test printf-2.7.9.9 {
2912a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -99.99999
2913a2647caeSdrh} {abc: 3 3 (-100) :xyz}
2914a2647caeSdrhdo_test printf-2.7.10.1 {
2915a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 3.14e+9
2916a2647caeSdrh} {abc: (3140000000.000) :xyz}
2917a2647caeSdrhdo_test printf-2.7.10.2 {
2918a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 3.14e+9
2919a2647caeSdrh} {abc: (3.140e+09) :xyz}
2920a2647caeSdrhdo_test printf-2.7.10.3 {
2921a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 3.14e+9
2922a2647caeSdrh} {abc: (3.14e+09) :xyz}
2923a2647caeSdrhdo_test printf-2.7.10.4 {
2924a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 3.14e+9
2925a2647caeSdrh} {abc: 3 3 (3.14e+09) :xyz}
2926a2647caeSdrhdo_test printf-2.7.10.5 {
2927a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 3.14e+9
2928a2647caeSdrh} {abc: 3 3 (3.14000e+09) :xyz}
2929a2647caeSdrhdo_test printf-2.7.10.6 {
2930a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 3.14e+9
2931a2647caeSdrh} {abc: 3 3 (003.14e+09) :xyz}
2932a2647caeSdrhdo_test printf-2.7.10.7 {
2933a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 3.14e+9
2934a2647caeSdrh} {abc: 3 3 (3140000000.000) :xyz}
2935a2647caeSdrhdo_test printf-2.7.10.8 {
2936a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 3.14e+9
2937a2647caeSdrh} {abc: 3 3 (3.140e+09) :xyz}
2938a2647caeSdrhdo_test printf-2.7.10.9 {
2939a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 3.14e+9
2940a2647caeSdrh} {abc: 3 3 (3.14e+09) :xyz}
2941a2647caeSdrhdo_test printf-2.7.11.2 {
2942a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -4.72732e+88
2943a2647caeSdrh} {abc: (-4.727e+88) :xyz}
2944a2647caeSdrhdo_test printf-2.7.11.3 {
2945a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -4.72732e+88
2946a2647caeSdrh} {abc: (-4.73e+88) :xyz}
2947a2647caeSdrhdo_test printf-2.7.11.4 {
2948a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -4.72732e+88
2949a2647caeSdrh} {abc: 3 3 (-4.72732e+88) :xyz}
2950a2647caeSdrhdo_test printf-2.7.11.5 {
2951a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -4.72732e+88
2952a2647caeSdrh} {abc: 3 3 (-4.72732e+88) :xyz}
2953a2647caeSdrhdo_test printf-2.7.11.6 {
2954a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -4.72732e+88
2955a2647caeSdrh} {abc: 3 3 (-4.72732e+88) :xyz}
2956a2647caeSdrhdo_test printf-2.7.11.8 {
2957a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -4.72732e+88
2958a2647caeSdrh} {abc: 3 3 (-4.727e+88) :xyz}
2959a2647caeSdrhdo_test printf-2.7.11.9 {
2960a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -4.72732e+88
2961a2647caeSdrh} {abc: 3 3 (-4.73e+88) :xyz}
2962a2647caeSdrhdo_test printf-2.7.12.2 {
2963a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 9.87991e+143
2964a2647caeSdrh} {abc: (9.880e+143) :xyz}
2965a2647caeSdrhdo_test printf-2.7.12.3 {
2966a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 9.87991e+143
2967a2647caeSdrh} {abc: (9.88e+143) :xyz}
2968a2647caeSdrhdo_test printf-2.7.12.4 {
2969a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 9.87991e+143
2970a2647caeSdrh} {abc: 3 3 (9.87991e+143) :xyz}
2971a2647caeSdrhdo_test printf-2.7.12.5 {
2972a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 9.87991e+143
2973a2647caeSdrh} {abc: 3 3 (9.87991e+143) :xyz}
2974a2647caeSdrhdo_test printf-2.7.12.6 {
2975a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 9.87991e+143
2976a2647caeSdrh} {abc: 3 3 (9.87991e+143) :xyz}
2977a2647caeSdrhdo_test printf-2.7.12.8 {
2978a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 9.87991e+143
2979a2647caeSdrh} {abc: 3 3 (9.880e+143) :xyz}
2980a2647caeSdrhdo_test printf-2.7.12.9 {
2981a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 9.87991e+143
2982a2647caeSdrh} {abc: 3 3 (9.88e+143) :xyz}
2983a2647caeSdrhdo_test printf-2.7.13.1 {
2984a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -6.287291e-9
2985a2647caeSdrh} {abc: (-0.000) :xyz}
2986a2647caeSdrhdo_test printf-2.7.13.2 {
2987a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -6.287291e-9
2988a2647caeSdrh} {abc: (-6.287e-09) :xyz}
2989a2647caeSdrhdo_test printf-2.7.13.3 {
2990a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -6.287291e-9
2991a2647caeSdrh} {abc: (-6.29e-09) :xyz}
2992a2647caeSdrhdo_test printf-2.7.13.4 {
2993a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -6.287291e-9
2994a2647caeSdrh} {abc: 3 3 (-6.28729e-09) :xyz}
2995a2647caeSdrhdo_test printf-2.7.13.5 {
2996a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -6.287291e-9
2997a2647caeSdrh} {abc: 3 3 (-6.28729e-09) :xyz}
2998a2647caeSdrhdo_test printf-2.7.13.6 {
2999a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -6.287291e-9
3000a2647caeSdrh} {abc: 3 3 (-6.28729e-09) :xyz}
3001a2647caeSdrhdo_test printf-2.7.13.7 {
3002a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -6.287291e-9
3003a2647caeSdrh} {abc: 3 3 (-0.000) :xyz}
3004a2647caeSdrhdo_test printf-2.7.13.8 {
3005a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -6.287291e-9
3006a2647caeSdrh} {abc: 3 3 (-6.287e-09) :xyz}
3007a2647caeSdrhdo_test printf-2.7.13.9 {
3008a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -6.287291e-9
3009a2647caeSdrh} {abc: 3 3 (-6.29e-09) :xyz}
3010a2647caeSdrhdo_test printf-2.7.14.1 {
3011a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 3.38826392e-110
3012a2647caeSdrh} {abc: (0.000) :xyz}
3013a2647caeSdrhdo_test printf-2.7.14.2 {
3014a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 3.38826392e-110
3015a2647caeSdrh} {abc: (3.388e-110) :xyz}
3016a2647caeSdrhdo_test printf-2.7.14.3 {
3017a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 3.38826392e-110
3018a2647caeSdrh} {abc: (3.39e-110) :xyz}
3019a2647caeSdrhdo_test printf-2.7.14.4 {
3020a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 3.38826392e-110
3021a2647caeSdrh} {abc: 3 3 (3.38826e-110) :xyz}
3022a2647caeSdrhdo_test printf-2.7.14.5 {
3023a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 3.38826392e-110
3024a2647caeSdrh} {abc: 3 3 (3.38826e-110) :xyz}
3025a2647caeSdrhdo_test printf-2.7.14.6 {
3026a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 3.38826392e-110
3027a2647caeSdrh} {abc: 3 3 (3.38826e-110) :xyz}
3028a2647caeSdrhdo_test printf-2.7.14.7 {
3029a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 3.38826392e-110
3030a2647caeSdrh} {abc: 3 3 (0.000) :xyz}
3031a2647caeSdrhdo_test printf-2.7.14.8 {
3032a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 3.38826392e-110
3033a2647caeSdrh} {abc: 3 3 (3.388e-110) :xyz}
3034a2647caeSdrhdo_test printf-2.7.14.9 {
3035a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 3.38826392e-110
3036a2647caeSdrh} {abc: 3 3 (3.39e-110) :xyz}
3037a2647caeSdrhdo_test printf-2.8.1.1 {
3038a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 0.001
3039a2647caeSdrh} {abc: (0.00) :xyz}
3040a2647caeSdrhdo_test printf-2.8.1.2 {
3041a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 0.001
3042a2647caeSdrh} {abc: (1.00e-03) :xyz}
3043a2647caeSdrhdo_test printf-2.8.1.3 {
3044a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 0.001
3045a2647caeSdrh} {abc: (0.001) :xyz}
3046a2647caeSdrhdo_test printf-2.8.1.4 {
3047a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 0.001
3048a2647caeSdrh} {abc: 3 2 (0.001) :xyz}
3049a2647caeSdrhdo_test printf-2.8.1.5 {
3050a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 0.001
3051a2647caeSdrh} {abc: 3 2 (0.00100000) :xyz}
3052a2647caeSdrhdo_test printf-2.8.1.6 {
3053a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 0.001
3054a2647caeSdrh} {abc: 3 2 (000000.001) :xyz}
3055a2647caeSdrhdo_test printf-2.8.1.7 {
3056a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 0.001
3057a2647caeSdrh} {abc: 3 2 (0.00) :xyz}
3058a2647caeSdrhdo_test printf-2.8.1.8 {
3059a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 0.001
3060a2647caeSdrh} {abc: 3 2 (1.00e-03) :xyz}
3061a2647caeSdrhdo_test printf-2.8.1.9 {
3062a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 0.001
3063a2647caeSdrh} {abc: 3 2 (0.001) :xyz}
3064a2647caeSdrhdo_test printf-2.8.2.1 {
3065a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 1.0e-20
3066a2647caeSdrh} {abc: (0.00) :xyz}
3067a2647caeSdrhdo_test printf-2.8.2.2 {
3068a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 1.0e-20
3069a2647caeSdrh} {abc: (1.00e-20) :xyz}
3070a2647caeSdrhdo_test printf-2.8.2.3 {
3071a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 1.0e-20
3072a2647caeSdrh} {abc: (1e-20) :xyz}
3073a2647caeSdrhdo_test printf-2.8.2.4 {
3074a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 1.0e-20
3075a2647caeSdrh} {abc: 3 2 (1e-20) :xyz}
3076a2647caeSdrhdo_test printf-2.8.2.5 {
3077a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 1.0e-20
3078a2647caeSdrh} {abc: 3 2 (1.00000e-20) :xyz}
3079a2647caeSdrhdo_test printf-2.8.2.6 {
3080a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 1.0e-20
3081a2647caeSdrh} {abc: 3 2 (000001e-20) :xyz}
3082a2647caeSdrhdo_test printf-2.8.2.7 {
3083a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 1.0e-20
3084a2647caeSdrh} {abc: 3 2 (0.00) :xyz}
3085a2647caeSdrhdo_test printf-2.8.2.8 {
3086a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 1.0e-20
3087a2647caeSdrh} {abc: 3 2 (1.00e-20) :xyz}
3088a2647caeSdrhdo_test printf-2.8.2.9 {
3089a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 1.0e-20
3090a2647caeSdrh} {abc: 3 2 (1e-20) :xyz}
3091a2647caeSdrhdo_test printf-2.8.3.1 {
3092a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 1.0
3093a2647caeSdrh} {abc: (1.00) :xyz}
3094a2647caeSdrhdo_test printf-2.8.3.2 {
3095a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 1.0
3096a2647caeSdrh} {abc: (1.00e+00) :xyz}
3097a2647caeSdrhdo_test printf-2.8.3.3 {
3098a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 1.0
3099a2647caeSdrh} {abc: (  1) :xyz}
3100a2647caeSdrhdo_test printf-2.8.3.4 {
3101a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 1.0
3102a2647caeSdrh} {abc: 3 2 (1) :xyz}
3103a2647caeSdrhdo_test printf-2.8.3.5 {
3104a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 1.0
3105a2647caeSdrh} {abc: 3 2 (1.00000) :xyz}
3106a2647caeSdrhdo_test printf-2.8.3.6 {
3107a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 1.0
3108a2647caeSdrh} {abc: 3 2 (0000000001) :xyz}
3109a2647caeSdrhdo_test printf-2.8.3.7 {
3110a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 1.0
3111a2647caeSdrh} {abc: 3 2 (1.00) :xyz}
3112a2647caeSdrhdo_test printf-2.8.3.8 {
3113a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 1.0
3114a2647caeSdrh} {abc: 3 2 (1.00e+00) :xyz}
3115a2647caeSdrhdo_test printf-2.8.3.9 {
3116a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 1.0
3117a2647caeSdrh} {abc: 3 2 (  1) :xyz}
3118a2647caeSdrhdo_test printf-2.8.4.1 {
3119a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 0.0
3120a2647caeSdrh} {abc: (0.00) :xyz}
3121a2647caeSdrhdo_test printf-2.8.4.2 {
3122a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 0.0
3123a2647caeSdrh} {abc: (0.00e+00) :xyz}
3124a2647caeSdrhdo_test printf-2.8.4.3 {
3125a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 0.0
3126a2647caeSdrh} {abc: (  0) :xyz}
3127a2647caeSdrhdo_test printf-2.8.4.4 {
3128a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 0.0
3129a2647caeSdrh} {abc: 3 2 (0) :xyz}
3130a2647caeSdrhdo_test printf-2.8.4.5 {
3131a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 0.0
3132a2647caeSdrh} {abc: 3 2 (0.00000) :xyz}
3133a2647caeSdrhdo_test printf-2.8.4.6 {
3134a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 0.0
3135a2647caeSdrh} {abc: 3 2 (0000000000) :xyz}
3136a2647caeSdrhdo_test printf-2.8.4.7 {
3137a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 0.0
3138a2647caeSdrh} {abc: 3 2 (0.00) :xyz}
3139a2647caeSdrhdo_test printf-2.8.4.8 {
3140a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 0.0
3141a2647caeSdrh} {abc: 3 2 (0.00e+00) :xyz}
3142a2647caeSdrhdo_test printf-2.8.4.9 {
3143a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 0.0
3144a2647caeSdrh} {abc: 3 2 (  0) :xyz}
3145a2647caeSdrhdo_test printf-2.8.5.1 {
3146a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 100.0
3147a2647caeSdrh} {abc: (100.00) :xyz}
3148a2647caeSdrhdo_test printf-2.8.5.2 {
3149a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 100.0
3150a2647caeSdrh} {abc: (1.00e+02) :xyz}
3151a2647caeSdrhdo_test printf-2.8.5.3 {
3152a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 100.0
3153a2647caeSdrh} {abc: (1e+02) :xyz}
3154a2647caeSdrhdo_test printf-2.8.5.4 {
3155a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 100.0
3156a2647caeSdrh} {abc: 3 2 (100) :xyz}
3157a2647caeSdrhdo_test printf-2.8.5.5 {
3158a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 100.0
3159a2647caeSdrh} {abc: 3 2 (100.000) :xyz}
3160a2647caeSdrhdo_test printf-2.8.5.6 {
3161a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 100.0
3162a2647caeSdrh} {abc: 3 2 (0000000100) :xyz}
3163a2647caeSdrhdo_test printf-2.8.5.7 {
3164a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 100.0
3165a2647caeSdrh} {abc: 3 2 (100.00) :xyz}
3166a2647caeSdrhdo_test printf-2.8.5.8 {
3167a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 100.0
3168a2647caeSdrh} {abc: 3 2 (1.00e+02) :xyz}
3169a2647caeSdrhdo_test printf-2.8.5.9 {
3170a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 100.0
3171a2647caeSdrh} {abc: 3 2 (1e+02) :xyz}
3172a2647caeSdrhdo_test printf-2.8.6.1 {
3173a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 9.99999
3174a2647caeSdrh} {abc: (10.00) :xyz}
3175a2647caeSdrhdo_test printf-2.8.6.2 {
3176a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 9.99999
3177a2647caeSdrh} {abc: (1.00e+01) :xyz}
3178a2647caeSdrhdo_test printf-2.8.6.3 {
3179a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 9.99999
3180a2647caeSdrh} {abc: ( 10) :xyz}
3181a2647caeSdrhdo_test printf-2.8.6.4 {
3182a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 9.99999
3183a2647caeSdrh} {abc: 3 2 (9.99999) :xyz}
3184a2647caeSdrhdo_test printf-2.8.6.5 {
3185a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 9.99999
3186a2647caeSdrh} {abc: 3 2 (9.99999) :xyz}
3187a2647caeSdrhdo_test printf-2.8.6.6 {
3188a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 9.99999
3189a2647caeSdrh} {abc: 3 2 (0009.99999) :xyz}
3190a2647caeSdrhdo_test printf-2.8.6.7 {
3191a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 9.99999
3192a2647caeSdrh} {abc: 3 2 (10.00) :xyz}
3193a2647caeSdrhdo_test printf-2.8.6.8 {
3194a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 9.99999
3195a2647caeSdrh} {abc: 3 2 (1.00e+01) :xyz}
3196a2647caeSdrhdo_test printf-2.8.6.9 {
3197a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 9.99999
3198a2647caeSdrh} {abc: 3 2 ( 10) :xyz}
3199a2647caeSdrhdo_test printf-2.8.7.1 {
3200a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -0.00543
3201a2647caeSdrh} {abc: (-0.01) :xyz}
3202a2647caeSdrhdo_test printf-2.8.7.2 {
3203a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -0.00543
3204a2647caeSdrh} {abc: (-5.43e-03) :xyz}
3205a2647caeSdrhdo_test printf-2.8.7.3 {
3206a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -0.00543
3207a2647caeSdrh} {abc: (-0.0054) :xyz}
3208a2647caeSdrhdo_test printf-2.8.7.4 {
3209a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -0.00543
3210a2647caeSdrh} {abc: 3 2 (-0.00543) :xyz}
3211a2647caeSdrhdo_test printf-2.8.7.5 {
3212a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -0.00543
3213a2647caeSdrh} {abc: 3 2 (-0.00543000) :xyz}
3214a2647caeSdrhdo_test printf-2.8.7.6 {
3215a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -0.00543
3216a2647caeSdrh} {abc: 3 2 (-000.00543) :xyz}
3217a2647caeSdrhdo_test printf-2.8.7.7 {
3218a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -0.00543
3219a2647caeSdrh} {abc: 3 2 (-0.01) :xyz}
3220a2647caeSdrhdo_test printf-2.8.7.8 {
3221a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -0.00543
3222a2647caeSdrh} {abc: 3 2 (-5.43e-03) :xyz}
3223a2647caeSdrhdo_test printf-2.8.7.9 {
3224a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -0.00543
3225a2647caeSdrh} {abc: 3 2 (-0.0054) :xyz}
3226a2647caeSdrhdo_test printf-2.8.8.1 {
3227a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -1.0
3228a2647caeSdrh} {abc: (-1.00) :xyz}
3229a2647caeSdrhdo_test printf-2.8.8.2 {
3230a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -1.0
3231a2647caeSdrh} {abc: (-1.00e+00) :xyz}
3232a2647caeSdrhdo_test printf-2.8.8.3 {
3233a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -1.0
3234a2647caeSdrh} {abc: ( -1) :xyz}
3235a2647caeSdrhdo_test printf-2.8.8.4 {
3236a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -1.0
3237a2647caeSdrh} {abc: 3 2 (-1) :xyz}
3238a2647caeSdrhdo_test printf-2.8.8.5 {
3239a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -1.0
3240a2647caeSdrh} {abc: 3 2 (-1.00000) :xyz}
3241a2647caeSdrhdo_test printf-2.8.8.6 {
3242a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -1.0
3243a2647caeSdrh} {abc: 3 2 (-000000001) :xyz}
3244a2647caeSdrhdo_test printf-2.8.8.7 {
3245a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -1.0
3246a2647caeSdrh} {abc: 3 2 (-1.00) :xyz}
3247a2647caeSdrhdo_test printf-2.8.8.8 {
3248a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -1.0
3249a2647caeSdrh} {abc: 3 2 (-1.00e+00) :xyz}
3250a2647caeSdrhdo_test printf-2.8.8.9 {
3251a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -1.0
3252a2647caeSdrh} {abc: 3 2 ( -1) :xyz}
3253a2647caeSdrhdo_test printf-2.8.9.1 {
3254a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -99.99999
3255a2647caeSdrh} {abc: (-100.00) :xyz}
3256a2647caeSdrhdo_test printf-2.8.9.2 {
3257a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -99.99999
3258a2647caeSdrh} {abc: (-1.00e+02) :xyz}
3259a2647caeSdrhdo_test printf-2.8.9.3 {
3260a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -99.99999
3261a2647caeSdrh} {abc: (-1e+02) :xyz}
3262a2647caeSdrhdo_test printf-2.8.9.4 {
3263a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -99.99999
3264a2647caeSdrh} {abc: 3 2 (-100) :xyz}
3265a2647caeSdrhdo_test printf-2.8.9.5 {
3266a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -99.99999
3267a2647caeSdrh} {abc: 3 2 (-100.000) :xyz}
3268a2647caeSdrhdo_test printf-2.8.9.6 {
3269a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -99.99999
3270a2647caeSdrh} {abc: 3 2 (-000000100) :xyz}
3271a2647caeSdrhdo_test printf-2.8.9.7 {
3272a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -99.99999
3273a2647caeSdrh} {abc: 3 2 (-100.00) :xyz}
3274a2647caeSdrhdo_test printf-2.8.9.8 {
3275a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -99.99999
3276a2647caeSdrh} {abc: 3 2 (-1.00e+02) :xyz}
3277a2647caeSdrhdo_test printf-2.8.9.9 {
3278a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -99.99999
3279a2647caeSdrh} {abc: 3 2 (-1e+02) :xyz}
3280a2647caeSdrhdo_test printf-2.8.10.1 {
3281a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 3.14e+9
3282a2647caeSdrh} {abc: (3140000000.00) :xyz}
3283a2647caeSdrhdo_test printf-2.8.10.2 {
3284a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 3.14e+9
3285a2647caeSdrh} {abc: (3.14e+09) :xyz}
3286a2647caeSdrhdo_test printf-2.8.10.3 {
3287a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 3.14e+9
3288a2647caeSdrh} {abc: (3.1e+09) :xyz}
3289a2647caeSdrhdo_test printf-2.8.10.4 {
3290a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 3.14e+9
3291a2647caeSdrh} {abc: 3 2 (3.14e+09) :xyz}
3292a2647caeSdrhdo_test printf-2.8.10.5 {
3293a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 3.14e+9
3294a2647caeSdrh} {abc: 3 2 (3.14000e+09) :xyz}
3295a2647caeSdrhdo_test printf-2.8.10.6 {
3296a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 3.14e+9
3297a2647caeSdrh} {abc: 3 2 (003.14e+09) :xyz}
3298a2647caeSdrhdo_test printf-2.8.10.7 {
3299a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 3.14e+9
3300a2647caeSdrh} {abc: 3 2 (3140000000.00) :xyz}
3301a2647caeSdrhdo_test printf-2.8.10.8 {
3302a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 3.14e+9
3303a2647caeSdrh} {abc: 3 2 (3.14e+09) :xyz}
3304a2647caeSdrhdo_test printf-2.8.10.9 {
3305a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 3.14e+9
3306a2647caeSdrh} {abc: 3 2 (3.1e+09) :xyz}
3307a2647caeSdrhdo_test printf-2.8.11.2 {
3308a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -4.72732e+88
3309a2647caeSdrh} {abc: (-4.73e+88) :xyz}
3310a2647caeSdrhdo_test printf-2.8.11.3 {
3311a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -4.72732e+88
3312a2647caeSdrh} {abc: (-4.7e+88) :xyz}
3313a2647caeSdrhdo_test printf-2.8.11.4 {
3314a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -4.72732e+88
3315a2647caeSdrh} {abc: 3 2 (-4.72732e+88) :xyz}
3316a2647caeSdrhdo_test printf-2.8.11.5 {
3317a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -4.72732e+88
3318a2647caeSdrh} {abc: 3 2 (-4.72732e+88) :xyz}
3319a2647caeSdrhdo_test printf-2.8.11.6 {
3320a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -4.72732e+88
3321a2647caeSdrh} {abc: 3 2 (-4.72732e+88) :xyz}
3322a2647caeSdrhdo_test printf-2.8.11.8 {
3323a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -4.72732e+88
3324a2647caeSdrh} {abc: 3 2 (-4.73e+88) :xyz}
3325a2647caeSdrhdo_test printf-2.8.11.9 {
3326a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -4.72732e+88
3327a2647caeSdrh} {abc: 3 2 (-4.7e+88) :xyz}
3328a2647caeSdrhdo_test printf-2.8.12.2 {
3329a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 9.87991e+143
3330a2647caeSdrh} {abc: (9.88e+143) :xyz}
3331a2647caeSdrhdo_test printf-2.8.12.3 {
3332a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 9.87991e+143
3333a2647caeSdrh} {abc: (9.9e+143) :xyz}
3334a2647caeSdrhdo_test printf-2.8.12.4 {
3335a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 9.87991e+143
3336a2647caeSdrh} {abc: 3 2 (9.87991e+143) :xyz}
3337a2647caeSdrhdo_test printf-2.8.12.5 {
3338a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 9.87991e+143
3339a2647caeSdrh} {abc: 3 2 (9.87991e+143) :xyz}
3340a2647caeSdrhdo_test printf-2.8.12.6 {
3341a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 9.87991e+143
3342a2647caeSdrh} {abc: 3 2 (9.87991e+143) :xyz}
3343a2647caeSdrhdo_test printf-2.8.12.8 {
3344a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 9.87991e+143
3345a2647caeSdrh} {abc: 3 2 (9.88e+143) :xyz}
3346a2647caeSdrhdo_test printf-2.8.12.9 {
3347a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 9.87991e+143
3348a2647caeSdrh} {abc: 3 2 (9.9e+143) :xyz}
3349a2647caeSdrhdo_test printf-2.8.13.1 {
3350a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -6.287291e-9
3351a2647caeSdrh} {abc: (-0.00) :xyz}
3352a2647caeSdrhdo_test printf-2.8.13.2 {
3353a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -6.287291e-9
3354a2647caeSdrh} {abc: (-6.29e-09) :xyz}
3355a2647caeSdrhdo_test printf-2.8.13.3 {
3356a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -6.287291e-9
3357a2647caeSdrh} {abc: (-6.3e-09) :xyz}
3358a2647caeSdrhdo_test printf-2.8.13.4 {
3359a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -6.287291e-9
3360a2647caeSdrh} {abc: 3 2 (-6.28729e-09) :xyz}
3361a2647caeSdrhdo_test printf-2.8.13.5 {
3362a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -6.287291e-9
3363a2647caeSdrh} {abc: 3 2 (-6.28729e-09) :xyz}
3364a2647caeSdrhdo_test printf-2.8.13.6 {
3365a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -6.287291e-9
3366a2647caeSdrh} {abc: 3 2 (-6.28729e-09) :xyz}
3367a2647caeSdrhdo_test printf-2.8.13.7 {
3368a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -6.287291e-9
3369a2647caeSdrh} {abc: 3 2 (-0.00) :xyz}
3370a2647caeSdrhdo_test printf-2.8.13.8 {
3371a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -6.287291e-9
3372a2647caeSdrh} {abc: 3 2 (-6.29e-09) :xyz}
3373a2647caeSdrhdo_test printf-2.8.13.9 {
3374a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -6.287291e-9
3375a2647caeSdrh} {abc: 3 2 (-6.3e-09) :xyz}
3376a2647caeSdrhdo_test printf-2.8.14.1 {
3377a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 3.38826392e-110
3378a2647caeSdrh} {abc: (0.00) :xyz}
3379a2647caeSdrhdo_test printf-2.8.14.2 {
3380a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 3.38826392e-110
3381a2647caeSdrh} {abc: (3.39e-110) :xyz}
3382a2647caeSdrhdo_test printf-2.8.14.3 {
3383a2647caeSdrh  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 3.38826392e-110
3384a2647caeSdrh} {abc: (3.4e-110) :xyz}
3385a2647caeSdrhdo_test printf-2.8.14.4 {
3386a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 3.38826392e-110
3387a2647caeSdrh} {abc: 3 2 (3.38826e-110) :xyz}
3388a2647caeSdrhdo_test printf-2.8.14.5 {
3389a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 3.38826392e-110
3390a2647caeSdrh} {abc: 3 2 (3.38826e-110) :xyz}
3391a2647caeSdrhdo_test printf-2.8.14.6 {
3392a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 3.38826392e-110
3393a2647caeSdrh} {abc: 3 2 (3.38826e-110) :xyz}
3394a2647caeSdrhdo_test printf-2.8.14.7 {
3395a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 3.38826392e-110
3396a2647caeSdrh} {abc: 3 2 (0.00) :xyz}
3397a2647caeSdrhdo_test printf-2.8.14.8 {
3398a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 3.38826392e-110
3399a2647caeSdrh} {abc: 3 2 (3.39e-110) :xyz}
3400a2647caeSdrhdo_test printf-2.8.14.9 {
3401a2647caeSdrh  sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 3.38826392e-110
3402a2647caeSdrh} {abc: 3 2 (3.4e-110) :xyz}
3403*af005fbcSdrhdo_test printf-2.8.15.1 {
3404*af005fbcSdrh  sqlite3_mprintf_double {abc: (% *.*f) :xyz} 3 2 3.38826392e-110
3405*af005fbcSdrh} {abc: ( 0.00) :xyz}
3406*af005fbcSdrhdo_test printf-2.8.15.2 {
3407*af005fbcSdrh  sqlite3_mprintf_double {abc: (% *.*e) :xyz} 3 2 3.38826392e-110
3408*af005fbcSdrh} {abc: ( 3.39e-110) :xyz}
3409*af005fbcSdrhdo_test printf-2.8.15.3 {
3410*af005fbcSdrh  sqlite3_mprintf_double {abc: (% *.*g) :xyz} 3 2 3.38826392e-110
3411*af005fbcSdrh} {abc: ( 3.4e-110) :xyz}
3412*af005fbcSdrhdo_test printf-2.8.15.4 {
3413*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (% g) :xyz} 3 2 3.38826392e-110
3414*af005fbcSdrh} {abc: 3 2 ( 3.38826e-110) :xyz}
3415*af005fbcSdrhdo_test printf-2.8.15.5 {
3416*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (% #g) :xyz} 3 2 3.38826392e-110
3417*af005fbcSdrh} {abc: 3 2 ( 3.38826e-110) :xyz}
3418*af005fbcSdrhdo_test printf-2.8.15.6 {
3419*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%0 10g) :xyz} 3 2 3.38826392e-110
3420*af005fbcSdrh} {abc: 3 2 ( 3.38826e-110) :xyz}
3421*af005fbcSdrhdo_test printf-2.8.15.7 {
3422*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (% 3.2f) :xyz} 3 2 3.38826392e-110
3423*af005fbcSdrh} {abc: 3 2 ( 0.00) :xyz}
3424*af005fbcSdrhdo_test printf-2.8.15.8 {
3425*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (% 3.2e) :xyz} 3 2 3.38826392e-110
3426*af005fbcSdrh} {abc: 3 2 ( 3.39e-110) :xyz}
3427*af005fbcSdrhdo_test printf-2.8.15.9 {
3428*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (% 3.2g) :xyz} 3 2 3.38826392e-110
3429*af005fbcSdrh} {abc: 3 2 ( 3.4e-110) :xyz}
3430254cba24Sdrh
3431*af005fbcSdrhdo_test printf-2.9.1 {
3432*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%5.0g) :xyz} 0 0 1.234
3433*af005fbcSdrh} {abc: 0 0 (    1) :xyz}
3434*af005fbcSdrhdo_test printf-2.9.2 {
3435*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%+5.0g) :xyz} 0 0 1.234
3436*af005fbcSdrh} {abc: 0 0 (   +1) :xyz}
3437*af005fbcSdrhdo_test printf-2.9.3 {
3438*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%+-5.0g) :xyz} 0 0 1.234
3439*af005fbcSdrh} {abc: 0 0 (+1   ) :xyz}
3440*af005fbcSdrh
3441*af005fbcSdrhdo_test printf-2.10.1 {
3442*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%-010.5f) :xyz} 0 0 1.234
3443*af005fbcSdrh} {abc: 0 0 (1.23400   ) :xyz}
3444*af005fbcSdrhdo_test printf-2.10.2 {
3445*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%010.5f) :xyz} 0 0 1.234
3446*af005fbcSdrh} {abc: 0 0 (0001.23400) :xyz}
3447*af005fbcSdrhdo_test printf-2.10.3 {
3448*af005fbcSdrh  sqlite3_mprintf_double {abc: %d %d (%+010.5f) :xyz} 0 0 1.234
3449*af005fbcSdrh} {abc: 0 0 (+001.23400) :xyz}
3450254cba24Sdrh
3451d1bf3512Sdrhdo_test printf-3.1 {
34522dd59365Sdanielk1977  sqlite3_mprintf_str {A String: (%*.*s)} 10 10 {This is the string}
3453d1bf3512Sdrh} [format {A String: (%*.*s)} 10 10 {This is the string}]
3454d1bf3512Sdrhdo_test printf-3.2 {
34552dd59365Sdanielk1977  sqlite3_mprintf_str {A String: (%*.*s)} 10 5 {This is the string}
3456d1bf3512Sdrh} [format {A String: (%*.*s)} 10 5 {This is the string}]
3457d1bf3512Sdrhdo_test printf-3.3 {
34582dd59365Sdanielk1977  sqlite3_mprintf_str {A String: (%*.*s)} -10 5 {This is the string}
3459d1bf3512Sdrh} [format {A String: (%*.*s)} -10 5 {This is the string}]
3460d1bf3512Sdrhdo_test printf-3.4 {
34612dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A String: (%s)} 1 2 {This is the string}
3462d1bf3512Sdrh} [format {%d %d A String: (%s)} 1 2 {This is the string}]
3463d1bf3512Sdrhdo_test printf-3.5 {
34642dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A String: (%30s)} 1 2 {This is the string}
3465d1bf3512Sdrh} [format {%d %d A String: (%30s)} 1 2 {This is the string}]
3466d1bf3512Sdrhdo_test printf-3.6 {
34672dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A String: (%-30s)} 1 2 {This is the string}
3468d1bf3512Sdrh} [format {%d %d A String: (%-30s)} 1 2 {This is the string}]
3469b3738b6cSdrhdo_test snprintf-3.11 {
3470b3738b6cSdrh  sqlite3_snprintf_str 2 {x%d %d %s} 10 10 {This is the string}
3471b3738b6cSdrh} {x}
3472b3738b6cSdrhdo_test snprintf-3.12 {
3473b3738b6cSdrh  sqlite3_snprintf_str 3 {x%d %d %s} 10 10 {This is the string}
3474b3738b6cSdrh} {x1}
3475b3738b6cSdrhdo_test snprintf-3.13 {
3476b3738b6cSdrh  sqlite3_snprintf_str 4 {x%d %d %s} 10 10 {This is the string}
3477b3738b6cSdrh} {x10}
3478b3738b6cSdrhdo_test snprintf-3.14 {
3479b3738b6cSdrh  sqlite3_snprintf_str 5 {x%d %d %s} 10 10 {This is the string}
3480b3738b6cSdrh} {x10 }
3481b3738b6cSdrhdo_test snprintf-3.15 {
3482b3738b6cSdrh  sqlite3_snprintf_str 6 {x%d %d %s} 10 10 {This is the string}
3483b3738b6cSdrh} {x10 1}
3484b3738b6cSdrhdo_test snprintf-3.16 {
3485b3738b6cSdrh  sqlite3_snprintf_str 7 {x%d %d %s} 10 10 {This is the string}
3486b3738b6cSdrh} {x10 10}
3487b3738b6cSdrhdo_test snprintf-3.17 {
3488b3738b6cSdrh  sqlite3_snprintf_str 8 {x%d %d %s} 10 10 {This is the string}
3489b3738b6cSdrh} {x10 10 }
3490b3738b6cSdrhdo_test snprintf-3.18 {
3491b3738b6cSdrh  sqlite3_snprintf_str 9 {x%d %d %s} 10 10 {This is the string}
3492b3738b6cSdrh} {x10 10 T}
3493b3738b6cSdrhdo_test snprintf-3.19 {
3494b3738b6cSdrh  sqlite3_snprintf_str 100 {x%d %d %s} 10 10 {This is the string}
3495b3738b6cSdrh} {x10 10 This is the string}
3496d1bf3512Sdrh
3497d1bf3512Sdrhdo_test printf-4.1 {
34982dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A quoted string: '%q'} 1 2 {Hi Y'all}
3499d1bf3512Sdrh} {1 2 A quoted string: 'Hi Y''all'}
3500b22f1b58Schwdo_test printf-4.2 {
35012dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A NULL pointer in %%q: '%q'} 1 2
3502b22f1b58Schw} {1 2 A NULL pointer in %q: '(NULL)'}
3503b22f1b58Schwdo_test printf-4.3 {
35042dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A quoted string: %Q} 1 2 {Hi Y'all}
3505b22f1b58Schw} {1 2 A quoted string: 'Hi Y''all'}
3506b22f1b58Schwdo_test printf-4.4 {
35072dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d A NULL pointer in %%Q: %Q} 1 2
3508b22f1b58Schw} {1 2 A NULL pointer in %Q: NULL}
3509d1bf3512Sdrh
3510daffd0e5Sdrhdo_test printf-5.1 {
35112dd59365Sdanielk1977  set x [sqlite3_mprintf_str {%d %d %100000s} 0 0 {Hello}]
3512daffd0e5Sdrh  string length $x
351379158e18Sdrh} {344}
3514daffd0e5Sdrhdo_test printf-5.2 {
35152dd59365Sdanielk1977  sqlite3_mprintf_str {%d %d (%-10.10s) %} -9 -10 {HelloHelloHello}
3516daffd0e5Sdrh} {-9 -10 (HelloHello) %}
3517daffd0e5Sdrh
3518d93d8a81Sdrhdo_test printf-6.1 {
35192dd59365Sdanielk1977  sqlite3_mprintf_z_test , one two three four five six
3520d93d8a81Sdrh} {,one,two,three,four,five,six}
3521d93d8a81Sdrh
3522b621c237Sdrh
3523b621c237Sdrhdo_test printf-7.1 {
35242dd59365Sdanielk1977  sqlite3_mprintf_scaled {A double: %g} 1.0e307 1.0
3525b621c237Sdrh} {A double: 1e+307}
3526b621c237Sdrhdo_test printf-7.2 {
35272dd59365Sdanielk1977  sqlite3_mprintf_scaled {A double: %g} 1.0e307 10.0
3528b621c237Sdrh} {A double: 1e+308}
3529b621c237Sdrhdo_test printf-7.3 {
35302dd59365Sdanielk1977  sqlite3_mprintf_scaled {A double: %g} 1.0e307 100.0
353153c14021Sdrh} {A double: Inf}
353253c14021Sdrhdo_test printf-7.4 {
353353c14021Sdrh  sqlite3_mprintf_scaled {A double: %g} -1.0e307 100.0
353453c14021Sdrh} {A double: -Inf}
353553c14021Sdrhdo_test printf-7.5 {
353653c14021Sdrh  sqlite3_mprintf_scaled {A double: %+g} 1.0e307 100.0
353753c14021Sdrh} {A double: +Inf}
3538b621c237Sdrh
3539e9707671Sdrhdo_test printf-8.1 {
3540e9707671Sdrh  sqlite3_mprintf_int {%u %u %u} 0x7fffffff 0x80000000 0xffffffff
3541e9707671Sdrh} {2147483647 2147483648 4294967295}
3542e9707671Sdrhdo_test printf-8.2 {
3543e9707671Sdrh  sqlite3_mprintf_int {%lu %lu %lu} 0x7fffffff 0x80000000 0xffffffff
3544e9707671Sdrh} {2147483647 2147483648 4294967295}
3545e9707671Sdrhdo_test printf-8.3 {
3546e9707671Sdrh  sqlite3_mprintf_int64 {%llu %llu %llu} 2147483647 2147483648 4294967296
3547e9707671Sdrh} {2147483647 2147483648 4294967296}
3548e9707671Sdrhdo_test printf-8.4 {
3549e9707671Sdrh  sqlite3_mprintf_int64 {%lld %lld %lld} 2147483647 2147483648 4294967296
3550e9707671Sdrh} {2147483647 2147483648 4294967296}
3551e9707671Sdrhdo_test printf-8.5 {
3552e9707671Sdrh  sqlite3_mprintf_int64 {%llx %llx %llx} 2147483647 2147483648 4294967296
3553e9707671Sdrh} {7fffffff 80000000 100000000}
3554e9707671Sdrhdo_test printf-8.6 {
3555e9707671Sdrh  sqlite3_mprintf_int64 {%llx %llo %lld} -1 -1 -1
3556e9707671Sdrh} {ffffffffffffffff 1777777777777777777777 -1}
3557b8cdbec2Sdanielk1977do_test printf-8.7 {
3558b8cdbec2Sdanielk1977  sqlite3_mprintf_int64 {%llx %llx %llx} +2147483647 +2147483648 +4294967296
3559b8cdbec2Sdanielk1977} {7fffffff 80000000 100000000}
3560e9707671Sdrh
3561779c6a06Sdrhdo_test printf-9.1 {
3562779c6a06Sdrh  sqlite3_mprintf_int {%*.*c} 4 4 65
3563779c6a06Sdrh} {AAAA}
3564779c6a06Sdrhdo_test printf-9.2 {
3565779c6a06Sdrh  sqlite3_mprintf_int {%*.*c} -4 1 66
3566779c6a06Sdrh} {B   }
3567779c6a06Sdrhdo_test printf-9.3 {
3568779c6a06Sdrh  sqlite3_mprintf_int {%*.*c} 4 1 67
3569779c6a06Sdrh} {   C}
3570779c6a06Sdrhdo_test printf-9.4 {
35715eba8c09Sdrh  sqlite3_mprintf_int {%d %d %c} 4 1 67
35725eba8c09Sdrh} {4 1 C}
35735eba8c09Sdrhset ten {          }
35745eba8c09Sdrhset fifty $ten$ten$ten$ten$ten
35755eba8c09Sdrhdo_test printf-9.5 {
35765eba8c09Sdrh  sqlite3_mprintf_int {%d %*c} 1 -201 67
35775eba8c09Sdrh} "1 C$fifty$fifty$fifty$fifty"
35785eba8c09Sdrhdo_test printf-9.6 {
357943617e9aSdrh  sqlite3_mprintf_int {hi%12345.12346yhello} 0 0 0
358043617e9aSdrh} {hi}
3581779c6a06Sdrh
3582e29b1a05Sdrh# Ticket #812
3583e29b1a05Sdrh#
3584e29b1a05Sdrhdo_test printf-10.1 {
3585e29b1a05Sdrh  sqlite3_mprintf_stronly %s {}
3586e29b1a05Sdrh} {}
3587e29b1a05Sdrh
35889796ef58Sdrh# Ticket #831
35899796ef58Sdrh#
35909796ef58Sdrhdo_test printf-10.2 {
35919796ef58Sdrh  sqlite3_mprintf_stronly %q {}
35929796ef58Sdrh} {}
35939796ef58Sdrh
3594592ac8cbSdrh# Ticket #1340:  Test for loss of precision on large positive exponents
3595592ac8cbSdrh#
3596592ac8cbSdrhdo_test printf-10.3 {
3597592ac8cbSdrh  sqlite3_mprintf_double {%d %d %f} 1 1 1e300
3598592ac8cbSdrh} {1 1 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000}
3599592ac8cbSdrh
3600557cc60fSdrh# The non-standard '!' flag on a 'g' conversion forces a decimal point
3601557cc60fSdrh# and at least one digit on either side of the decimal point.
3602557cc60fSdrh#
3603557cc60fSdrhdo_test printf-11.1 {
3604557cc60fSdrh  sqlite3_mprintf_double {%d %d %!g} 1 1 1
3605557cc60fSdrh} {1 1 1.0}
3606557cc60fSdrhdo_test printf-11.2 {
3607557cc60fSdrh  sqlite3_mprintf_double {%d %d %!g} 1 1 123
3608557cc60fSdrh} {1 1 123.0}
3609557cc60fSdrhdo_test printf-11.3 {
3610557cc60fSdrh  sqlite3_mprintf_double {%d %d %!g} 1 1 12.3
3611557cc60fSdrh} {1 1 12.3}
3612557cc60fSdrhdo_test printf-11.4 {
3613557cc60fSdrh  sqlite3_mprintf_double {%d %d %!g} 1 1 0.123
3614557cc60fSdrh} {1 1 0.123}
3615557cc60fSdrhdo_test printf-11.5 {
3616557cc60fSdrh  sqlite3_mprintf_double {%d %d %!.15g} 1 1 1
3617557cc60fSdrh} {1 1 1.0}
3618557cc60fSdrhdo_test printf-11.6 {
3619557cc60fSdrh  sqlite3_mprintf_double {%d %d %!.15g} 1 1 1e10
3620557cc60fSdrh} {1 1 10000000000.0}
3621557cc60fSdrhdo_test printf-11.7 {
3622557cc60fSdrh  sqlite3_mprintf_double {%d %d %!.15g} 1 1 1e300
3623557cc60fSdrh} {1 1 1.0e+300}
3624557cc60fSdrh
36255eba8c09Sdrh# Additional tests for coverage
36265eba8c09Sdrh#
36275eba8c09Sdrhdo_test printf-12.1 {
36285eba8c09Sdrh  sqlite3_mprintf_double {%d %d %.2000g} 1 1 1.0
36295eba8c09Sdrh} {1 1 1}
3630e29b1a05Sdrh
363163782855Sdrh# Floating point boundary cases
363263782855Sdrh#
363363782855Sdrhdo_test printf-13.1 {
363463782855Sdrh  sqlite3_mprintf_hexdouble %.20f 4024000000000000
363563782855Sdrh} {10.00000000000000000000}
363663782855Sdrhdo_test printf-13.2 {
363763782855Sdrh  sqlite3_mprintf_hexdouble %.20f 4197d78400000000
363863782855Sdrh} {100000000.00000000000000000000}
363963782855Sdrhdo_test printf-13.3 {
364063782855Sdrh  sqlite3_mprintf_hexdouble %.20f 4693b8b5b5056e17
364163782855Sdrh} {100000000000000000000000000000000.00000000000000000000}
364253c14021Sdrhdo_test printf-13.4 {
364353c14021Sdrh  sqlite3_mprintf_hexdouble %.20f 7ff0000000000000
364453c14021Sdrh} {Inf}
364553c14021Sdrhdo_test printf-13.5 {
364653c14021Sdrh  sqlite3_mprintf_hexdouble %.20f fff0000000000000
364753c14021Sdrh} {-Inf}
364853c14021Sdrhdo_test printf-13.6 {
364953c14021Sdrh  sqlite3_mprintf_hexdouble %.20f fff8000000000000
365053c14021Sdrh} {NaN}
365163782855Sdrh
365205a82983Sdrhdo_test printf-14.1 {
365305a82983Sdrh  sqlite3_mprintf_str {abc-%y-123} 0 0 {not used}
365405a82983Sdrh} {abc-}
365505a82983Sdrhdo_test printf-14.2 {
365605a82983Sdrh  sqlite3_mprintf_n_test {xyzzy}
365705a82983Sdrh} 5
3658b3738b6cSdrhdo_test printf-14.3 {
3659b3738b6cSdrh  sqlite3_mprintf_str {abc-%T-123} 0 0 {not used}
3660b3738b6cSdrh} {abc-}
3661f43639a0Sdrhdo_test printf-14.4 {
3662f43639a0Sdrh  sqlite3_mprintf_str {abc-%#} 0 0 {not used}
3663f43639a0Sdrh} {abc-}
3664*af005fbcSdrhdo_test printf-14.5 {
3665*af005fbcSdrh  sqlite3_mprintf_str {abc-%*.*s-xyz} 10 -10 {a_very_long_string}
3666*af005fbcSdrh} {abc-a_very_lon-xyz}
3667*af005fbcSdrhdo_test printf-14.6 {
3668*af005fbcSdrh  sqlite3_mprintf_str {abc-%5.10/} 0 0 {not used}
3669*af005fbcSdrh} {abc-}
3670*af005fbcSdrhdo_test printf-14.7 {
3671*af005fbcSdrh  sqlite3_mprintf_str {abc-%05.5d} 123 0 {not used}
3672*af005fbcSdrh} {abc-00123}
3673*af005fbcSdrhdo_test printf-14.8 {
3674*af005fbcSdrh  sqlite3_mprintf_str {abc-%05.5d} 1234567 0 {not used}
3675*af005fbcSdrh} {abc-1234567}
3676f43639a0Sdrh
3677f43639a0Sdrhfor {set i 2} {$i<200} {incr i} {
3678f43639a0Sdrh  set res [string repeat { } [expr {$i-1}]]x
3679*af005fbcSdrh  do_test printf-14.90.$i "
3680f43639a0Sdrh    sqlite3_mprintf_str {%*.*s} $i 500 x
3681f43639a0Sdrh  " $res
3682f43639a0Sdrh}
368305a82983Sdrh
368468853907Sdrhdo_test printf-15.1 {
368568853907Sdrh  sqlite3_snprintf_int 5 {12345} 0
368668853907Sdrh} {1234}
368768853907Sdrhdo_test printf-15.2 {
368868853907Sdrh  sqlite3_snprintf_int 5 {} 0
368968853907Sdrh} {}
369068853907Sdrhdo_test printf-15.3 {
369168853907Sdrh  sqlite3_snprintf_int 0 {} 0
369268853907Sdrh} {abcdefghijklmnopqrstuvwxyz}
369363782855Sdrh
3694ca0c8971Sdanielk1977# Now test malloc() failure within a sqlite3_mprintf():
3695ca0c8971Sdanielk1977#
3696369ff42eSdanielk1977ifcapable memdebug {
3697ca0c8971Sdanielk1977  foreach var {a b c d} {
3698ca0c8971Sdanielk1977    set $var [string repeat $var 400]
3699ca0c8971Sdanielk1977  }
3700ca0c8971Sdanielk1977  set str1 "[string repeat A 360]%d%d%s"
3701ca0c8971Sdanielk1977  set str2 [string repeat B 5000]
3702ca0c8971Sdanielk1977  set zSuccess "[string repeat A 360]11[string repeat B 5000]"
3703ca0c8971Sdanielk1977  foreach ::iRepeat {0 1} {
3704ca0c8971Sdanielk1977    set nTestNum 1
3705ca0c8971Sdanielk1977    while {1} {
3706ca0c8971Sdanielk1977      sqlite3_memdebug_fail $nTestNum -repeat $::iRepeat
3707ca0c8971Sdanielk1977      set z [sqlite3_mprintf_str $str1 1 1 $str2]
3708ca0c8971Sdanielk1977      set nFail [sqlite3_memdebug_fail -1 -benign nBenign]
3709ca0c8971Sdanielk1977      do_test printf-malloc-$::iRepeat.$nTestNum {
3710ca0c8971Sdanielk1977        expr {($nFail>0 && $z eq "") || ($nFail==$nBenign && $z eq $zSuccess)}
3711ca0c8971Sdanielk1977      } {1}
3712ca0c8971Sdanielk1977      if {$nFail == 0} break
3713ca0c8971Sdanielk1977      incr nTestNum
3714ca0c8971Sdanielk1977    }
3715ca0c8971Sdanielk1977  }
3716369ff42eSdanielk1977}
3717ca0c8971Sdanielk1977
3718d1bf3512Sdrhfinish_test
3719