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# 14c5cad1e3Sdrh# $Id: printf.test,v 1.31 2009/02/01 00:21:10 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} 475a30d22a7Sdrhdo_test printf-1.17.1 { 476a30d22a7Sdrh sqlite3_mprintf_int {abd: %2147483647d %2147483647x %2147483647o} 1 1 1 477a30d22a7Sdrh} {} 478a30d22a7Sdrhdo_test printf-1.17.2 { 479a30d22a7Sdrh sqlite3_mprintf_int {abd: %*d %x} 2147483647 1 1 480a30d22a7Sdrh} {} 481a30d22a7Sdrhdo_test printf-1.17.3 { 482a30d22a7Sdrh sqlite3_mprintf_int {abd: %*d %x} -2147483648 1 1 4838c069147Sdan} {abd: 1 1} 484a30d22a7Sdrhdo_test printf-1.17.4 { 485a30d22a7Sdrh sqlite3_mprintf_int {abd: %.2147483648d %x %x} 1 1 1 486b6f47debSdrh} {/.*/} 487a2647caeSdrhdo_test printf-2.1.1.1 { 488a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 0.001 489a2647caeSdrh} {abc: (0.0) :xyz} 490a2647caeSdrhdo_test printf-2.1.1.2 { 491a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 0.001 492a2647caeSdrh} {abc: (1.0e-03) :xyz} 493a2647caeSdrhdo_test printf-2.1.1.3 { 494a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 0.001 495a2647caeSdrh} {abc: (0.001) :xyz} 496a2647caeSdrhdo_test printf-2.1.1.4 { 497a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 0.001 498a2647caeSdrh} {abc: 1 1 (0.001) :xyz} 499a2647caeSdrhdo_test printf-2.1.1.5 { 500a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 0.001 501a2647caeSdrh} {abc: 1 1 (0.00100000) :xyz} 502a2647caeSdrhdo_test printf-2.1.1.6 { 503a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 0.001 504a2647caeSdrh} {abc: 1 1 (000000.001) :xyz} 505a2647caeSdrhdo_test printf-2.1.1.7 { 506a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 0.001 507a2647caeSdrh} {abc: 1 1 (0.0) :xyz} 508a2647caeSdrhdo_test printf-2.1.1.8 { 509a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 0.001 510a2647caeSdrh} {abc: 1 1 (1.0e-03) :xyz} 511a2647caeSdrhdo_test printf-2.1.1.9 { 512a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 0.001 513a2647caeSdrh} {abc: 1 1 (0.001) :xyz} 514a2647caeSdrhdo_test printf-2.1.2.1 { 515a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 1.0e-20 516a2647caeSdrh} {abc: (0.0) :xyz} 517a2647caeSdrhdo_test printf-2.1.2.2 { 518a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 1.0e-20 519a2647caeSdrh} {abc: (1.0e-20) :xyz} 520a2647caeSdrhdo_test printf-2.1.2.3 { 521a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 1.0e-20 522a2647caeSdrh} {abc: (1e-20) :xyz} 523a2647caeSdrhdo_test printf-2.1.2.4 { 524a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 1.0e-20 525a2647caeSdrh} {abc: 1 1 (1e-20) :xyz} 526a2647caeSdrhdo_test printf-2.1.2.5 { 527a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 1.0e-20 528a2647caeSdrh} {abc: 1 1 (1.00000e-20) :xyz} 529a2647caeSdrhdo_test printf-2.1.2.6 { 530a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 1.0e-20 531a2647caeSdrh} {abc: 1 1 (000001e-20) :xyz} 532a2647caeSdrhdo_test printf-2.1.2.7 { 533a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 1.0e-20 534a2647caeSdrh} {abc: 1 1 (0.0) :xyz} 535a2647caeSdrhdo_test printf-2.1.2.8 { 536a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 1.0e-20 537a2647caeSdrh} {abc: 1 1 (1.0e-20) :xyz} 538a2647caeSdrhdo_test printf-2.1.2.9 { 539a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 1.0e-20 540a2647caeSdrh} {abc: 1 1 (1e-20) :xyz} 541*cfb8bf6aSdanif {$SQLITE_MAX_LENGTH<=[expr 1000*1000*1000]} { 54274b42275Sdrh do_test printf-2.1.2.10 { 54374b42275Sdrh sqlite3_mprintf_double {abc: %*.*f} 2000000000 1000000000 1.0e-20 544255a81f1Sdrh } {} 545*cfb8bf6aSdan} 546a2647caeSdrhdo_test printf-2.1.3.1 { 547a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 1.0 548a2647caeSdrh} {abc: (1.0) :xyz} 549a2647caeSdrhdo_test printf-2.1.3.2 { 550a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 1.0 551a2647caeSdrh} {abc: (1.0e+00) :xyz} 552a2647caeSdrhdo_test printf-2.1.3.3 { 553a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 1.0 554a2647caeSdrh} {abc: (1) :xyz} 555a2647caeSdrhdo_test printf-2.1.3.4 { 556a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 1.0 557a2647caeSdrh} {abc: 1 1 (1) :xyz} 558a2647caeSdrhdo_test printf-2.1.3.5 { 559a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 1.0 560a2647caeSdrh} {abc: 1 1 (1.00000) :xyz} 561a2647caeSdrhdo_test printf-2.1.3.6 { 562a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 1.0 563a2647caeSdrh} {abc: 1 1 (0000000001) :xyz} 564a2647caeSdrhdo_test printf-2.1.3.7 { 565a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 1.0 566a2647caeSdrh} {abc: 1 1 (1.0) :xyz} 567a2647caeSdrhdo_test printf-2.1.3.8 { 568a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 1.0 569a2647caeSdrh} {abc: 1 1 (1.0e+00) :xyz} 570a2647caeSdrhdo_test printf-2.1.3.9 { 571a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 1.0 572a2647caeSdrh} {abc: 1 1 (1) :xyz} 573a2647caeSdrhdo_test printf-2.1.4.1 { 574a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 0.0 575a2647caeSdrh} {abc: (0.0) :xyz} 576a2647caeSdrhdo_test printf-2.1.4.2 { 577a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 0.0 578a2647caeSdrh} {abc: (0.0e+00) :xyz} 579a2647caeSdrhdo_test printf-2.1.4.3 { 580a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 0.0 581a2647caeSdrh} {abc: (0) :xyz} 582a2647caeSdrhdo_test printf-2.1.4.4 { 583a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 0.0 584a2647caeSdrh} {abc: 1 1 (0) :xyz} 585a2647caeSdrhdo_test printf-2.1.4.5 { 586a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 0.0 587a2647caeSdrh} {abc: 1 1 (0.00000) :xyz} 588a2647caeSdrhdo_test printf-2.1.4.6 { 589a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 0.0 590a2647caeSdrh} {abc: 1 1 (0000000000) :xyz} 591a2647caeSdrhdo_test printf-2.1.4.7 { 592a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 0.0 593a2647caeSdrh} {abc: 1 1 (0.0) :xyz} 594a2647caeSdrhdo_test printf-2.1.4.8 { 595a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 0.0 596a2647caeSdrh} {abc: 1 1 (0.0e+00) :xyz} 597a2647caeSdrhdo_test printf-2.1.4.9 { 598a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 0.0 599a2647caeSdrh} {abc: 1 1 (0) :xyz} 600a2647caeSdrhdo_test printf-2.1.5.1 { 601a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 100.0 602a2647caeSdrh} {abc: (100.0) :xyz} 603a2647caeSdrhdo_test printf-2.1.5.2 { 604a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 100.0 605a2647caeSdrh} {abc: (1.0e+02) :xyz} 606a2647caeSdrhdo_test printf-2.1.5.3 { 607a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 100.0 608a2647caeSdrh} {abc: (1e+02) :xyz} 609a2647caeSdrhdo_test printf-2.1.5.4 { 610a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 100.0 611a2647caeSdrh} {abc: 1 1 (100) :xyz} 612a2647caeSdrhdo_test printf-2.1.5.5 { 613a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 100.0 614a2647caeSdrh} {abc: 1 1 (100.000) :xyz} 615a2647caeSdrhdo_test printf-2.1.5.6 { 616a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 100.0 617a2647caeSdrh} {abc: 1 1 (0000000100) :xyz} 618a2647caeSdrhdo_test printf-2.1.5.7 { 619a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 100.0 620a2647caeSdrh} {abc: 1 1 (100.0) :xyz} 621a2647caeSdrhdo_test printf-2.1.5.8 { 622a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 100.0 623a2647caeSdrh} {abc: 1 1 (1.0e+02) :xyz} 624a2647caeSdrhdo_test printf-2.1.5.9 { 625a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 100.0 626a2647caeSdrh} {abc: 1 1 (1e+02) :xyz} 627a2647caeSdrhdo_test printf-2.1.6.1 { 628a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 9.99999 629a2647caeSdrh} {abc: (10.0) :xyz} 630a2647caeSdrhdo_test printf-2.1.6.2 { 631a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 9.99999 632a2647caeSdrh} {abc: (1.0e+01) :xyz} 633a2647caeSdrhdo_test printf-2.1.6.3 { 634a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 9.99999 635a2647caeSdrh} {abc: (1e+01) :xyz} 636a2647caeSdrhdo_test printf-2.1.6.4 { 637a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 9.99999 638a2647caeSdrh} {abc: 1 1 (9.99999) :xyz} 639a2647caeSdrhdo_test printf-2.1.6.5 { 640a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 9.99999 641a2647caeSdrh} {abc: 1 1 (9.99999) :xyz} 642a2647caeSdrhdo_test printf-2.1.6.6 { 643a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 9.99999 644a2647caeSdrh} {abc: 1 1 (0009.99999) :xyz} 645a2647caeSdrhdo_test printf-2.1.6.7 { 646a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 9.99999 647a2647caeSdrh} {abc: 1 1 (10.0) :xyz} 648a2647caeSdrhdo_test printf-2.1.6.8 { 649a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 9.99999 650a2647caeSdrh} {abc: 1 1 (1.0e+01) :xyz} 651a2647caeSdrhdo_test printf-2.1.6.9 { 652a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 9.99999 653a2647caeSdrh} {abc: 1 1 (1e+01) :xyz} 654a2647caeSdrhdo_test printf-2.1.7.1 { 655a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -0.00543 656a2647caeSdrh} {abc: (-0.0) :xyz} 657a2647caeSdrhdo_test printf-2.1.7.2 { 658a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -0.00543 659a2647caeSdrh} {abc: (-5.4e-03) :xyz} 660a2647caeSdrhdo_test printf-2.1.7.3 { 661a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -0.00543 662a2647caeSdrh} {abc: (-0.005) :xyz} 663a2647caeSdrhdo_test printf-2.1.7.4 { 664a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -0.00543 665a2647caeSdrh} {abc: 1 1 (-0.00543) :xyz} 666a2647caeSdrhdo_test printf-2.1.7.5 { 667a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -0.00543 668a2647caeSdrh} {abc: 1 1 (-0.00543000) :xyz} 669a2647caeSdrhdo_test printf-2.1.7.6 { 670a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -0.00543 671a2647caeSdrh} {abc: 1 1 (-000.00543) :xyz} 672a2647caeSdrhdo_test printf-2.1.7.7 { 673a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -0.00543 674a2647caeSdrh} {abc: 1 1 (-0.0) :xyz} 675a2647caeSdrhdo_test printf-2.1.7.8 { 676a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -0.00543 677a2647caeSdrh} {abc: 1 1 (-5.4e-03) :xyz} 678a2647caeSdrhdo_test printf-2.1.7.9 { 679a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -0.00543 680a2647caeSdrh} {abc: 1 1 (-0.005) :xyz} 681a2647caeSdrhdo_test printf-2.1.8.1 { 682a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -1.0 683a2647caeSdrh} {abc: (-1.0) :xyz} 684a2647caeSdrhdo_test printf-2.1.8.2 { 685a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -1.0 686a2647caeSdrh} {abc: (-1.0e+00) :xyz} 687a2647caeSdrhdo_test printf-2.1.8.3 { 688a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -1.0 689a2647caeSdrh} {abc: (-1) :xyz} 690a2647caeSdrhdo_test printf-2.1.8.4 { 691a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -1.0 692a2647caeSdrh} {abc: 1 1 (-1) :xyz} 693a2647caeSdrhdo_test printf-2.1.8.5 { 694a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -1.0 695a2647caeSdrh} {abc: 1 1 (-1.00000) :xyz} 696a2647caeSdrhdo_test printf-2.1.8.6 { 697a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -1.0 698a2647caeSdrh} {abc: 1 1 (-000000001) :xyz} 699a2647caeSdrhdo_test printf-2.1.8.7 { 700a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -1.0 701a2647caeSdrh} {abc: 1 1 (-1.0) :xyz} 702a2647caeSdrhdo_test printf-2.1.8.8 { 703a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -1.0 704a2647caeSdrh} {abc: 1 1 (-1.0e+00) :xyz} 705a2647caeSdrhdo_test printf-2.1.8.9 { 706a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -1.0 707a2647caeSdrh} {abc: 1 1 (-1) :xyz} 708a2647caeSdrhdo_test printf-2.1.9.1 { 709a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -99.99999 710a2647caeSdrh} {abc: (-100.0) :xyz} 711a2647caeSdrhdo_test printf-2.1.9.2 { 712a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -99.99999 713a2647caeSdrh} {abc: (-1.0e+02) :xyz} 714a2647caeSdrhdo_test printf-2.1.9.3 { 715a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -99.99999 716a2647caeSdrh} {abc: (-1e+02) :xyz} 717a2647caeSdrhdo_test printf-2.1.9.4 { 718a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -99.99999 719a2647caeSdrh} {abc: 1 1 (-100) :xyz} 720a2647caeSdrhdo_test printf-2.1.9.5 { 721a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -99.99999 722a2647caeSdrh} {abc: 1 1 (-100.000) :xyz} 723a2647caeSdrhdo_test printf-2.1.9.6 { 724a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -99.99999 725a2647caeSdrh} {abc: 1 1 (-000000100) :xyz} 726a2647caeSdrhdo_test printf-2.1.9.7 { 727a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -99.99999 728a2647caeSdrh} {abc: 1 1 (-100.0) :xyz} 729a2647caeSdrhdo_test printf-2.1.9.8 { 730a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -99.99999 731a2647caeSdrh} {abc: 1 1 (-1.0e+02) :xyz} 732a2647caeSdrhdo_test printf-2.1.9.9 { 733a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -99.99999 734a2647caeSdrh} {abc: 1 1 (-1e+02) :xyz} 735a2647caeSdrhdo_test printf-2.1.10.1 { 736a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 3.14e+9 737a2647caeSdrh} {abc: (3140000000.0) :xyz} 738a2647caeSdrhdo_test printf-2.1.10.2 { 739a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 3.14e+9 740a2647caeSdrh} {abc: (3.1e+09) :xyz} 741a2647caeSdrhdo_test printf-2.1.10.3 { 742a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 3.14e+9 743a2647caeSdrh} {abc: (3e+09) :xyz} 744a2647caeSdrhdo_test printf-2.1.10.4 { 745a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 3.14e+9 746a2647caeSdrh} {abc: 1 1 (3.14e+09) :xyz} 747a2647caeSdrhdo_test printf-2.1.10.5 { 748a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 3.14e+9 749a2647caeSdrh} {abc: 1 1 (3.14000e+09) :xyz} 750a2647caeSdrhdo_test printf-2.1.10.6 { 751a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 3.14e+9 752a2647caeSdrh} {abc: 1 1 (003.14e+09) :xyz} 753a2647caeSdrhdo_test printf-2.1.10.7 { 754a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 3.14e+9 755a2647caeSdrh} {abc: 1 1 (3140000000.0) :xyz} 756a2647caeSdrhdo_test printf-2.1.10.8 { 757a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 3.14e+9 758a2647caeSdrh} {abc: 1 1 (3.1e+09) :xyz} 759a2647caeSdrhdo_test printf-2.1.10.9 { 760a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 3.14e+9 761a2647caeSdrh} {abc: 1 1 (3e+09) :xyz} 762a2647caeSdrhdo_test printf-2.1.11.2 { 763a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -4.72732e+88 764a2647caeSdrh} {abc: (-4.7e+88) :xyz} 765a2647caeSdrhdo_test printf-2.1.11.3 { 766a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -4.72732e+88 767a2647caeSdrh} {abc: (-5e+88) :xyz} 768a2647caeSdrhdo_test printf-2.1.11.4 { 769a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -4.72732e+88 770a2647caeSdrh} {abc: 1 1 (-4.72732e+88) :xyz} 771a2647caeSdrhdo_test printf-2.1.11.5 { 772a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -4.72732e+88 773a2647caeSdrh} {abc: 1 1 (-4.72732e+88) :xyz} 774a2647caeSdrhdo_test printf-2.1.11.6 { 775a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -4.72732e+88 776a2647caeSdrh} {abc: 1 1 (-4.72732e+88) :xyz} 777a2647caeSdrhdo_test printf-2.1.11.8 { 778a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -4.72732e+88 779a2647caeSdrh} {abc: 1 1 (-4.7e+88) :xyz} 780a2647caeSdrhdo_test printf-2.1.11.9 { 781a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -4.72732e+88 782a2647caeSdrh} {abc: 1 1 (-5e+88) :xyz} 783a2647caeSdrhdo_test printf-2.1.12.2 { 784a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 9.87991e+143 785a2647caeSdrh} {abc: (9.9e+143) :xyz} 786a2647caeSdrhdo_test printf-2.1.12.3 { 787a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 9.87991e+143 788a2647caeSdrh} {abc: (1e+144) :xyz} 789a2647caeSdrhdo_test printf-2.1.12.4 { 790a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 9.87991e+143 791a2647caeSdrh} {abc: 1 1 (9.87991e+143) :xyz} 792a2647caeSdrhdo_test printf-2.1.12.5 { 793a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 9.87991e+143 794a2647caeSdrh} {abc: 1 1 (9.87991e+143) :xyz} 795a2647caeSdrhdo_test printf-2.1.12.6 { 796a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 9.87991e+143 797a2647caeSdrh} {abc: 1 1 (9.87991e+143) :xyz} 798a2647caeSdrhdo_test printf-2.1.12.8 { 799a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 9.87991e+143 800a2647caeSdrh} {abc: 1 1 (9.9e+143) :xyz} 801a2647caeSdrhdo_test printf-2.1.12.9 { 802a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 9.87991e+143 803a2647caeSdrh} {abc: 1 1 (1e+144) :xyz} 804a2647caeSdrhdo_test printf-2.1.13.1 { 805a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -6.287291e-9 806a2647caeSdrh} {abc: (-0.0) :xyz} 807a2647caeSdrhdo_test printf-2.1.13.2 { 808a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -6.287291e-9 809a2647caeSdrh} {abc: (-6.3e-09) :xyz} 810a2647caeSdrhdo_test printf-2.1.13.3 { 811a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -6.287291e-9 812a2647caeSdrh} {abc: (-6e-09) :xyz} 813a2647caeSdrhdo_test printf-2.1.13.4 { 814a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -6.287291e-9 815a2647caeSdrh} {abc: 1 1 (-6.28729e-09) :xyz} 816a2647caeSdrhdo_test printf-2.1.13.5 { 817a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -6.287291e-9 818a2647caeSdrh} {abc: 1 1 (-6.28729e-09) :xyz} 819a2647caeSdrhdo_test printf-2.1.13.6 { 820a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -6.287291e-9 821a2647caeSdrh} {abc: 1 1 (-6.28729e-09) :xyz} 822a2647caeSdrhdo_test printf-2.1.13.7 { 823a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -6.287291e-9 824a2647caeSdrh} {abc: 1 1 (-0.0) :xyz} 825a2647caeSdrhdo_test printf-2.1.13.8 { 826a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -6.287291e-9 827a2647caeSdrh} {abc: 1 1 (-6.3e-09) :xyz} 828a2647caeSdrhdo_test printf-2.1.13.9 { 829a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -6.287291e-9 830a2647caeSdrh} {abc: 1 1 (-6e-09) :xyz} 831a2647caeSdrhdo_test printf-2.1.14.1 { 832a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 3.38826392e-110 833a2647caeSdrh} {abc: (0.0) :xyz} 834a2647caeSdrhdo_test printf-2.1.14.2 { 835a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 3.38826392e-110 836a2647caeSdrh} {abc: (3.4e-110) :xyz} 837a2647caeSdrhdo_test printf-2.1.14.3 { 838a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 3.38826392e-110 839a2647caeSdrh} {abc: (3e-110) :xyz} 840a2647caeSdrhdo_test printf-2.1.14.4 { 841a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 3.38826392e-110 842a2647caeSdrh} {abc: 1 1 (3.38826e-110) :xyz} 843a2647caeSdrhdo_test printf-2.1.14.5 { 844a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 3.38826392e-110 845a2647caeSdrh} {abc: 1 1 (3.38826e-110) :xyz} 846a2647caeSdrhdo_test printf-2.1.14.6 { 847a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 3.38826392e-110 848a2647caeSdrh} {abc: 1 1 (3.38826e-110) :xyz} 849a2647caeSdrhdo_test printf-2.1.14.7 { 850a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 3.38826392e-110 851a2647caeSdrh} {abc: 1 1 (0.0) :xyz} 852a2647caeSdrhdo_test printf-2.1.14.8 { 853a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 3.38826392e-110 854a2647caeSdrh} {abc: 1 1 (3.4e-110) :xyz} 855a2647caeSdrhdo_test printf-2.1.14.9 { 856a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 3.38826392e-110 857a2647caeSdrh} {abc: 1 1 (3e-110) :xyz} 858a2647caeSdrhdo_test printf-2.2.1.1 { 859a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 0.001 860a2647caeSdrh} {abc: (0.00100) :xyz} 861a2647caeSdrhdo_test printf-2.2.1.2 { 862a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 0.001 863a2647caeSdrh} {abc: (1.00000e-03) :xyz} 864a2647caeSdrhdo_test printf-2.2.1.3 { 865a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 0.001 866a2647caeSdrh} {abc: (0.001) :xyz} 867a2647caeSdrhdo_test printf-2.2.1.4 { 868a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 0.001 869a2647caeSdrh} {abc: 5 5 (0.001) :xyz} 870a2647caeSdrhdo_test printf-2.2.1.5 { 871a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 0.001 872a2647caeSdrh} {abc: 5 5 (0.00100000) :xyz} 873a2647caeSdrhdo_test printf-2.2.1.6 { 874a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 0.001 875a2647caeSdrh} {abc: 5 5 (000000.001) :xyz} 876a2647caeSdrhdo_test printf-2.2.1.7 { 877a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 0.001 878a2647caeSdrh} {abc: 5 5 (0.00100) :xyz} 879a2647caeSdrhdo_test printf-2.2.1.8 { 880a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 0.001 881a2647caeSdrh} {abc: 5 5 (1.00000e-03) :xyz} 882a2647caeSdrhdo_test printf-2.2.1.9 { 883a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 0.001 884a2647caeSdrh} {abc: 5 5 (0.001) :xyz} 885a2647caeSdrhdo_test printf-2.2.2.1 { 886a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 1.0e-20 887a2647caeSdrh} {abc: (0.00000) :xyz} 888a2647caeSdrhdo_test printf-2.2.2.2 { 889a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 1.0e-20 890a2647caeSdrh} {abc: (1.00000e-20) :xyz} 891a2647caeSdrhdo_test printf-2.2.2.3 { 892a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 1.0e-20 893a2647caeSdrh} {abc: (1e-20) :xyz} 894a2647caeSdrhdo_test printf-2.2.2.4 { 895a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 1.0e-20 896a2647caeSdrh} {abc: 5 5 (1e-20) :xyz} 897a2647caeSdrhdo_test printf-2.2.2.5 { 898a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 1.0e-20 899a2647caeSdrh} {abc: 5 5 (1.00000e-20) :xyz} 900a2647caeSdrhdo_test printf-2.2.2.6 { 901a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 1.0e-20 902a2647caeSdrh} {abc: 5 5 (000001e-20) :xyz} 903a2647caeSdrhdo_test printf-2.2.2.7 { 904a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 1.0e-20 905a2647caeSdrh} {abc: 5 5 (0.00000) :xyz} 906a2647caeSdrhdo_test printf-2.2.2.8 { 907a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 1.0e-20 908a2647caeSdrh} {abc: 5 5 (1.00000e-20) :xyz} 909a2647caeSdrhdo_test printf-2.2.2.9 { 910a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 1.0e-20 911a2647caeSdrh} {abc: 5 5 (1e-20) :xyz} 912a2647caeSdrhdo_test printf-2.2.3.1 { 913a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 1.0 914a2647caeSdrh} {abc: (1.00000) :xyz} 915a2647caeSdrhdo_test printf-2.2.3.2 { 916a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 1.0 917a2647caeSdrh} {abc: (1.00000e+00) :xyz} 918a2647caeSdrhdo_test printf-2.2.3.3 { 919a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 1.0 920a2647caeSdrh} {abc: ( 1) :xyz} 921a2647caeSdrhdo_test printf-2.2.3.4 { 922a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 1.0 923a2647caeSdrh} {abc: 5 5 (1) :xyz} 924a2647caeSdrhdo_test printf-2.2.3.5 { 925a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 1.0 926a2647caeSdrh} {abc: 5 5 (1.00000) :xyz} 927a2647caeSdrhdo_test printf-2.2.3.6 { 928a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 1.0 929a2647caeSdrh} {abc: 5 5 (0000000001) :xyz} 930a2647caeSdrhdo_test printf-2.2.3.7 { 931a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 1.0 932a2647caeSdrh} {abc: 5 5 (1.00000) :xyz} 933a2647caeSdrhdo_test printf-2.2.3.8 { 934a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 1.0 935a2647caeSdrh} {abc: 5 5 (1.00000e+00) :xyz} 936a2647caeSdrhdo_test printf-2.2.3.9 { 937a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 1.0 938a2647caeSdrh} {abc: 5 5 ( 1) :xyz} 939a2647caeSdrhdo_test printf-2.2.4.1 { 940a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 0.0 941a2647caeSdrh} {abc: (0.00000) :xyz} 942a2647caeSdrhdo_test printf-2.2.4.2 { 943a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 0.0 944a2647caeSdrh} {abc: (0.00000e+00) :xyz} 945a2647caeSdrhdo_test printf-2.2.4.3 { 946a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 0.0 947a2647caeSdrh} {abc: ( 0) :xyz} 948a2647caeSdrhdo_test printf-2.2.4.4 { 949a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 0.0 950a2647caeSdrh} {abc: 5 5 (0) :xyz} 951a2647caeSdrhdo_test printf-2.2.4.5 { 952a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 0.0 953a2647caeSdrh} {abc: 5 5 (0.00000) :xyz} 954a2647caeSdrhdo_test printf-2.2.4.6 { 955a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 0.0 956a2647caeSdrh} {abc: 5 5 (0000000000) :xyz} 957a2647caeSdrhdo_test printf-2.2.4.7 { 958a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 0.0 959a2647caeSdrh} {abc: 5 5 (0.00000) :xyz} 960a2647caeSdrhdo_test printf-2.2.4.8 { 961a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 0.0 962a2647caeSdrh} {abc: 5 5 (0.00000e+00) :xyz} 963a2647caeSdrhdo_test printf-2.2.4.9 { 964a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 0.0 965a2647caeSdrh} {abc: 5 5 ( 0) :xyz} 966a2647caeSdrhdo_test printf-2.2.5.1 { 967a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 100.0 968a2647caeSdrh} {abc: (100.00000) :xyz} 969a2647caeSdrhdo_test printf-2.2.5.2 { 970a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 100.0 971a2647caeSdrh} {abc: (1.00000e+02) :xyz} 972a2647caeSdrhdo_test printf-2.2.5.3 { 973a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 100.0 974a2647caeSdrh} {abc: ( 100) :xyz} 975a2647caeSdrhdo_test printf-2.2.5.4 { 976a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 100.0 977a2647caeSdrh} {abc: 5 5 (100) :xyz} 978a2647caeSdrhdo_test printf-2.2.5.5 { 979a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 100.0 980a2647caeSdrh} {abc: 5 5 (100.000) :xyz} 981a2647caeSdrhdo_test printf-2.2.5.6 { 982a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 100.0 983a2647caeSdrh} {abc: 5 5 (0000000100) :xyz} 984a2647caeSdrhdo_test printf-2.2.5.7 { 985a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 100.0 986a2647caeSdrh} {abc: 5 5 (100.00000) :xyz} 987a2647caeSdrhdo_test printf-2.2.5.8 { 988a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 100.0 989a2647caeSdrh} {abc: 5 5 (1.00000e+02) :xyz} 990a2647caeSdrhdo_test printf-2.2.5.9 { 991a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 100.0 992a2647caeSdrh} {abc: 5 5 ( 100) :xyz} 993a2647caeSdrhdo_test printf-2.2.6.1 { 994a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 9.99999 995a2647caeSdrh} {abc: (9.99999) :xyz} 996a2647caeSdrhdo_test printf-2.2.6.2 { 997a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 9.99999 998a2647caeSdrh} {abc: (9.99999e+00) :xyz} 999a2647caeSdrhdo_test printf-2.2.6.3 { 1000a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 9.99999 1001a2647caeSdrh} {abc: ( 10) :xyz} 1002a2647caeSdrhdo_test printf-2.2.6.4 { 1003a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 9.99999 1004a2647caeSdrh} {abc: 5 5 (9.99999) :xyz} 1005a2647caeSdrhdo_test printf-2.2.6.5 { 1006a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 9.99999 1007a2647caeSdrh} {abc: 5 5 (9.99999) :xyz} 1008a2647caeSdrhdo_test printf-2.2.6.6 { 1009a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 9.99999 1010a2647caeSdrh} {abc: 5 5 (0009.99999) :xyz} 1011a2647caeSdrhdo_test printf-2.2.6.7 { 1012a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 9.99999 1013a2647caeSdrh} {abc: 5 5 (9.99999) :xyz} 1014a2647caeSdrhdo_test printf-2.2.6.8 { 1015a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 9.99999 1016a2647caeSdrh} {abc: 5 5 (9.99999e+00) :xyz} 1017a2647caeSdrhdo_test printf-2.2.6.9 { 1018a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 9.99999 1019a2647caeSdrh} {abc: 5 5 ( 10) :xyz} 1020a2647caeSdrhdo_test printf-2.2.7.1 { 1021a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -0.00543 1022a2647caeSdrh} {abc: (-0.00543) :xyz} 1023a2647caeSdrhdo_test printf-2.2.7.2 { 1024a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -0.00543 1025a2647caeSdrh} {abc: (-5.43000e-03) :xyz} 1026a2647caeSdrhdo_test printf-2.2.7.3 { 1027a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -0.00543 1028a2647caeSdrh} {abc: (-0.00543) :xyz} 1029a2647caeSdrhdo_test printf-2.2.7.4 { 1030a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -0.00543 1031a2647caeSdrh} {abc: 5 5 (-0.00543) :xyz} 1032a2647caeSdrhdo_test printf-2.2.7.5 { 1033a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -0.00543 1034a2647caeSdrh} {abc: 5 5 (-0.00543000) :xyz} 1035a2647caeSdrhdo_test printf-2.2.7.6 { 1036a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -0.00543 1037a2647caeSdrh} {abc: 5 5 (-000.00543) :xyz} 1038a2647caeSdrhdo_test printf-2.2.7.7 { 1039a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -0.00543 1040a2647caeSdrh} {abc: 5 5 (-0.00543) :xyz} 1041a2647caeSdrhdo_test printf-2.2.7.8 { 1042a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -0.00543 1043a2647caeSdrh} {abc: 5 5 (-5.43000e-03) :xyz} 1044a2647caeSdrhdo_test printf-2.2.7.9 { 1045a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -0.00543 1046a2647caeSdrh} {abc: 5 5 (-0.00543) :xyz} 1047a2647caeSdrhdo_test printf-2.2.8.1 { 1048a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -1.0 1049a2647caeSdrh} {abc: (-1.00000) :xyz} 1050a2647caeSdrhdo_test printf-2.2.8.2 { 1051a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -1.0 1052a2647caeSdrh} {abc: (-1.00000e+00) :xyz} 1053a2647caeSdrhdo_test printf-2.2.8.3 { 1054a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -1.0 1055a2647caeSdrh} {abc: ( -1) :xyz} 1056a2647caeSdrhdo_test printf-2.2.8.4 { 1057a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -1.0 1058a2647caeSdrh} {abc: 5 5 (-1) :xyz} 1059a2647caeSdrhdo_test printf-2.2.8.5 { 1060a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -1.0 1061a2647caeSdrh} {abc: 5 5 (-1.00000) :xyz} 1062a2647caeSdrhdo_test printf-2.2.8.6 { 1063a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -1.0 1064a2647caeSdrh} {abc: 5 5 (-000000001) :xyz} 1065a2647caeSdrhdo_test printf-2.2.8.7 { 1066a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -1.0 1067a2647caeSdrh} {abc: 5 5 (-1.00000) :xyz} 1068a2647caeSdrhdo_test printf-2.2.8.8 { 1069a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -1.0 1070a2647caeSdrh} {abc: 5 5 (-1.00000e+00) :xyz} 1071a2647caeSdrhdo_test printf-2.2.8.9 { 1072a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -1.0 1073a2647caeSdrh} {abc: 5 5 ( -1) :xyz} 1074a2647caeSdrhdo_test printf-2.2.9.1 { 1075a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -99.99999 1076a2647caeSdrh} {abc: (-99.99999) :xyz} 1077a2647caeSdrhdo_test printf-2.2.9.2 { 1078a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -99.99999 1079a2647caeSdrh} {abc: (-1.00000e+02) :xyz} 1080a2647caeSdrhdo_test printf-2.2.9.3 { 1081a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -99.99999 1082a2647caeSdrh} {abc: ( -100) :xyz} 1083a2647caeSdrhdo_test printf-2.2.9.4 { 1084a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -99.99999 1085a2647caeSdrh} {abc: 5 5 (-100) :xyz} 1086a2647caeSdrhdo_test printf-2.2.9.5 { 1087a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -99.99999 1088a2647caeSdrh} {abc: 5 5 (-100.000) :xyz} 1089a2647caeSdrhdo_test printf-2.2.9.6 { 1090a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -99.99999 1091a2647caeSdrh} {abc: 5 5 (-000000100) :xyz} 1092a2647caeSdrhdo_test printf-2.2.9.7 { 1093a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -99.99999 1094a2647caeSdrh} {abc: 5 5 (-99.99999) :xyz} 1095a2647caeSdrhdo_test printf-2.2.9.8 { 1096a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -99.99999 1097a2647caeSdrh} {abc: 5 5 (-1.00000e+02) :xyz} 1098a2647caeSdrhdo_test printf-2.2.9.9 { 1099a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -99.99999 1100a2647caeSdrh} {abc: 5 5 ( -100) :xyz} 1101a2647caeSdrhdo_test printf-2.2.10.1 { 1102a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 3.14e+9 1103a2647caeSdrh} {abc: (3140000000.00000) :xyz} 1104a2647caeSdrhdo_test printf-2.2.10.2 { 1105a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 3.14e+9 1106a2647caeSdrh} {abc: (3.14000e+09) :xyz} 1107a2647caeSdrhdo_test printf-2.2.10.3 { 1108a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 3.14e+9 1109a2647caeSdrh} {abc: (3.14e+09) :xyz} 1110a2647caeSdrhdo_test printf-2.2.10.4 { 1111a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 3.14e+9 1112a2647caeSdrh} {abc: 5 5 (3.14e+09) :xyz} 1113a2647caeSdrhdo_test printf-2.2.10.5 { 1114a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 3.14e+9 1115a2647caeSdrh} {abc: 5 5 (3.14000e+09) :xyz} 1116a2647caeSdrhdo_test printf-2.2.10.6 { 1117a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 3.14e+9 1118a2647caeSdrh} {abc: 5 5 (003.14e+09) :xyz} 1119a2647caeSdrhdo_test printf-2.2.10.7 { 1120a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 3.14e+9 1121a2647caeSdrh} {abc: 5 5 (3140000000.00000) :xyz} 1122a2647caeSdrhdo_test printf-2.2.10.8 { 1123a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 3.14e+9 1124a2647caeSdrh} {abc: 5 5 (3.14000e+09) :xyz} 1125a2647caeSdrhdo_test printf-2.2.10.9 { 1126a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 3.14e+9 1127a2647caeSdrh} {abc: 5 5 (3.14e+09) :xyz} 1128a2647caeSdrhdo_test printf-2.2.11.2 { 1129a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -4.72732e+88 1130a2647caeSdrh} {abc: (-4.72732e+88) :xyz} 1131a2647caeSdrhdo_test printf-2.2.11.3 { 1132a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -4.72732e+88 1133a2647caeSdrh} {abc: (-4.7273e+88) :xyz} 1134a2647caeSdrhdo_test printf-2.2.11.4 { 1135a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -4.72732e+88 1136a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz} 1137a2647caeSdrhdo_test printf-2.2.11.5 { 1138a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -4.72732e+88 1139a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz} 1140a2647caeSdrhdo_test printf-2.2.11.6 { 1141a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -4.72732e+88 1142a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz} 1143a2647caeSdrhdo_test printf-2.2.11.8 { 1144a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -4.72732e+88 1145a2647caeSdrh} {abc: 5 5 (-4.72732e+88) :xyz} 1146a2647caeSdrhdo_test printf-2.2.11.9 { 1147a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -4.72732e+88 1148a2647caeSdrh} {abc: 5 5 (-4.7273e+88) :xyz} 1149a2647caeSdrhdo_test printf-2.2.12.2 { 1150a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 9.87991e+143 1151a2647caeSdrh} {abc: (9.87991e+143) :xyz} 1152a2647caeSdrhdo_test printf-2.2.12.3 { 1153a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 9.87991e+143 1154a2647caeSdrh} {abc: (9.8799e+143) :xyz} 1155a2647caeSdrhdo_test printf-2.2.12.4 { 1156a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 9.87991e+143 1157a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz} 1158a2647caeSdrhdo_test printf-2.2.12.5 { 1159a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 9.87991e+143 1160a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz} 1161a2647caeSdrhdo_test printf-2.2.12.6 { 1162a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 9.87991e+143 1163a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz} 1164a2647caeSdrhdo_test printf-2.2.12.8 { 1165a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 9.87991e+143 1166a2647caeSdrh} {abc: 5 5 (9.87991e+143) :xyz} 1167a2647caeSdrhdo_test printf-2.2.12.9 { 1168a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 9.87991e+143 1169a2647caeSdrh} {abc: 5 5 (9.8799e+143) :xyz} 1170a2647caeSdrhdo_test printf-2.2.13.1 { 1171a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -6.287291e-9 1172a2647caeSdrh} {abc: (-0.00000) :xyz} 1173a2647caeSdrhdo_test printf-2.2.13.2 { 1174a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -6.287291e-9 1175a2647caeSdrh} {abc: (-6.28729e-09) :xyz} 1176a2647caeSdrhdo_test printf-2.2.13.3 { 1177a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -6.287291e-9 1178a2647caeSdrh} {abc: (-6.2873e-09) :xyz} 1179a2647caeSdrhdo_test printf-2.2.13.4 { 1180a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -6.287291e-9 1181a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz} 1182a2647caeSdrhdo_test printf-2.2.13.5 { 1183a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -6.287291e-9 1184a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz} 1185a2647caeSdrhdo_test printf-2.2.13.6 { 1186a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -6.287291e-9 1187a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz} 1188a2647caeSdrhdo_test printf-2.2.13.7 { 1189a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -6.287291e-9 1190a2647caeSdrh} {abc: 5 5 (-0.00000) :xyz} 1191a2647caeSdrhdo_test printf-2.2.13.8 { 1192a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -6.287291e-9 1193a2647caeSdrh} {abc: 5 5 (-6.28729e-09) :xyz} 1194a2647caeSdrhdo_test printf-2.2.13.9 { 1195a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -6.287291e-9 1196a2647caeSdrh} {abc: 5 5 (-6.2873e-09) :xyz} 1197a2647caeSdrhdo_test printf-2.2.14.1 { 1198a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 3.38826392e-110 1199a2647caeSdrh} {abc: (0.00000) :xyz} 1200a2647caeSdrhdo_test printf-2.2.14.2 { 1201a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 3.38826392e-110 1202a2647caeSdrh} {abc: (3.38826e-110) :xyz} 1203a2647caeSdrhdo_test printf-2.2.14.3 { 1204a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 3.38826392e-110 1205a2647caeSdrh} {abc: (3.3883e-110) :xyz} 1206a2647caeSdrhdo_test printf-2.2.14.4 { 1207a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 3.38826392e-110 1208a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz} 1209a2647caeSdrhdo_test printf-2.2.14.5 { 1210a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 3.38826392e-110 1211a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz} 1212a2647caeSdrhdo_test printf-2.2.14.6 { 1213a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 3.38826392e-110 1214a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz} 1215a2647caeSdrhdo_test printf-2.2.14.7 { 1216a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 3.38826392e-110 1217a2647caeSdrh} {abc: 5 5 (0.00000) :xyz} 1218a2647caeSdrhdo_test printf-2.2.14.8 { 1219a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 3.38826392e-110 1220a2647caeSdrh} {abc: 5 5 (3.38826e-110) :xyz} 1221a2647caeSdrhdo_test printf-2.2.14.9 { 1222a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 3.38826392e-110 1223a2647caeSdrh} {abc: 5 5 (3.3883e-110) :xyz} 1224a2647caeSdrhdo_test printf-2.3.1.1 { 1225a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 0.001 1226a2647caeSdrh} {abc: (0.0010000000) :xyz} 1227a2647caeSdrhdo_test printf-2.3.1.2 { 1228a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 0.001 1229a2647caeSdrh} {abc: (1.0000000000e-03) :xyz} 1230a2647caeSdrhdo_test printf-2.3.1.3 { 1231a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 0.001 1232a2647caeSdrh} {abc: ( 0.001) :xyz} 1233a2647caeSdrhdo_test printf-2.3.1.4 { 1234a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 0.001 1235a2647caeSdrh} {abc: 10 10 (0.001) :xyz} 1236a2647caeSdrhdo_test printf-2.3.1.5 { 1237a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 0.001 1238a2647caeSdrh} {abc: 10 10 (0.00100000) :xyz} 1239a2647caeSdrhdo_test printf-2.3.1.6 { 1240a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 0.001 1241a2647caeSdrh} {abc: 10 10 (000000.001) :xyz} 1242a2647caeSdrhdo_test printf-2.3.1.7 { 1243a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 0.001 1244a2647caeSdrh} {abc: 10 10 (0.0010000000) :xyz} 1245a2647caeSdrhdo_test printf-2.3.1.8 { 1246a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 0.001 1247a2647caeSdrh} {abc: 10 10 (1.0000000000e-03) :xyz} 1248a2647caeSdrhdo_test printf-2.3.1.9 { 1249a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 0.001 1250a2647caeSdrh} {abc: 10 10 ( 0.001) :xyz} 1251a2647caeSdrhdo_test printf-2.3.2.1 { 1252a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 1.0e-20 1253a2647caeSdrh} {abc: (0.0000000000) :xyz} 1254a2647caeSdrhdo_test printf-2.3.2.2 { 1255a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 1.0e-20 1256a2647caeSdrh} {abc: (1.0000000000e-20) :xyz} 1257a2647caeSdrhdo_test printf-2.3.2.3 { 1258a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 1.0e-20 1259a2647caeSdrh} {abc: ( 1e-20) :xyz} 1260a2647caeSdrhdo_test printf-2.3.2.4 { 1261a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 1.0e-20 1262a2647caeSdrh} {abc: 10 10 (1e-20) :xyz} 1263a2647caeSdrhdo_test printf-2.3.2.5 { 1264a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 1.0e-20 1265a2647caeSdrh} {abc: 10 10 (1.00000e-20) :xyz} 1266a2647caeSdrhdo_test printf-2.3.2.6 { 1267a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 1.0e-20 1268a2647caeSdrh} {abc: 10 10 (000001e-20) :xyz} 1269a2647caeSdrhdo_test printf-2.3.2.7 { 1270a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 1.0e-20 1271a2647caeSdrh} {abc: 10 10 (0.0000000000) :xyz} 1272a2647caeSdrhdo_test printf-2.3.2.8 { 1273a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 1.0e-20 1274a2647caeSdrh} {abc: 10 10 (1.0000000000e-20) :xyz} 1275a2647caeSdrhdo_test printf-2.3.2.9 { 1276a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 1.0e-20 1277a2647caeSdrh} {abc: 10 10 ( 1e-20) :xyz} 1278a2647caeSdrhdo_test printf-2.3.3.1 { 1279a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 1.0 1280a2647caeSdrh} {abc: (1.0000000000) :xyz} 1281a2647caeSdrhdo_test printf-2.3.3.2 { 1282a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 1.0 1283a2647caeSdrh} {abc: (1.0000000000e+00) :xyz} 1284a2647caeSdrhdo_test printf-2.3.3.3 { 1285a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 1.0 1286a2647caeSdrh} {abc: ( 1) :xyz} 1287a2647caeSdrhdo_test printf-2.3.3.4 { 1288a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 1.0 1289a2647caeSdrh} {abc: 10 10 (1) :xyz} 1290a2647caeSdrhdo_test printf-2.3.3.5 { 1291a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 1.0 1292a2647caeSdrh} {abc: 10 10 (1.00000) :xyz} 1293a2647caeSdrhdo_test printf-2.3.3.6 { 1294a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 1.0 1295a2647caeSdrh} {abc: 10 10 (0000000001) :xyz} 1296a2647caeSdrhdo_test printf-2.3.3.7 { 1297a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 1.0 1298a2647caeSdrh} {abc: 10 10 (1.0000000000) :xyz} 1299a2647caeSdrhdo_test printf-2.3.3.8 { 1300a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 1.0 1301a2647caeSdrh} {abc: 10 10 (1.0000000000e+00) :xyz} 1302a2647caeSdrhdo_test printf-2.3.3.9 { 1303a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 1.0 1304a2647caeSdrh} {abc: 10 10 ( 1) :xyz} 1305a2647caeSdrhdo_test printf-2.3.4.1 { 1306a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 0.0 1307a2647caeSdrh} {abc: (0.0000000000) :xyz} 1308a2647caeSdrhdo_test printf-2.3.4.2 { 1309a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 0.0 1310a2647caeSdrh} {abc: (0.0000000000e+00) :xyz} 1311a2647caeSdrhdo_test printf-2.3.4.3 { 1312a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 0.0 1313a2647caeSdrh} {abc: ( 0) :xyz} 1314a2647caeSdrhdo_test printf-2.3.4.4 { 1315a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 0.0 1316a2647caeSdrh} {abc: 10 10 (0) :xyz} 1317a2647caeSdrhdo_test printf-2.3.4.5 { 1318a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 0.0 1319a2647caeSdrh} {abc: 10 10 (0.00000) :xyz} 1320a2647caeSdrhdo_test printf-2.3.4.6 { 1321a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 0.0 1322a2647caeSdrh} {abc: 10 10 (0000000000) :xyz} 1323a2647caeSdrhdo_test printf-2.3.4.7 { 1324a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 0.0 1325a2647caeSdrh} {abc: 10 10 (0.0000000000) :xyz} 1326a2647caeSdrhdo_test printf-2.3.4.8 { 1327a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 0.0 1328a2647caeSdrh} {abc: 10 10 (0.0000000000e+00) :xyz} 1329a2647caeSdrhdo_test printf-2.3.4.9 { 1330a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 0.0 1331a2647caeSdrh} {abc: 10 10 ( 0) :xyz} 1332a2647caeSdrhdo_test printf-2.3.5.1 { 1333a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 100.0 1334a2647caeSdrh} {abc: (100.0000000000) :xyz} 1335a2647caeSdrhdo_test printf-2.3.5.2 { 1336a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 100.0 1337a2647caeSdrh} {abc: (1.0000000000e+02) :xyz} 1338a2647caeSdrhdo_test printf-2.3.5.3 { 1339a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 100.0 1340a2647caeSdrh} {abc: ( 100) :xyz} 1341a2647caeSdrhdo_test printf-2.3.5.4 { 1342a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 100.0 1343a2647caeSdrh} {abc: 10 10 (100) :xyz} 1344a2647caeSdrhdo_test printf-2.3.5.5 { 1345a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 100.0 1346a2647caeSdrh} {abc: 10 10 (100.000) :xyz} 1347a2647caeSdrhdo_test printf-2.3.5.6 { 1348a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 100.0 1349a2647caeSdrh} {abc: 10 10 (0000000100) :xyz} 1350a2647caeSdrhdo_test printf-2.3.5.7 { 1351a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 100.0 1352a2647caeSdrh} {abc: 10 10 (100.0000000000) :xyz} 1353a2647caeSdrhdo_test printf-2.3.5.8 { 1354a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 100.0 1355a2647caeSdrh} {abc: 10 10 (1.0000000000e+02) :xyz} 1356a2647caeSdrhdo_test printf-2.3.5.9 { 1357a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 100.0 1358a2647caeSdrh} {abc: 10 10 ( 100) :xyz} 1359a2647caeSdrhdo_test printf-2.3.6.1 { 1360a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 9.99999 1361a2647caeSdrh} {abc: (9.9999900000) :xyz} 1362a2647caeSdrhdo_test printf-2.3.6.2 { 1363a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 9.99999 1364a2647caeSdrh} {abc: (9.9999900000e+00) :xyz} 1365a2647caeSdrhdo_test printf-2.3.6.3 { 1366a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 9.99999 1367a2647caeSdrh} {abc: ( 9.99999) :xyz} 1368a2647caeSdrhdo_test printf-2.3.6.4 { 1369a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 9.99999 1370a2647caeSdrh} {abc: 10 10 (9.99999) :xyz} 1371a2647caeSdrhdo_test printf-2.3.6.5 { 1372a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 9.99999 1373a2647caeSdrh} {abc: 10 10 (9.99999) :xyz} 1374a2647caeSdrhdo_test printf-2.3.6.6 { 1375a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 9.99999 1376a2647caeSdrh} {abc: 10 10 (0009.99999) :xyz} 1377a2647caeSdrhdo_test printf-2.3.6.7 { 1378a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 9.99999 1379a2647caeSdrh} {abc: 10 10 (9.9999900000) :xyz} 1380a2647caeSdrhdo_test printf-2.3.6.8 { 1381a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 9.99999 1382a2647caeSdrh} {abc: 10 10 (9.9999900000e+00) :xyz} 1383a2647caeSdrhdo_test printf-2.3.6.9 { 1384a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 9.99999 1385a2647caeSdrh} {abc: 10 10 ( 9.99999) :xyz} 1386a2647caeSdrhdo_test printf-2.3.7.1 { 1387a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -0.00543 1388a2647caeSdrh} {abc: (-0.0054300000) :xyz} 1389a2647caeSdrhdo_test printf-2.3.7.2 { 1390a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -0.00543 1391a2647caeSdrh} {abc: (-5.4300000000e-03) :xyz} 1392a2647caeSdrhdo_test printf-2.3.7.3 { 1393a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -0.00543 1394a2647caeSdrh} {abc: ( -0.00543) :xyz} 1395a2647caeSdrhdo_test printf-2.3.7.4 { 1396a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -0.00543 1397a2647caeSdrh} {abc: 10 10 (-0.00543) :xyz} 1398a2647caeSdrhdo_test printf-2.3.7.5 { 1399a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -0.00543 1400a2647caeSdrh} {abc: 10 10 (-0.00543000) :xyz} 1401a2647caeSdrhdo_test printf-2.3.7.6 { 1402a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -0.00543 1403a2647caeSdrh} {abc: 10 10 (-000.00543) :xyz} 1404a2647caeSdrhdo_test printf-2.3.7.7 { 1405a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -0.00543 1406a2647caeSdrh} {abc: 10 10 (-0.0054300000) :xyz} 1407a2647caeSdrhdo_test printf-2.3.7.8 { 1408a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -0.00543 1409a2647caeSdrh} {abc: 10 10 (-5.4300000000e-03) :xyz} 1410a2647caeSdrhdo_test printf-2.3.7.9 { 1411a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -0.00543 1412a2647caeSdrh} {abc: 10 10 ( -0.00543) :xyz} 1413a2647caeSdrhdo_test printf-2.3.8.1 { 1414a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -1.0 1415a2647caeSdrh} {abc: (-1.0000000000) :xyz} 1416a2647caeSdrhdo_test printf-2.3.8.2 { 1417a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -1.0 1418a2647caeSdrh} {abc: (-1.0000000000e+00) :xyz} 1419a2647caeSdrhdo_test printf-2.3.8.3 { 1420a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -1.0 1421a2647caeSdrh} {abc: ( -1) :xyz} 1422a2647caeSdrhdo_test printf-2.3.8.4 { 1423a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -1.0 1424a2647caeSdrh} {abc: 10 10 (-1) :xyz} 1425a2647caeSdrhdo_test printf-2.3.8.5 { 1426a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -1.0 1427a2647caeSdrh} {abc: 10 10 (-1.00000) :xyz} 1428a2647caeSdrhdo_test printf-2.3.8.6 { 1429a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -1.0 1430a2647caeSdrh} {abc: 10 10 (-000000001) :xyz} 1431a2647caeSdrhdo_test printf-2.3.8.7 { 1432a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -1.0 1433a2647caeSdrh} {abc: 10 10 (-1.0000000000) :xyz} 1434a2647caeSdrhdo_test printf-2.3.8.8 { 1435a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -1.0 1436a2647caeSdrh} {abc: 10 10 (-1.0000000000e+00) :xyz} 1437a2647caeSdrhdo_test printf-2.3.8.9 { 1438a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -1.0 1439a2647caeSdrh} {abc: 10 10 ( -1) :xyz} 1440a2647caeSdrhdo_test printf-2.3.9.1 { 1441a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -99.99999 1442a2647caeSdrh} {abc: (-99.9999900000) :xyz} 1443a2647caeSdrhdo_test printf-2.3.9.2 { 1444a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -99.99999 1445a2647caeSdrh} {abc: (-9.9999990000e+01) :xyz} 1446a2647caeSdrhdo_test printf-2.3.9.3 { 1447a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -99.99999 1448a2647caeSdrh} {abc: ( -99.99999) :xyz} 1449a2647caeSdrhdo_test printf-2.3.9.4 { 1450a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -99.99999 1451a2647caeSdrh} {abc: 10 10 (-100) :xyz} 1452a2647caeSdrhdo_test printf-2.3.9.5 { 1453a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -99.99999 1454a2647caeSdrh} {abc: 10 10 (-100.000) :xyz} 1455a2647caeSdrhdo_test printf-2.3.9.6 { 1456a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -99.99999 1457a2647caeSdrh} {abc: 10 10 (-000000100) :xyz} 1458a2647caeSdrhdo_test printf-2.3.9.7 { 1459a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -99.99999 1460a2647caeSdrh} {abc: 10 10 (-99.9999900000) :xyz} 1461a2647caeSdrhdo_test printf-2.3.9.8 { 1462a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -99.99999 1463a2647caeSdrh} {abc: 10 10 (-9.9999990000e+01) :xyz} 1464a2647caeSdrhdo_test printf-2.3.9.9 { 1465a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -99.99999 1466a2647caeSdrh} {abc: 10 10 ( -99.99999) :xyz} 1467a2647caeSdrhdo_test printf-2.3.10.1 { 1468a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 3.14e+9 1469a2647caeSdrh} {abc: (3140000000.0000000000) :xyz} 1470a2647caeSdrhdo_test printf-2.3.10.2 { 1471a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 3.14e+9 1472a2647caeSdrh} {abc: (3.1400000000e+09) :xyz} 1473a2647caeSdrhdo_test printf-2.3.10.3 { 1474a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 3.14e+9 1475a2647caeSdrh} {abc: (3140000000) :xyz} 1476a2647caeSdrhdo_test printf-2.3.10.4 { 1477a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 3.14e+9 1478a2647caeSdrh} {abc: 10 10 (3.14e+09) :xyz} 1479a2647caeSdrhdo_test printf-2.3.10.5 { 1480a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 3.14e+9 1481a2647caeSdrh} {abc: 10 10 (3.14000e+09) :xyz} 1482a2647caeSdrhdo_test printf-2.3.10.6 { 1483a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 3.14e+9 1484a2647caeSdrh} {abc: 10 10 (003.14e+09) :xyz} 1485a2647caeSdrhdo_test printf-2.3.10.7 { 1486a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 3.14e+9 1487a2647caeSdrh} {abc: 10 10 (3140000000.0000000000) :xyz} 1488a2647caeSdrhdo_test printf-2.3.10.8 { 1489a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 3.14e+9 1490a2647caeSdrh} {abc: 10 10 (3.1400000000e+09) :xyz} 1491a2647caeSdrhdo_test printf-2.3.10.9 { 1492a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 3.14e+9 1493a2647caeSdrh} {abc: 10 10 (3140000000) :xyz} 1494a2647caeSdrhdo_test printf-2.3.11.2 { 1495a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -4.72732e+88 1496a2647caeSdrh} {abc: (-4.7273200000e+88) :xyz} 1497a2647caeSdrhdo_test printf-2.3.11.3 { 1498a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -4.72732e+88 1499a2647caeSdrh} {abc: (-4.72732e+88) :xyz} 1500a2647caeSdrhdo_test printf-2.3.11.4 { 1501a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -4.72732e+88 1502a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz} 1503a2647caeSdrhdo_test printf-2.3.11.5 { 1504a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -4.72732e+88 1505a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz} 1506a2647caeSdrhdo_test printf-2.3.11.6 { 1507a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -4.72732e+88 1508a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz} 1509a2647caeSdrhdo_test printf-2.3.11.8 { 1510a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -4.72732e+88 1511a2647caeSdrh} {abc: 10 10 (-4.7273200000e+88) :xyz} 1512a2647caeSdrhdo_test printf-2.3.11.9 { 1513a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -4.72732e+88 1514a2647caeSdrh} {abc: 10 10 (-4.72732e+88) :xyz} 1515a2647caeSdrhdo_test printf-2.3.12.2 { 1516a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 9.87991e+143 1517a2647caeSdrh} {abc: (9.8799100000e+143) :xyz} 1518a2647caeSdrhdo_test printf-2.3.12.3 { 1519a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 9.87991e+143 1520a2647caeSdrh} {abc: (9.87991e+143) :xyz} 1521a2647caeSdrhdo_test printf-2.3.12.4 { 1522a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 9.87991e+143 1523a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz} 1524a2647caeSdrhdo_test printf-2.3.12.5 { 1525a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 9.87991e+143 1526a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz} 1527a2647caeSdrhdo_test printf-2.3.12.6 { 1528a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 9.87991e+143 1529a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz} 1530a2647caeSdrhdo_test printf-2.3.12.8 { 1531a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 9.87991e+143 1532a2647caeSdrh} {abc: 10 10 (9.8799100000e+143) :xyz} 1533a2647caeSdrhdo_test printf-2.3.12.9 { 1534a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 9.87991e+143 1535a2647caeSdrh} {abc: 10 10 (9.87991e+143) :xyz} 1536a2647caeSdrhdo_test printf-2.3.13.1 { 1537a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -6.287291e-9 1538a2647caeSdrh} {abc: (-0.0000000063) :xyz} 1539a2647caeSdrhdo_test printf-2.3.13.2 { 1540a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -6.287291e-9 1541a2647caeSdrh} {abc: (-6.2872910000e-09) :xyz} 1542a2647caeSdrhdo_test printf-2.3.13.3 { 1543a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -6.287291e-9 1544a2647caeSdrh} {abc: (-6.287291e-09) :xyz} 1545a2647caeSdrhdo_test printf-2.3.13.4 { 1546a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -6.287291e-9 1547a2647caeSdrh} {abc: 10 10 (-6.28729e-09) :xyz} 1548a2647caeSdrhdo_test printf-2.3.13.5 { 1549a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -6.287291e-9 1550a2647caeSdrh} {abc: 10 10 (-6.28729e-09) :xyz} 1551a2647caeSdrhdo_test printf-2.3.13.6 { 1552a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -6.287291e-9 1553a2647caeSdrh} {abc: 10 10 (-6.28729e-09) :xyz} 1554a2647caeSdrhdo_test printf-2.3.13.7 { 1555a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -6.287291e-9 1556a2647caeSdrh} {abc: 10 10 (-0.0000000063) :xyz} 1557a2647caeSdrhdo_test printf-2.3.13.8 { 1558a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -6.287291e-9 1559a2647caeSdrh} {abc: 10 10 (-6.2872910000e-09) :xyz} 1560a2647caeSdrhdo_test printf-2.3.13.9 { 1561a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -6.287291e-9 1562a2647caeSdrh} {abc: 10 10 (-6.287291e-09) :xyz} 1563a2647caeSdrhdo_test printf-2.3.14.1 { 1564a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 3.38826392e-110 1565a2647caeSdrh} {abc: (0.0000000000) :xyz} 1566a2647caeSdrhdo_test printf-2.3.14.2 { 1567a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 3.38826392e-110 1568a2647caeSdrh} {abc: (3.3882639200e-110) :xyz} 1569a2647caeSdrhdo_test printf-2.3.14.3 { 1570a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 3.38826392e-110 1571a2647caeSdrh} {abc: (3.38826392e-110) :xyz} 1572a2647caeSdrhdo_test printf-2.3.14.4 { 1573a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 3.38826392e-110 1574a2647caeSdrh} {abc: 10 10 (3.38826e-110) :xyz} 1575a2647caeSdrhdo_test printf-2.3.14.5 { 1576a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 3.38826392e-110 1577a2647caeSdrh} {abc: 10 10 (3.38826e-110) :xyz} 1578a2647caeSdrhdo_test printf-2.3.14.6 { 1579a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 3.38826392e-110 1580a2647caeSdrh} {abc: 10 10 (3.38826e-110) :xyz} 1581a2647caeSdrhdo_test printf-2.3.14.7 { 1582a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 3.38826392e-110 1583a2647caeSdrh} {abc: 10 10 (0.0000000000) :xyz} 1584a2647caeSdrhdo_test printf-2.3.14.8 { 1585a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 3.38826392e-110 1586a2647caeSdrh} {abc: 10 10 (3.3882639200e-110) :xyz} 1587a2647caeSdrhdo_test printf-2.3.14.9 { 1588a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 3.38826392e-110 1589a2647caeSdrh} {abc: 10 10 (3.38826392e-110) :xyz} 1590a2647caeSdrhdo_test printf-2.4.1.1 { 1591a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 0.001 1592a2647caeSdrh} {abc: ( 0.00100) :xyz} 1593a2647caeSdrhdo_test printf-2.4.1.2 { 1594a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 0.001 1595a2647caeSdrh} {abc: (1.00000e-03) :xyz} 1596a2647caeSdrhdo_test printf-2.4.1.3 { 1597a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 0.001 1598a2647caeSdrh} {abc: ( 0.001) :xyz} 1599a2647caeSdrhdo_test printf-2.4.1.4 { 1600a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 0.001 1601a2647caeSdrh} {abc: 10 5 (0.001) :xyz} 1602a2647caeSdrhdo_test printf-2.4.1.5 { 1603a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 0.001 1604a2647caeSdrh} {abc: 10 5 (0.00100000) :xyz} 1605a2647caeSdrhdo_test printf-2.4.1.6 { 1606a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 0.001 1607a2647caeSdrh} {abc: 10 5 (000000.001) :xyz} 1608a2647caeSdrhdo_test printf-2.4.1.7 { 1609a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 0.001 1610a2647caeSdrh} {abc: 10 5 ( 0.00100) :xyz} 1611a2647caeSdrhdo_test printf-2.4.1.8 { 1612a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 0.001 1613a2647caeSdrh} {abc: 10 5 (1.00000e-03) :xyz} 1614a2647caeSdrhdo_test printf-2.4.1.9 { 1615a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 0.001 1616a2647caeSdrh} {abc: 10 5 ( 0.001) :xyz} 1617a2647caeSdrhdo_test printf-2.4.2.1 { 1618a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 1.0e-20 1619a2647caeSdrh} {abc: ( 0.00000) :xyz} 1620a2647caeSdrhdo_test printf-2.4.2.2 { 1621a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 1.0e-20 1622a2647caeSdrh} {abc: (1.00000e-20) :xyz} 1623a2647caeSdrhdo_test printf-2.4.2.3 { 1624a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 1.0e-20 1625a2647caeSdrh} {abc: ( 1e-20) :xyz} 1626a2647caeSdrhdo_test printf-2.4.2.4 { 1627a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 1.0e-20 1628a2647caeSdrh} {abc: 10 5 (1e-20) :xyz} 1629a2647caeSdrhdo_test printf-2.4.2.5 { 1630a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 1.0e-20 1631a2647caeSdrh} {abc: 10 5 (1.00000e-20) :xyz} 1632a2647caeSdrhdo_test printf-2.4.2.6 { 1633a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 1.0e-20 1634a2647caeSdrh} {abc: 10 5 (000001e-20) :xyz} 1635a2647caeSdrhdo_test printf-2.4.2.7 { 1636a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 1.0e-20 1637a2647caeSdrh} {abc: 10 5 ( 0.00000) :xyz} 1638a2647caeSdrhdo_test printf-2.4.2.8 { 1639a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 1.0e-20 1640a2647caeSdrh} {abc: 10 5 (1.00000e-20) :xyz} 1641a2647caeSdrhdo_test printf-2.4.2.9 { 1642a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 1.0e-20 1643a2647caeSdrh} {abc: 10 5 ( 1e-20) :xyz} 1644a2647caeSdrhdo_test printf-2.4.3.1 { 1645a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 1.0 1646a2647caeSdrh} {abc: ( 1.00000) :xyz} 1647a2647caeSdrhdo_test printf-2.4.3.2 { 1648a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 1.0 1649a2647caeSdrh} {abc: (1.00000e+00) :xyz} 1650a2647caeSdrhdo_test printf-2.4.3.3 { 1651a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 1.0 1652a2647caeSdrh} {abc: ( 1) :xyz} 1653a2647caeSdrhdo_test printf-2.4.3.4 { 1654a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 1.0 1655a2647caeSdrh} {abc: 10 5 (1) :xyz} 1656a2647caeSdrhdo_test printf-2.4.3.5 { 1657a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 1.0 1658a2647caeSdrh} {abc: 10 5 (1.00000) :xyz} 1659a2647caeSdrhdo_test printf-2.4.3.6 { 1660a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 1.0 1661a2647caeSdrh} {abc: 10 5 (0000000001) :xyz} 1662a2647caeSdrhdo_test printf-2.4.3.7 { 1663a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 1.0 1664a2647caeSdrh} {abc: 10 5 ( 1.00000) :xyz} 1665a2647caeSdrhdo_test printf-2.4.3.8 { 1666a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 1.0 1667a2647caeSdrh} {abc: 10 5 (1.00000e+00) :xyz} 1668a2647caeSdrhdo_test printf-2.4.3.9 { 1669a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 1.0 1670a2647caeSdrh} {abc: 10 5 ( 1) :xyz} 1671a2647caeSdrhdo_test printf-2.4.4.1 { 1672a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 0.0 1673a2647caeSdrh} {abc: ( 0.00000) :xyz} 1674a2647caeSdrhdo_test printf-2.4.4.2 { 1675a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 0.0 1676a2647caeSdrh} {abc: (0.00000e+00) :xyz} 1677a2647caeSdrhdo_test printf-2.4.4.3 { 1678a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 0.0 1679a2647caeSdrh} {abc: ( 0) :xyz} 1680a2647caeSdrhdo_test printf-2.4.4.4 { 1681a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 0.0 1682a2647caeSdrh} {abc: 10 5 (0) :xyz} 1683a2647caeSdrhdo_test printf-2.4.4.5 { 1684a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 0.0 1685a2647caeSdrh} {abc: 10 5 (0.00000) :xyz} 1686a2647caeSdrhdo_test printf-2.4.4.6 { 1687a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 0.0 1688a2647caeSdrh} {abc: 10 5 (0000000000) :xyz} 1689a2647caeSdrhdo_test printf-2.4.4.7 { 1690a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 0.0 1691a2647caeSdrh} {abc: 10 5 ( 0.00000) :xyz} 1692a2647caeSdrhdo_test printf-2.4.4.8 { 1693a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 0.0 1694a2647caeSdrh} {abc: 10 5 (0.00000e+00) :xyz} 1695a2647caeSdrhdo_test printf-2.4.4.9 { 1696a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 0.0 1697a2647caeSdrh} {abc: 10 5 ( 0) :xyz} 1698a2647caeSdrhdo_test printf-2.4.5.1 { 1699a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 100.0 1700a2647caeSdrh} {abc: ( 100.00000) :xyz} 1701a2647caeSdrhdo_test printf-2.4.5.2 { 1702a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 100.0 1703a2647caeSdrh} {abc: (1.00000e+02) :xyz} 1704a2647caeSdrhdo_test printf-2.4.5.3 { 1705a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 100.0 1706a2647caeSdrh} {abc: ( 100) :xyz} 1707a2647caeSdrhdo_test printf-2.4.5.4 { 1708a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 100.0 1709a2647caeSdrh} {abc: 10 5 (100) :xyz} 1710a2647caeSdrhdo_test printf-2.4.5.5 { 1711a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 100.0 1712a2647caeSdrh} {abc: 10 5 (100.000) :xyz} 1713a2647caeSdrhdo_test printf-2.4.5.6 { 1714a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 100.0 1715a2647caeSdrh} {abc: 10 5 (0000000100) :xyz} 1716a2647caeSdrhdo_test printf-2.4.5.7 { 1717a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 100.0 1718a2647caeSdrh} {abc: 10 5 ( 100.00000) :xyz} 1719a2647caeSdrhdo_test printf-2.4.5.8 { 1720a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 100.0 1721a2647caeSdrh} {abc: 10 5 (1.00000e+02) :xyz} 1722a2647caeSdrhdo_test printf-2.4.5.9 { 1723a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 100.0 1724a2647caeSdrh} {abc: 10 5 ( 100) :xyz} 1725a2647caeSdrhdo_test printf-2.4.6.1 { 1726a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 9.99999 1727a2647caeSdrh} {abc: ( 9.99999) :xyz} 1728a2647caeSdrhdo_test printf-2.4.6.2 { 1729a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 9.99999 1730a2647caeSdrh} {abc: (9.99999e+00) :xyz} 1731a2647caeSdrhdo_test printf-2.4.6.3 { 1732a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 9.99999 1733a2647caeSdrh} {abc: ( 10) :xyz} 1734a2647caeSdrhdo_test printf-2.4.6.4 { 1735a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 9.99999 1736a2647caeSdrh} {abc: 10 5 (9.99999) :xyz} 1737a2647caeSdrhdo_test printf-2.4.6.5 { 1738a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 9.99999 1739a2647caeSdrh} {abc: 10 5 (9.99999) :xyz} 1740a2647caeSdrhdo_test printf-2.4.6.6 { 1741a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 9.99999 1742a2647caeSdrh} {abc: 10 5 (0009.99999) :xyz} 1743a2647caeSdrhdo_test printf-2.4.6.7 { 1744a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 9.99999 1745a2647caeSdrh} {abc: 10 5 ( 9.99999) :xyz} 1746a2647caeSdrhdo_test printf-2.4.6.8 { 1747a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 9.99999 1748a2647caeSdrh} {abc: 10 5 (9.99999e+00) :xyz} 1749a2647caeSdrhdo_test printf-2.4.6.9 { 1750a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 9.99999 1751a2647caeSdrh} {abc: 10 5 ( 10) :xyz} 1752a2647caeSdrhdo_test printf-2.4.7.1 { 1753a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -0.00543 1754a2647caeSdrh} {abc: ( -0.00543) :xyz} 1755a2647caeSdrhdo_test printf-2.4.7.2 { 1756a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -0.00543 1757a2647caeSdrh} {abc: (-5.43000e-03) :xyz} 1758a2647caeSdrhdo_test printf-2.4.7.3 { 1759a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -0.00543 1760a2647caeSdrh} {abc: ( -0.00543) :xyz} 1761a2647caeSdrhdo_test printf-2.4.7.4 { 1762a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -0.00543 1763a2647caeSdrh} {abc: 10 5 (-0.00543) :xyz} 1764a2647caeSdrhdo_test printf-2.4.7.5 { 1765a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -0.00543 1766a2647caeSdrh} {abc: 10 5 (-0.00543000) :xyz} 1767a2647caeSdrhdo_test printf-2.4.7.6 { 1768a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -0.00543 1769a2647caeSdrh} {abc: 10 5 (-000.00543) :xyz} 1770a2647caeSdrhdo_test printf-2.4.7.7 { 1771a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -0.00543 1772a2647caeSdrh} {abc: 10 5 ( -0.00543) :xyz} 1773a2647caeSdrhdo_test printf-2.4.7.8 { 1774a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -0.00543 1775a2647caeSdrh} {abc: 10 5 (-5.43000e-03) :xyz} 1776a2647caeSdrhdo_test printf-2.4.7.9 { 1777a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -0.00543 1778a2647caeSdrh} {abc: 10 5 ( -0.00543) :xyz} 1779a2647caeSdrhdo_test printf-2.4.8.1 { 1780a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -1.0 1781a2647caeSdrh} {abc: ( -1.00000) :xyz} 1782a2647caeSdrhdo_test printf-2.4.8.2 { 1783a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -1.0 1784a2647caeSdrh} {abc: (-1.00000e+00) :xyz} 1785a2647caeSdrhdo_test printf-2.4.8.3 { 1786a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -1.0 1787a2647caeSdrh} {abc: ( -1) :xyz} 1788a2647caeSdrhdo_test printf-2.4.8.4 { 1789a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -1.0 1790a2647caeSdrh} {abc: 10 5 (-1) :xyz} 1791a2647caeSdrhdo_test printf-2.4.8.5 { 1792a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -1.0 1793a2647caeSdrh} {abc: 10 5 (-1.00000) :xyz} 1794a2647caeSdrhdo_test printf-2.4.8.6 { 1795a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -1.0 1796a2647caeSdrh} {abc: 10 5 (-000000001) :xyz} 1797a2647caeSdrhdo_test printf-2.4.8.7 { 1798a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -1.0 1799a2647caeSdrh} {abc: 10 5 ( -1.00000) :xyz} 1800a2647caeSdrhdo_test printf-2.4.8.8 { 1801a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -1.0 1802a2647caeSdrh} {abc: 10 5 (-1.00000e+00) :xyz} 1803a2647caeSdrhdo_test printf-2.4.8.9 { 1804a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -1.0 1805a2647caeSdrh} {abc: 10 5 ( -1) :xyz} 1806a2647caeSdrhdo_test printf-2.4.9.1 { 1807a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -99.99999 1808a2647caeSdrh} {abc: ( -99.99999) :xyz} 1809a2647caeSdrhdo_test printf-2.4.9.2 { 1810a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -99.99999 1811a2647caeSdrh} {abc: (-1.00000e+02) :xyz} 1812a2647caeSdrhdo_test printf-2.4.9.3 { 1813a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -99.99999 1814a2647caeSdrh} {abc: ( -100) :xyz} 1815a2647caeSdrhdo_test printf-2.4.9.4 { 1816a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -99.99999 1817a2647caeSdrh} {abc: 10 5 (-100) :xyz} 1818a2647caeSdrhdo_test printf-2.4.9.5 { 1819a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -99.99999 1820a2647caeSdrh} {abc: 10 5 (-100.000) :xyz} 1821a2647caeSdrhdo_test printf-2.4.9.6 { 1822a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -99.99999 1823a2647caeSdrh} {abc: 10 5 (-000000100) :xyz} 1824a2647caeSdrhdo_test printf-2.4.9.7 { 1825a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -99.99999 1826a2647caeSdrh} {abc: 10 5 ( -99.99999) :xyz} 1827a2647caeSdrhdo_test printf-2.4.9.8 { 1828a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -99.99999 1829a2647caeSdrh} {abc: 10 5 (-1.00000e+02) :xyz} 1830a2647caeSdrhdo_test printf-2.4.9.9 { 1831a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -99.99999 1832a2647caeSdrh} {abc: 10 5 ( -100) :xyz} 1833a2647caeSdrhdo_test printf-2.4.10.1 { 1834a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 3.14e+9 1835a2647caeSdrh} {abc: (3140000000.00000) :xyz} 1836a2647caeSdrhdo_test printf-2.4.10.2 { 1837a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 3.14e+9 1838a2647caeSdrh} {abc: (3.14000e+09) :xyz} 1839a2647caeSdrhdo_test printf-2.4.10.3 { 1840a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 3.14e+9 1841a2647caeSdrh} {abc: ( 3.14e+09) :xyz} 1842a2647caeSdrhdo_test printf-2.4.10.4 { 1843a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 3.14e+9 1844a2647caeSdrh} {abc: 10 5 (3.14e+09) :xyz} 1845a2647caeSdrhdo_test printf-2.4.10.5 { 1846a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 3.14e+9 1847a2647caeSdrh} {abc: 10 5 (3.14000e+09) :xyz} 1848a2647caeSdrhdo_test printf-2.4.10.6 { 1849a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 3.14e+9 1850a2647caeSdrh} {abc: 10 5 (003.14e+09) :xyz} 1851a2647caeSdrhdo_test printf-2.4.10.7 { 1852a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 3.14e+9 1853a2647caeSdrh} {abc: 10 5 (3140000000.00000) :xyz} 1854a2647caeSdrhdo_test printf-2.4.10.8 { 1855a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 3.14e+9 1856a2647caeSdrh} {abc: 10 5 (3.14000e+09) :xyz} 1857a2647caeSdrhdo_test printf-2.4.10.9 { 1858a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 3.14e+9 1859a2647caeSdrh} {abc: 10 5 ( 3.14e+09) :xyz} 1860a2647caeSdrhdo_test printf-2.4.11.2 { 1861a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -4.72732e+88 1862a2647caeSdrh} {abc: (-4.72732e+88) :xyz} 1863a2647caeSdrhdo_test printf-2.4.11.3 { 1864a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -4.72732e+88 1865a2647caeSdrh} {abc: (-4.7273e+88) :xyz} 1866a2647caeSdrhdo_test printf-2.4.11.4 { 1867a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -4.72732e+88 1868a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz} 1869a2647caeSdrhdo_test printf-2.4.11.5 { 1870a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -4.72732e+88 1871a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz} 1872a2647caeSdrhdo_test printf-2.4.11.6 { 1873a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -4.72732e+88 1874a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz} 1875a2647caeSdrhdo_test printf-2.4.11.8 { 1876a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -4.72732e+88 1877a2647caeSdrh} {abc: 10 5 (-4.72732e+88) :xyz} 1878a2647caeSdrhdo_test printf-2.4.11.9 { 1879a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -4.72732e+88 1880a2647caeSdrh} {abc: 10 5 (-4.7273e+88) :xyz} 1881a2647caeSdrhdo_test printf-2.4.12.2 { 1882a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 9.87991e+143 1883a2647caeSdrh} {abc: (9.87991e+143) :xyz} 1884a2647caeSdrhdo_test printf-2.4.12.3 { 1885a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 9.87991e+143 1886a2647caeSdrh} {abc: (9.8799e+143) :xyz} 1887a2647caeSdrhdo_test printf-2.4.12.4 { 1888a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 9.87991e+143 1889a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz} 1890a2647caeSdrhdo_test printf-2.4.12.5 { 1891a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 9.87991e+143 1892a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz} 1893a2647caeSdrhdo_test printf-2.4.12.6 { 1894a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 9.87991e+143 1895a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz} 1896a2647caeSdrhdo_test printf-2.4.12.8 { 1897a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 9.87991e+143 1898a2647caeSdrh} {abc: 10 5 (9.87991e+143) :xyz} 1899a2647caeSdrhdo_test printf-2.4.12.9 { 1900a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 9.87991e+143 1901a2647caeSdrh} {abc: 10 5 (9.8799e+143) :xyz} 1902a2647caeSdrhdo_test printf-2.4.13.1 { 1903a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 -6.287291e-9 1904a2647caeSdrh} {abc: ( -0.00000) :xyz} 1905a2647caeSdrhdo_test printf-2.4.13.2 { 1906a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 -6.287291e-9 1907a2647caeSdrh} {abc: (-6.28729e-09) :xyz} 1908a2647caeSdrhdo_test printf-2.4.13.3 { 1909a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 -6.287291e-9 1910a2647caeSdrh} {abc: (-6.2873e-09) :xyz} 1911a2647caeSdrhdo_test printf-2.4.13.4 { 1912a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 -6.287291e-9 1913a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz} 1914a2647caeSdrhdo_test printf-2.4.13.5 { 1915a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 -6.287291e-9 1916a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz} 1917a2647caeSdrhdo_test printf-2.4.13.6 { 1918a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 -6.287291e-9 1919a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz} 1920a2647caeSdrhdo_test printf-2.4.13.7 { 1921a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 -6.287291e-9 1922a2647caeSdrh} {abc: 10 5 ( -0.00000) :xyz} 1923a2647caeSdrhdo_test printf-2.4.13.8 { 1924a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 -6.287291e-9 1925a2647caeSdrh} {abc: 10 5 (-6.28729e-09) :xyz} 1926a2647caeSdrhdo_test printf-2.4.13.9 { 1927a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 -6.287291e-9 1928a2647caeSdrh} {abc: 10 5 (-6.2873e-09) :xyz} 1929a2647caeSdrhdo_test printf-2.4.14.1 { 1930a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 3.38826392e-110 1931a2647caeSdrh} {abc: ( 0.00000) :xyz} 1932a2647caeSdrhdo_test printf-2.4.14.2 { 1933a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 3.38826392e-110 1934a2647caeSdrh} {abc: (3.38826e-110) :xyz} 1935a2647caeSdrhdo_test printf-2.4.14.3 { 1936a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 3.38826392e-110 1937a2647caeSdrh} {abc: (3.3883e-110) :xyz} 1938a2647caeSdrhdo_test printf-2.4.14.4 { 1939a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 3.38826392e-110 1940a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz} 1941a2647caeSdrhdo_test printf-2.4.14.5 { 1942a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 3.38826392e-110 1943a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz} 1944a2647caeSdrhdo_test printf-2.4.14.6 { 1945a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 3.38826392e-110 1946a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz} 1947a2647caeSdrhdo_test printf-2.4.14.7 { 1948a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 3.38826392e-110 1949a2647caeSdrh} {abc: 10 5 ( 0.00000) :xyz} 1950a2647caeSdrhdo_test printf-2.4.14.8 { 1951a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 3.38826392e-110 1952a2647caeSdrh} {abc: 10 5 (3.38826e-110) :xyz} 1953a2647caeSdrhdo_test printf-2.4.14.9 { 1954a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 3.38826392e-110 1955a2647caeSdrh} {abc: 10 5 (3.3883e-110) :xyz} 1956a2647caeSdrhdo_test printf-2.5.1.1 { 1957a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 0.001 1958a2647caeSdrh} {abc: (0.00) :xyz} 1959a2647caeSdrhdo_test printf-2.5.1.2 { 1960a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 0.001 1961a2647caeSdrh} {abc: (1.00e-03) :xyz} 1962a2647caeSdrhdo_test printf-2.5.1.3 { 1963a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 0.001 1964a2647caeSdrh} {abc: (0.001) :xyz} 1965a2647caeSdrhdo_test printf-2.5.1.4 { 1966a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 0.001 1967a2647caeSdrh} {abc: 2 2 (0.001) :xyz} 1968a2647caeSdrhdo_test printf-2.5.1.5 { 1969a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 0.001 1970a2647caeSdrh} {abc: 2 2 (0.00100000) :xyz} 1971a2647caeSdrhdo_test printf-2.5.1.6 { 1972a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 0.001 1973a2647caeSdrh} {abc: 2 2 (000000.001) :xyz} 1974a2647caeSdrhdo_test printf-2.5.1.7 { 1975a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 0.001 1976a2647caeSdrh} {abc: 2 2 (0.00) :xyz} 1977a2647caeSdrhdo_test printf-2.5.1.8 { 1978a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 0.001 1979a2647caeSdrh} {abc: 2 2 (1.00e-03) :xyz} 1980a2647caeSdrhdo_test printf-2.5.1.9 { 1981a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 0.001 1982a2647caeSdrh} {abc: 2 2 (0.001) :xyz} 1983a2647caeSdrhdo_test printf-2.5.2.1 { 1984a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 1.0e-20 1985a2647caeSdrh} {abc: (0.00) :xyz} 1986a2647caeSdrhdo_test printf-2.5.2.2 { 1987a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 1.0e-20 1988a2647caeSdrh} {abc: (1.00e-20) :xyz} 1989a2647caeSdrhdo_test printf-2.5.2.3 { 1990a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 1.0e-20 1991a2647caeSdrh} {abc: (1e-20) :xyz} 1992a2647caeSdrhdo_test printf-2.5.2.4 { 1993a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 1.0e-20 1994a2647caeSdrh} {abc: 2 2 (1e-20) :xyz} 1995a2647caeSdrhdo_test printf-2.5.2.5 { 1996a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 1.0e-20 1997a2647caeSdrh} {abc: 2 2 (1.00000e-20) :xyz} 1998a2647caeSdrhdo_test printf-2.5.2.6 { 1999a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 1.0e-20 2000a2647caeSdrh} {abc: 2 2 (000001e-20) :xyz} 2001a2647caeSdrhdo_test printf-2.5.2.7 { 2002a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 1.0e-20 2003a2647caeSdrh} {abc: 2 2 (0.00) :xyz} 2004a2647caeSdrhdo_test printf-2.5.2.8 { 2005a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 1.0e-20 2006a2647caeSdrh} {abc: 2 2 (1.00e-20) :xyz} 2007a2647caeSdrhdo_test printf-2.5.2.9 { 2008a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 1.0e-20 2009a2647caeSdrh} {abc: 2 2 (1e-20) :xyz} 2010a2647caeSdrhdo_test printf-2.5.3.1 { 2011a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 1.0 2012a2647caeSdrh} {abc: (1.00) :xyz} 2013a2647caeSdrhdo_test printf-2.5.3.2 { 2014a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 1.0 2015a2647caeSdrh} {abc: (1.00e+00) :xyz} 2016a2647caeSdrhdo_test printf-2.5.3.3 { 2017a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 1.0 2018a2647caeSdrh} {abc: ( 1) :xyz} 2019a2647caeSdrhdo_test printf-2.5.3.4 { 2020a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 1.0 2021a2647caeSdrh} {abc: 2 2 (1) :xyz} 2022a2647caeSdrhdo_test printf-2.5.3.5 { 2023a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 1.0 2024a2647caeSdrh} {abc: 2 2 (1.00000) :xyz} 2025a2647caeSdrhdo_test printf-2.5.3.6 { 2026a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 1.0 2027a2647caeSdrh} {abc: 2 2 (0000000001) :xyz} 2028a2647caeSdrhdo_test printf-2.5.3.7 { 2029a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 1.0 2030a2647caeSdrh} {abc: 2 2 (1.00) :xyz} 2031a2647caeSdrhdo_test printf-2.5.3.8 { 2032a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 1.0 2033a2647caeSdrh} {abc: 2 2 (1.00e+00) :xyz} 2034a2647caeSdrhdo_test printf-2.5.3.9 { 2035a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 1.0 2036a2647caeSdrh} {abc: 2 2 ( 1) :xyz} 2037a2647caeSdrhdo_test printf-2.5.4.1 { 2038a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 0.0 2039a2647caeSdrh} {abc: (0.00) :xyz} 2040a2647caeSdrhdo_test printf-2.5.4.2 { 2041a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 0.0 2042a2647caeSdrh} {abc: (0.00e+00) :xyz} 2043a2647caeSdrhdo_test printf-2.5.4.3 { 2044a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 0.0 2045a2647caeSdrh} {abc: ( 0) :xyz} 2046a2647caeSdrhdo_test printf-2.5.4.4 { 2047a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 0.0 2048a2647caeSdrh} {abc: 2 2 (0) :xyz} 2049a2647caeSdrhdo_test printf-2.5.4.5 { 2050a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 0.0 2051a2647caeSdrh} {abc: 2 2 (0.00000) :xyz} 2052a2647caeSdrhdo_test printf-2.5.4.6 { 2053a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 0.0 2054a2647caeSdrh} {abc: 2 2 (0000000000) :xyz} 2055a2647caeSdrhdo_test printf-2.5.4.7 { 2056a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 0.0 2057a2647caeSdrh} {abc: 2 2 (0.00) :xyz} 2058a2647caeSdrhdo_test printf-2.5.4.8 { 2059a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 0.0 2060a2647caeSdrh} {abc: 2 2 (0.00e+00) :xyz} 2061a2647caeSdrhdo_test printf-2.5.4.9 { 2062a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 0.0 2063a2647caeSdrh} {abc: 2 2 ( 0) :xyz} 2064a2647caeSdrhdo_test printf-2.5.5.1 { 2065a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 100.0 2066a2647caeSdrh} {abc: (100.00) :xyz} 2067a2647caeSdrhdo_test printf-2.5.5.2 { 2068a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 100.0 2069a2647caeSdrh} {abc: (1.00e+02) :xyz} 2070a2647caeSdrhdo_test printf-2.5.5.3 { 2071a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 100.0 2072a2647caeSdrh} {abc: (1e+02) :xyz} 2073a2647caeSdrhdo_test printf-2.5.5.4 { 2074a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 100.0 2075a2647caeSdrh} {abc: 2 2 (100) :xyz} 2076a2647caeSdrhdo_test printf-2.5.5.5 { 2077a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 100.0 2078a2647caeSdrh} {abc: 2 2 (100.000) :xyz} 2079a2647caeSdrhdo_test printf-2.5.5.6 { 2080a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 100.0 2081a2647caeSdrh} {abc: 2 2 (0000000100) :xyz} 2082a2647caeSdrhdo_test printf-2.5.5.7 { 2083a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 100.0 2084a2647caeSdrh} {abc: 2 2 (100.00) :xyz} 2085a2647caeSdrhdo_test printf-2.5.5.8 { 2086a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 100.0 2087a2647caeSdrh} {abc: 2 2 (1.00e+02) :xyz} 2088a2647caeSdrhdo_test printf-2.5.5.9 { 2089a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 100.0 2090a2647caeSdrh} {abc: 2 2 (1e+02) :xyz} 2091a2647caeSdrhdo_test printf-2.5.6.1 { 2092a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 9.99999 2093a2647caeSdrh} {abc: (10.00) :xyz} 2094a2647caeSdrhdo_test printf-2.5.6.2 { 2095a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 9.99999 2096a2647caeSdrh} {abc: (1.00e+01) :xyz} 2097a2647caeSdrhdo_test printf-2.5.6.3 { 2098a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 9.99999 2099a2647caeSdrh} {abc: (10) :xyz} 2100a2647caeSdrhdo_test printf-2.5.6.4 { 2101a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 9.99999 2102a2647caeSdrh} {abc: 2 2 (9.99999) :xyz} 2103a2647caeSdrhdo_test printf-2.5.6.5 { 2104a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 9.99999 2105a2647caeSdrh} {abc: 2 2 (9.99999) :xyz} 2106a2647caeSdrhdo_test printf-2.5.6.6 { 2107a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 9.99999 2108a2647caeSdrh} {abc: 2 2 (0009.99999) :xyz} 2109a2647caeSdrhdo_test printf-2.5.6.7 { 2110a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 9.99999 2111a2647caeSdrh} {abc: 2 2 (10.00) :xyz} 2112a2647caeSdrhdo_test printf-2.5.6.8 { 2113a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 9.99999 2114a2647caeSdrh} {abc: 2 2 (1.00e+01) :xyz} 2115a2647caeSdrhdo_test printf-2.5.6.9 { 2116a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 9.99999 2117a2647caeSdrh} {abc: 2 2 (10) :xyz} 2118a2647caeSdrhdo_test printf-2.5.7.1 { 2119a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -0.00543 2120a2647caeSdrh} {abc: (-0.01) :xyz} 2121a2647caeSdrhdo_test printf-2.5.7.2 { 2122a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -0.00543 2123a2647caeSdrh} {abc: (-5.43e-03) :xyz} 2124a2647caeSdrhdo_test printf-2.5.7.3 { 2125a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -0.00543 2126a2647caeSdrh} {abc: (-0.0054) :xyz} 2127a2647caeSdrhdo_test printf-2.5.7.4 { 2128a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -0.00543 2129a2647caeSdrh} {abc: 2 2 (-0.00543) :xyz} 2130a2647caeSdrhdo_test printf-2.5.7.5 { 2131a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -0.00543 2132a2647caeSdrh} {abc: 2 2 (-0.00543000) :xyz} 2133a2647caeSdrhdo_test printf-2.5.7.6 { 2134a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -0.00543 2135a2647caeSdrh} {abc: 2 2 (-000.00543) :xyz} 2136a2647caeSdrhdo_test printf-2.5.7.7 { 2137a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -0.00543 2138a2647caeSdrh} {abc: 2 2 (-0.01) :xyz} 2139a2647caeSdrhdo_test printf-2.5.7.8 { 2140a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -0.00543 2141a2647caeSdrh} {abc: 2 2 (-5.43e-03) :xyz} 2142a2647caeSdrhdo_test printf-2.5.7.9 { 2143a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -0.00543 2144a2647caeSdrh} {abc: 2 2 (-0.0054) :xyz} 2145a2647caeSdrhdo_test printf-2.5.8.1 { 2146a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -1.0 2147a2647caeSdrh} {abc: (-1.00) :xyz} 2148a2647caeSdrhdo_test printf-2.5.8.2 { 2149a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -1.0 2150a2647caeSdrh} {abc: (-1.00e+00) :xyz} 2151a2647caeSdrhdo_test printf-2.5.8.3 { 2152a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -1.0 2153a2647caeSdrh} {abc: (-1) :xyz} 2154a2647caeSdrhdo_test printf-2.5.8.4 { 2155a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -1.0 2156a2647caeSdrh} {abc: 2 2 (-1) :xyz} 2157a2647caeSdrhdo_test printf-2.5.8.5 { 2158a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -1.0 2159a2647caeSdrh} {abc: 2 2 (-1.00000) :xyz} 2160a2647caeSdrhdo_test printf-2.5.8.6 { 2161a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -1.0 2162a2647caeSdrh} {abc: 2 2 (-000000001) :xyz} 2163a2647caeSdrhdo_test printf-2.5.8.7 { 2164a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -1.0 2165a2647caeSdrh} {abc: 2 2 (-1.00) :xyz} 2166a2647caeSdrhdo_test printf-2.5.8.8 { 2167a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -1.0 2168a2647caeSdrh} {abc: 2 2 (-1.00e+00) :xyz} 2169a2647caeSdrhdo_test printf-2.5.8.9 { 2170a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -1.0 2171a2647caeSdrh} {abc: 2 2 (-1) :xyz} 2172a2647caeSdrhdo_test printf-2.5.9.1 { 2173a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -99.99999 2174a2647caeSdrh} {abc: (-100.00) :xyz} 2175a2647caeSdrhdo_test printf-2.5.9.2 { 2176a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -99.99999 2177a2647caeSdrh} {abc: (-1.00e+02) :xyz} 2178a2647caeSdrhdo_test printf-2.5.9.3 { 2179a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -99.99999 2180a2647caeSdrh} {abc: (-1e+02) :xyz} 2181a2647caeSdrhdo_test printf-2.5.9.4 { 2182a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -99.99999 2183a2647caeSdrh} {abc: 2 2 (-100) :xyz} 2184a2647caeSdrhdo_test printf-2.5.9.5 { 2185a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -99.99999 2186a2647caeSdrh} {abc: 2 2 (-100.000) :xyz} 2187a2647caeSdrhdo_test printf-2.5.9.6 { 2188a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -99.99999 2189a2647caeSdrh} {abc: 2 2 (-000000100) :xyz} 2190a2647caeSdrhdo_test printf-2.5.9.7 { 2191a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -99.99999 2192a2647caeSdrh} {abc: 2 2 (-100.00) :xyz} 2193a2647caeSdrhdo_test printf-2.5.9.8 { 2194a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -99.99999 2195a2647caeSdrh} {abc: 2 2 (-1.00e+02) :xyz} 2196a2647caeSdrhdo_test printf-2.5.9.9 { 2197a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -99.99999 2198a2647caeSdrh} {abc: 2 2 (-1e+02) :xyz} 2199a2647caeSdrhdo_test printf-2.5.10.1 { 2200a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 3.14e+9 2201a2647caeSdrh} {abc: (3140000000.00) :xyz} 2202a2647caeSdrhdo_test printf-2.5.10.2 { 2203a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 3.14e+9 2204a2647caeSdrh} {abc: (3.14e+09) :xyz} 2205a2647caeSdrhdo_test printf-2.5.10.3 { 2206a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 3.14e+9 2207a2647caeSdrh} {abc: (3.1e+09) :xyz} 2208a2647caeSdrhdo_test printf-2.5.10.4 { 2209a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 3.14e+9 2210a2647caeSdrh} {abc: 2 2 (3.14e+09) :xyz} 2211a2647caeSdrhdo_test printf-2.5.10.5 { 2212a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 3.14e+9 2213a2647caeSdrh} {abc: 2 2 (3.14000e+09) :xyz} 2214a2647caeSdrhdo_test printf-2.5.10.6 { 2215a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 3.14e+9 2216a2647caeSdrh} {abc: 2 2 (003.14e+09) :xyz} 2217a2647caeSdrhdo_test printf-2.5.10.7 { 2218a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 3.14e+9 2219a2647caeSdrh} {abc: 2 2 (3140000000.00) :xyz} 2220a2647caeSdrhdo_test printf-2.5.10.8 { 2221a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 3.14e+9 2222a2647caeSdrh} {abc: 2 2 (3.14e+09) :xyz} 2223a2647caeSdrhdo_test printf-2.5.10.9 { 2224a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 3.14e+9 2225a2647caeSdrh} {abc: 2 2 (3.1e+09) :xyz} 2226a2647caeSdrhdo_test printf-2.5.11.2 { 2227a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -4.72732e+88 2228a2647caeSdrh} {abc: (-4.73e+88) :xyz} 2229a2647caeSdrhdo_test printf-2.5.11.3 { 2230a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -4.72732e+88 2231a2647caeSdrh} {abc: (-4.7e+88) :xyz} 2232a2647caeSdrhdo_test printf-2.5.11.4 { 2233a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -4.72732e+88 2234a2647caeSdrh} {abc: 2 2 (-4.72732e+88) :xyz} 2235a2647caeSdrhdo_test printf-2.5.11.5 { 2236a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -4.72732e+88 2237a2647caeSdrh} {abc: 2 2 (-4.72732e+88) :xyz} 2238a2647caeSdrhdo_test printf-2.5.11.6 { 2239a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -4.72732e+88 2240a2647caeSdrh} {abc: 2 2 (-4.72732e+88) :xyz} 2241a2647caeSdrhdo_test printf-2.5.11.8 { 2242a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -4.72732e+88 2243a2647caeSdrh} {abc: 2 2 (-4.73e+88) :xyz} 2244a2647caeSdrhdo_test printf-2.5.11.9 { 2245a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -4.72732e+88 2246a2647caeSdrh} {abc: 2 2 (-4.7e+88) :xyz} 2247a2647caeSdrhdo_test printf-2.5.12.2 { 2248a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 9.87991e+143 2249a2647caeSdrh} {abc: (9.88e+143) :xyz} 2250a2647caeSdrhdo_test printf-2.5.12.3 { 2251a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 9.87991e+143 2252a2647caeSdrh} {abc: (9.9e+143) :xyz} 2253a2647caeSdrhdo_test printf-2.5.12.4 { 2254a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 9.87991e+143 2255a2647caeSdrh} {abc: 2 2 (9.87991e+143) :xyz} 2256a2647caeSdrhdo_test printf-2.5.12.5 { 2257a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 9.87991e+143 2258a2647caeSdrh} {abc: 2 2 (9.87991e+143) :xyz} 2259a2647caeSdrhdo_test printf-2.5.12.6 { 2260a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 9.87991e+143 2261a2647caeSdrh} {abc: 2 2 (9.87991e+143) :xyz} 2262a2647caeSdrhdo_test printf-2.5.12.8 { 2263a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 9.87991e+143 2264a2647caeSdrh} {abc: 2 2 (9.88e+143) :xyz} 2265a2647caeSdrhdo_test printf-2.5.12.9 { 2266a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 9.87991e+143 2267a2647caeSdrh} {abc: 2 2 (9.9e+143) :xyz} 2268a2647caeSdrhdo_test printf-2.5.13.1 { 2269a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 -6.287291e-9 2270a2647caeSdrh} {abc: (-0.00) :xyz} 2271a2647caeSdrhdo_test printf-2.5.13.2 { 2272a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 -6.287291e-9 2273a2647caeSdrh} {abc: (-6.29e-09) :xyz} 2274a2647caeSdrhdo_test printf-2.5.13.3 { 2275a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 -6.287291e-9 2276a2647caeSdrh} {abc: (-6.3e-09) :xyz} 2277a2647caeSdrhdo_test printf-2.5.13.4 { 2278a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 -6.287291e-9 2279a2647caeSdrh} {abc: 2 2 (-6.28729e-09) :xyz} 2280a2647caeSdrhdo_test printf-2.5.13.5 { 2281a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 -6.287291e-9 2282a2647caeSdrh} {abc: 2 2 (-6.28729e-09) :xyz} 2283a2647caeSdrhdo_test printf-2.5.13.6 { 2284a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 -6.287291e-9 2285a2647caeSdrh} {abc: 2 2 (-6.28729e-09) :xyz} 2286a2647caeSdrhdo_test printf-2.5.13.7 { 2287a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 -6.287291e-9 2288a2647caeSdrh} {abc: 2 2 (-0.00) :xyz} 2289a2647caeSdrhdo_test printf-2.5.13.8 { 2290a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 -6.287291e-9 2291a2647caeSdrh} {abc: 2 2 (-6.29e-09) :xyz} 2292a2647caeSdrhdo_test printf-2.5.13.9 { 2293a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 -6.287291e-9 2294a2647caeSdrh} {abc: 2 2 (-6.3e-09) :xyz} 2295a2647caeSdrhdo_test printf-2.5.14.1 { 2296a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 2 3.38826392e-110 2297a2647caeSdrh} {abc: (0.00) :xyz} 2298a2647caeSdrhdo_test printf-2.5.14.2 { 2299a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 2 3.38826392e-110 2300a2647caeSdrh} {abc: (3.39e-110) :xyz} 2301a2647caeSdrhdo_test printf-2.5.14.3 { 2302a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 2 3.38826392e-110 2303a2647caeSdrh} {abc: (3.4e-110) :xyz} 2304a2647caeSdrhdo_test printf-2.5.14.4 { 2305a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 2 3.38826392e-110 2306a2647caeSdrh} {abc: 2 2 (3.38826e-110) :xyz} 2307a2647caeSdrhdo_test printf-2.5.14.5 { 2308a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 2 3.38826392e-110 2309a2647caeSdrh} {abc: 2 2 (3.38826e-110) :xyz} 2310a2647caeSdrhdo_test printf-2.5.14.6 { 2311a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 2 3.38826392e-110 2312a2647caeSdrh} {abc: 2 2 (3.38826e-110) :xyz} 2313a2647caeSdrhdo_test printf-2.5.14.7 { 2314a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2f) :xyz} 2 2 3.38826392e-110 2315a2647caeSdrh} {abc: 2 2 (0.00) :xyz} 2316a2647caeSdrhdo_test printf-2.5.14.8 { 2317a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2e) :xyz} 2 2 3.38826392e-110 2318a2647caeSdrh} {abc: 2 2 (3.39e-110) :xyz} 2319a2647caeSdrhdo_test printf-2.5.14.9 { 2320a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.2g) :xyz} 2 2 3.38826392e-110 2321a2647caeSdrh} {abc: 2 2 (3.4e-110) :xyz} 2322a2647caeSdrhdo_test printf-2.6.1.1 { 2323a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 0.001 2324a2647caeSdrh} {abc: (0.001) :xyz} 2325a2647caeSdrhdo_test printf-2.6.1.2 { 2326a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 0.001 2327a2647caeSdrh} {abc: (1.000e-03) :xyz} 2328a2647caeSdrhdo_test printf-2.6.1.3 { 2329a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 0.001 2330a2647caeSdrh} {abc: (0.001) :xyz} 2331a2647caeSdrhdo_test printf-2.6.1.4 { 2332a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 0.001 2333a2647caeSdrh} {abc: 2 3 (0.001) :xyz} 2334a2647caeSdrhdo_test printf-2.6.1.5 { 2335a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 0.001 2336a2647caeSdrh} {abc: 2 3 (0.00100000) :xyz} 2337a2647caeSdrhdo_test printf-2.6.1.6 { 2338a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 0.001 2339a2647caeSdrh} {abc: 2 3 (000000.001) :xyz} 2340a2647caeSdrhdo_test printf-2.6.1.7 { 2341a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 0.001 2342a2647caeSdrh} {abc: 2 3 (0.001) :xyz} 2343a2647caeSdrhdo_test printf-2.6.1.8 { 2344a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 0.001 2345a2647caeSdrh} {abc: 2 3 (1.000e-03) :xyz} 2346a2647caeSdrhdo_test printf-2.6.1.9 { 2347a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 0.001 2348a2647caeSdrh} {abc: 2 3 (0.001) :xyz} 2349a2647caeSdrhdo_test printf-2.6.2.1 { 2350a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 1.0e-20 2351a2647caeSdrh} {abc: (0.000) :xyz} 2352a2647caeSdrhdo_test printf-2.6.2.2 { 2353a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 1.0e-20 2354a2647caeSdrh} {abc: (1.000e-20) :xyz} 2355a2647caeSdrhdo_test printf-2.6.2.3 { 2356a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 1.0e-20 2357a2647caeSdrh} {abc: (1e-20) :xyz} 2358a2647caeSdrhdo_test printf-2.6.2.4 { 2359a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 1.0e-20 2360a2647caeSdrh} {abc: 2 3 (1e-20) :xyz} 2361a2647caeSdrhdo_test printf-2.6.2.5 { 2362a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 1.0e-20 2363a2647caeSdrh} {abc: 2 3 (1.00000e-20) :xyz} 2364a2647caeSdrhdo_test printf-2.6.2.6 { 2365a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 1.0e-20 2366a2647caeSdrh} {abc: 2 3 (000001e-20) :xyz} 2367a2647caeSdrhdo_test printf-2.6.2.7 { 2368a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 1.0e-20 2369a2647caeSdrh} {abc: 2 3 (0.000) :xyz} 2370a2647caeSdrhdo_test printf-2.6.2.8 { 2371a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 1.0e-20 2372a2647caeSdrh} {abc: 2 3 (1.000e-20) :xyz} 2373a2647caeSdrhdo_test printf-2.6.2.9 { 2374a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 1.0e-20 2375a2647caeSdrh} {abc: 2 3 (1e-20) :xyz} 2376a2647caeSdrhdo_test printf-2.6.3.1 { 2377a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 1.0 2378a2647caeSdrh} {abc: (1.000) :xyz} 2379a2647caeSdrhdo_test printf-2.6.3.2 { 2380a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 1.0 2381a2647caeSdrh} {abc: (1.000e+00) :xyz} 2382a2647caeSdrhdo_test printf-2.6.3.3 { 2383a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 1.0 2384a2647caeSdrh} {abc: ( 1) :xyz} 2385a2647caeSdrhdo_test printf-2.6.3.4 { 2386a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 1.0 2387a2647caeSdrh} {abc: 2 3 (1) :xyz} 2388a2647caeSdrhdo_test printf-2.6.3.5 { 2389a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 1.0 2390a2647caeSdrh} {abc: 2 3 (1.00000) :xyz} 2391a2647caeSdrhdo_test printf-2.6.3.6 { 2392a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 1.0 2393a2647caeSdrh} {abc: 2 3 (0000000001) :xyz} 2394a2647caeSdrhdo_test printf-2.6.3.7 { 2395a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 1.0 2396a2647caeSdrh} {abc: 2 3 (1.000) :xyz} 2397a2647caeSdrhdo_test printf-2.6.3.8 { 2398a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 1.0 2399a2647caeSdrh} {abc: 2 3 (1.000e+00) :xyz} 2400a2647caeSdrhdo_test printf-2.6.3.9 { 2401a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 1.0 2402a2647caeSdrh} {abc: 2 3 ( 1) :xyz} 2403a2647caeSdrhdo_test printf-2.6.4.1 { 2404a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 0.0 2405a2647caeSdrh} {abc: (0.000) :xyz} 2406a2647caeSdrhdo_test printf-2.6.4.2 { 2407a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 0.0 2408a2647caeSdrh} {abc: (0.000e+00) :xyz} 2409a2647caeSdrhdo_test printf-2.6.4.3 { 2410a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 0.0 2411a2647caeSdrh} {abc: ( 0) :xyz} 2412a2647caeSdrhdo_test printf-2.6.4.4 { 2413a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 0.0 2414a2647caeSdrh} {abc: 2 3 (0) :xyz} 2415a2647caeSdrhdo_test printf-2.6.4.5 { 2416a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 0.0 2417a2647caeSdrh} {abc: 2 3 (0.00000) :xyz} 2418a2647caeSdrhdo_test printf-2.6.4.6 { 2419a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 0.0 2420a2647caeSdrh} {abc: 2 3 (0000000000) :xyz} 2421a2647caeSdrhdo_test printf-2.6.4.7 { 2422a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 0.0 2423a2647caeSdrh} {abc: 2 3 (0.000) :xyz} 2424a2647caeSdrhdo_test printf-2.6.4.8 { 2425a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 0.0 2426a2647caeSdrh} {abc: 2 3 (0.000e+00) :xyz} 2427a2647caeSdrhdo_test printf-2.6.4.9 { 2428a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 0.0 2429a2647caeSdrh} {abc: 2 3 ( 0) :xyz} 2430a2647caeSdrhdo_test printf-2.6.5.1 { 2431a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 100.0 2432a2647caeSdrh} {abc: (100.000) :xyz} 2433a2647caeSdrhdo_test printf-2.6.5.2 { 2434a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 100.0 2435a2647caeSdrh} {abc: (1.000e+02) :xyz} 2436a2647caeSdrhdo_test printf-2.6.5.3 { 2437a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 100.0 2438a2647caeSdrh} {abc: (100) :xyz} 2439a2647caeSdrhdo_test printf-2.6.5.4 { 2440a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 100.0 2441a2647caeSdrh} {abc: 2 3 (100) :xyz} 2442a2647caeSdrhdo_test printf-2.6.5.5 { 2443a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 100.0 2444a2647caeSdrh} {abc: 2 3 (100.000) :xyz} 2445a2647caeSdrhdo_test printf-2.6.5.6 { 2446a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 100.0 2447a2647caeSdrh} {abc: 2 3 (0000000100) :xyz} 2448a2647caeSdrhdo_test printf-2.6.5.7 { 2449a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 100.0 2450a2647caeSdrh} {abc: 2 3 (100.000) :xyz} 2451a2647caeSdrhdo_test printf-2.6.5.8 { 2452a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 100.0 2453a2647caeSdrh} {abc: 2 3 (1.000e+02) :xyz} 2454a2647caeSdrhdo_test printf-2.6.5.9 { 2455a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 100.0 2456a2647caeSdrh} {abc: 2 3 (100) :xyz} 2457a2647caeSdrhdo_test printf-2.6.6.1 { 2458a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 9.99999 2459a2647caeSdrh} {abc: (10.000) :xyz} 2460a2647caeSdrhdo_test printf-2.6.6.2 { 2461a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 9.99999 2462a2647caeSdrh} {abc: (1.000e+01) :xyz} 2463a2647caeSdrhdo_test printf-2.6.6.3 { 2464a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 9.99999 2465a2647caeSdrh} {abc: (10) :xyz} 2466a2647caeSdrhdo_test printf-2.6.6.4 { 2467a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 9.99999 2468a2647caeSdrh} {abc: 2 3 (9.99999) :xyz} 2469a2647caeSdrhdo_test printf-2.6.6.5 { 2470a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 9.99999 2471a2647caeSdrh} {abc: 2 3 (9.99999) :xyz} 2472a2647caeSdrhdo_test printf-2.6.6.6 { 2473a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 9.99999 2474a2647caeSdrh} {abc: 2 3 (0009.99999) :xyz} 2475a2647caeSdrhdo_test printf-2.6.6.7 { 2476a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 9.99999 2477a2647caeSdrh} {abc: 2 3 (10.000) :xyz} 2478a2647caeSdrhdo_test printf-2.6.6.8 { 2479a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 9.99999 2480a2647caeSdrh} {abc: 2 3 (1.000e+01) :xyz} 2481a2647caeSdrhdo_test printf-2.6.6.9 { 2482a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 9.99999 2483a2647caeSdrh} {abc: 2 3 (10) :xyz} 2484a2647caeSdrhdo_test printf-2.6.7.1 { 2485a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -0.00543 2486a2647caeSdrh} {abc: (-0.005) :xyz} 2487a2647caeSdrhdo_test printf-2.6.7.2 { 2488a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -0.00543 2489a2647caeSdrh} {abc: (-5.430e-03) :xyz} 2490a2647caeSdrhdo_test printf-2.6.7.3 { 2491a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -0.00543 2492a2647caeSdrh} {abc: (-0.00543) :xyz} 2493a2647caeSdrhdo_test printf-2.6.7.4 { 2494a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -0.00543 2495a2647caeSdrh} {abc: 2 3 (-0.00543) :xyz} 2496a2647caeSdrhdo_test printf-2.6.7.5 { 2497a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -0.00543 2498a2647caeSdrh} {abc: 2 3 (-0.00543000) :xyz} 2499a2647caeSdrhdo_test printf-2.6.7.6 { 2500a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -0.00543 2501a2647caeSdrh} {abc: 2 3 (-000.00543) :xyz} 2502a2647caeSdrhdo_test printf-2.6.7.7 { 2503a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -0.00543 2504a2647caeSdrh} {abc: 2 3 (-0.005) :xyz} 2505a2647caeSdrhdo_test printf-2.6.7.8 { 2506a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -0.00543 2507a2647caeSdrh} {abc: 2 3 (-5.430e-03) :xyz} 2508a2647caeSdrhdo_test printf-2.6.7.9 { 2509a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -0.00543 2510a2647caeSdrh} {abc: 2 3 (-0.00543) :xyz} 2511a2647caeSdrhdo_test printf-2.6.8.1 { 2512a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -1.0 2513a2647caeSdrh} {abc: (-1.000) :xyz} 2514a2647caeSdrhdo_test printf-2.6.8.2 { 2515a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -1.0 2516a2647caeSdrh} {abc: (-1.000e+00) :xyz} 2517a2647caeSdrhdo_test printf-2.6.8.3 { 2518a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -1.0 2519a2647caeSdrh} {abc: (-1) :xyz} 2520a2647caeSdrhdo_test printf-2.6.8.4 { 2521a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -1.0 2522a2647caeSdrh} {abc: 2 3 (-1) :xyz} 2523a2647caeSdrhdo_test printf-2.6.8.5 { 2524a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -1.0 2525a2647caeSdrh} {abc: 2 3 (-1.00000) :xyz} 2526a2647caeSdrhdo_test printf-2.6.8.6 { 2527a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -1.0 2528a2647caeSdrh} {abc: 2 3 (-000000001) :xyz} 2529a2647caeSdrhdo_test printf-2.6.8.7 { 2530a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -1.0 2531a2647caeSdrh} {abc: 2 3 (-1.000) :xyz} 2532a2647caeSdrhdo_test printf-2.6.8.8 { 2533a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -1.0 2534a2647caeSdrh} {abc: 2 3 (-1.000e+00) :xyz} 2535a2647caeSdrhdo_test printf-2.6.8.9 { 2536a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -1.0 2537a2647caeSdrh} {abc: 2 3 (-1) :xyz} 2538a2647caeSdrhdo_test printf-2.6.9.1 { 2539a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -99.99999 2540a2647caeSdrh} {abc: (-100.000) :xyz} 2541a2647caeSdrhdo_test printf-2.6.9.2 { 2542a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -99.99999 2543a2647caeSdrh} {abc: (-1.000e+02) :xyz} 2544a2647caeSdrhdo_test printf-2.6.9.3 { 2545a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -99.99999 2546a2647caeSdrh} {abc: (-100) :xyz} 2547a2647caeSdrhdo_test printf-2.6.9.4 { 2548a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -99.99999 2549a2647caeSdrh} {abc: 2 3 (-100) :xyz} 2550a2647caeSdrhdo_test printf-2.6.9.5 { 2551a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -99.99999 2552a2647caeSdrh} {abc: 2 3 (-100.000) :xyz} 2553a2647caeSdrhdo_test printf-2.6.9.6 { 2554a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -99.99999 2555a2647caeSdrh} {abc: 2 3 (-000000100) :xyz} 2556a2647caeSdrhdo_test printf-2.6.9.7 { 2557a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -99.99999 2558a2647caeSdrh} {abc: 2 3 (-100.000) :xyz} 2559a2647caeSdrhdo_test printf-2.6.9.8 { 2560a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -99.99999 2561a2647caeSdrh} {abc: 2 3 (-1.000e+02) :xyz} 2562a2647caeSdrhdo_test printf-2.6.9.9 { 2563a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -99.99999 2564a2647caeSdrh} {abc: 2 3 (-100) :xyz} 2565a2647caeSdrhdo_test printf-2.6.10.1 { 2566a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 3.14e+9 2567a2647caeSdrh} {abc: (3140000000.000) :xyz} 2568a2647caeSdrhdo_test printf-2.6.10.2 { 2569a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 3.14e+9 2570a2647caeSdrh} {abc: (3.140e+09) :xyz} 2571a2647caeSdrhdo_test printf-2.6.10.3 { 2572a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 3.14e+9 2573a2647caeSdrh} {abc: (3.14e+09) :xyz} 2574a2647caeSdrhdo_test printf-2.6.10.4 { 2575a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 3.14e+9 2576a2647caeSdrh} {abc: 2 3 (3.14e+09) :xyz} 2577a2647caeSdrhdo_test printf-2.6.10.5 { 2578a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 3.14e+9 2579a2647caeSdrh} {abc: 2 3 (3.14000e+09) :xyz} 2580a2647caeSdrhdo_test printf-2.6.10.6 { 2581a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 3.14e+9 2582a2647caeSdrh} {abc: 2 3 (003.14e+09) :xyz} 2583a2647caeSdrhdo_test printf-2.6.10.7 { 2584a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 3.14e+9 2585a2647caeSdrh} {abc: 2 3 (3140000000.000) :xyz} 2586a2647caeSdrhdo_test printf-2.6.10.8 { 2587a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 3.14e+9 2588a2647caeSdrh} {abc: 2 3 (3.140e+09) :xyz} 2589a2647caeSdrhdo_test printf-2.6.10.9 { 2590a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 3.14e+9 2591a2647caeSdrh} {abc: 2 3 (3.14e+09) :xyz} 2592a2647caeSdrhdo_test printf-2.6.11.2 { 2593a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -4.72732e+88 2594a2647caeSdrh} {abc: (-4.727e+88) :xyz} 2595a2647caeSdrhdo_test printf-2.6.11.3 { 2596a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -4.72732e+88 2597a2647caeSdrh} {abc: (-4.73e+88) :xyz} 2598a2647caeSdrhdo_test printf-2.6.11.4 { 2599a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -4.72732e+88 2600a2647caeSdrh} {abc: 2 3 (-4.72732e+88) :xyz} 2601a2647caeSdrhdo_test printf-2.6.11.5 { 2602a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -4.72732e+88 2603a2647caeSdrh} {abc: 2 3 (-4.72732e+88) :xyz} 2604a2647caeSdrhdo_test printf-2.6.11.6 { 2605a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -4.72732e+88 2606a2647caeSdrh} {abc: 2 3 (-4.72732e+88) :xyz} 2607a2647caeSdrhdo_test printf-2.6.11.8 { 2608a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -4.72732e+88 2609a2647caeSdrh} {abc: 2 3 (-4.727e+88) :xyz} 2610a2647caeSdrhdo_test printf-2.6.11.9 { 2611a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -4.72732e+88 2612a2647caeSdrh} {abc: 2 3 (-4.73e+88) :xyz} 2613a2647caeSdrhdo_test printf-2.6.12.2 { 2614a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 9.87991e+143 2615a2647caeSdrh} {abc: (9.880e+143) :xyz} 2616a2647caeSdrhdo_test printf-2.6.12.3 { 2617a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 9.87991e+143 2618a2647caeSdrh} {abc: (9.88e+143) :xyz} 2619a2647caeSdrhdo_test printf-2.6.12.4 { 2620a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 9.87991e+143 2621a2647caeSdrh} {abc: 2 3 (9.87991e+143) :xyz} 2622a2647caeSdrhdo_test printf-2.6.12.5 { 2623a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 9.87991e+143 2624a2647caeSdrh} {abc: 2 3 (9.87991e+143) :xyz} 2625a2647caeSdrhdo_test printf-2.6.12.6 { 2626a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 9.87991e+143 2627a2647caeSdrh} {abc: 2 3 (9.87991e+143) :xyz} 2628a2647caeSdrhdo_test printf-2.6.12.8 { 2629a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 9.87991e+143 2630a2647caeSdrh} {abc: 2 3 (9.880e+143) :xyz} 2631a2647caeSdrhdo_test printf-2.6.12.9 { 2632a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 9.87991e+143 2633a2647caeSdrh} {abc: 2 3 (9.88e+143) :xyz} 2634a2647caeSdrhdo_test printf-2.6.13.1 { 2635a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 -6.287291e-9 2636a2647caeSdrh} {abc: (-0.000) :xyz} 2637a2647caeSdrhdo_test printf-2.6.13.2 { 2638a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 -6.287291e-9 2639a2647caeSdrh} {abc: (-6.287e-09) :xyz} 2640a2647caeSdrhdo_test printf-2.6.13.3 { 2641a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 -6.287291e-9 2642a2647caeSdrh} {abc: (-6.29e-09) :xyz} 2643a2647caeSdrhdo_test printf-2.6.13.4 { 2644a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 -6.287291e-9 2645a2647caeSdrh} {abc: 2 3 (-6.28729e-09) :xyz} 2646a2647caeSdrhdo_test printf-2.6.13.5 { 2647a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 -6.287291e-9 2648a2647caeSdrh} {abc: 2 3 (-6.28729e-09) :xyz} 2649a2647caeSdrhdo_test printf-2.6.13.6 { 2650a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 -6.287291e-9 2651a2647caeSdrh} {abc: 2 3 (-6.28729e-09) :xyz} 2652a2647caeSdrhdo_test printf-2.6.13.7 { 2653a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 -6.287291e-9 2654a2647caeSdrh} {abc: 2 3 (-0.000) :xyz} 2655a2647caeSdrhdo_test printf-2.6.13.8 { 2656a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 -6.287291e-9 2657a2647caeSdrh} {abc: 2 3 (-6.287e-09) :xyz} 2658a2647caeSdrhdo_test printf-2.6.13.9 { 2659a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 -6.287291e-9 2660a2647caeSdrh} {abc: 2 3 (-6.29e-09) :xyz} 2661a2647caeSdrhdo_test printf-2.6.14.1 { 2662a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 2 3 3.38826392e-110 2663a2647caeSdrh} {abc: (0.000) :xyz} 2664a2647caeSdrhdo_test printf-2.6.14.2 { 2665a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 2 3 3.38826392e-110 2666a2647caeSdrh} {abc: (3.388e-110) :xyz} 2667a2647caeSdrhdo_test printf-2.6.14.3 { 2668a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 2 3 3.38826392e-110 2669a2647caeSdrh} {abc: (3.39e-110) :xyz} 2670a2647caeSdrhdo_test printf-2.6.14.4 { 2671a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 2 3 3.38826392e-110 2672a2647caeSdrh} {abc: 2 3 (3.38826e-110) :xyz} 2673a2647caeSdrhdo_test printf-2.6.14.5 { 2674a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 2 3 3.38826392e-110 2675a2647caeSdrh} {abc: 2 3 (3.38826e-110) :xyz} 2676a2647caeSdrhdo_test printf-2.6.14.6 { 2677a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 2 3 3.38826392e-110 2678a2647caeSdrh} {abc: 2 3 (3.38826e-110) :xyz} 2679a2647caeSdrhdo_test printf-2.6.14.7 { 2680a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3f) :xyz} 2 3 3.38826392e-110 2681a2647caeSdrh} {abc: 2 3 (0.000) :xyz} 2682a2647caeSdrhdo_test printf-2.6.14.8 { 2683a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3e) :xyz} 2 3 3.38826392e-110 2684a2647caeSdrh} {abc: 2 3 (3.388e-110) :xyz} 2685a2647caeSdrhdo_test printf-2.6.14.9 { 2686a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%2.3g) :xyz} 2 3 3.38826392e-110 2687a2647caeSdrh} {abc: 2 3 (3.39e-110) :xyz} 2688a2647caeSdrhdo_test printf-2.7.1.1 { 2689a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 0.001 2690a2647caeSdrh} {abc: (0.001) :xyz} 2691a2647caeSdrhdo_test printf-2.7.1.2 { 2692a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 0.001 2693a2647caeSdrh} {abc: (1.000e-03) :xyz} 2694a2647caeSdrhdo_test printf-2.7.1.3 { 2695a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 0.001 2696a2647caeSdrh} {abc: (0.001) :xyz} 2697a2647caeSdrhdo_test printf-2.7.1.4 { 2698a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 0.001 2699a2647caeSdrh} {abc: 3 3 (0.001) :xyz} 2700a2647caeSdrhdo_test printf-2.7.1.5 { 2701a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 0.001 2702a2647caeSdrh} {abc: 3 3 (0.00100000) :xyz} 2703a2647caeSdrhdo_test printf-2.7.1.6 { 2704a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 0.001 2705a2647caeSdrh} {abc: 3 3 (000000.001) :xyz} 2706a2647caeSdrhdo_test printf-2.7.1.7 { 2707a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 0.001 2708a2647caeSdrh} {abc: 3 3 (0.001) :xyz} 2709a2647caeSdrhdo_test printf-2.7.1.8 { 2710a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 0.001 2711a2647caeSdrh} {abc: 3 3 (1.000e-03) :xyz} 2712a2647caeSdrhdo_test printf-2.7.1.9 { 2713a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 0.001 2714a2647caeSdrh} {abc: 3 3 (0.001) :xyz} 2715a2647caeSdrhdo_test printf-2.7.2.1 { 2716a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 1.0e-20 2717a2647caeSdrh} {abc: (0.000) :xyz} 2718a2647caeSdrhdo_test printf-2.7.2.2 { 2719a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 1.0e-20 2720a2647caeSdrh} {abc: (1.000e-20) :xyz} 2721a2647caeSdrhdo_test printf-2.7.2.3 { 2722a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 1.0e-20 2723a2647caeSdrh} {abc: (1e-20) :xyz} 2724a2647caeSdrhdo_test printf-2.7.2.4 { 2725a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 1.0e-20 2726a2647caeSdrh} {abc: 3 3 (1e-20) :xyz} 2727a2647caeSdrhdo_test printf-2.7.2.5 { 2728a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 1.0e-20 2729a2647caeSdrh} {abc: 3 3 (1.00000e-20) :xyz} 2730a2647caeSdrhdo_test printf-2.7.2.6 { 2731a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 1.0e-20 2732a2647caeSdrh} {abc: 3 3 (000001e-20) :xyz} 2733a2647caeSdrhdo_test printf-2.7.2.7 { 2734a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 1.0e-20 2735a2647caeSdrh} {abc: 3 3 (0.000) :xyz} 2736a2647caeSdrhdo_test printf-2.7.2.8 { 2737a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 1.0e-20 2738a2647caeSdrh} {abc: 3 3 (1.000e-20) :xyz} 2739a2647caeSdrhdo_test printf-2.7.2.9 { 2740a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 1.0e-20 2741a2647caeSdrh} {abc: 3 3 (1e-20) :xyz} 2742a2647caeSdrhdo_test printf-2.7.3.1 { 2743a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 1.0 2744a2647caeSdrh} {abc: (1.000) :xyz} 2745a2647caeSdrhdo_test printf-2.7.3.2 { 2746a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 1.0 2747a2647caeSdrh} {abc: (1.000e+00) :xyz} 2748a2647caeSdrhdo_test printf-2.7.3.3 { 2749a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 1.0 2750a2647caeSdrh} {abc: ( 1) :xyz} 2751a2647caeSdrhdo_test printf-2.7.3.4 { 2752a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 1.0 2753a2647caeSdrh} {abc: 3 3 (1) :xyz} 2754a2647caeSdrhdo_test printf-2.7.3.5 { 2755a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 1.0 2756a2647caeSdrh} {abc: 3 3 (1.00000) :xyz} 2757a2647caeSdrhdo_test printf-2.7.3.6 { 2758a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 1.0 2759a2647caeSdrh} {abc: 3 3 (0000000001) :xyz} 2760a2647caeSdrhdo_test printf-2.7.3.7 { 2761a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 1.0 2762a2647caeSdrh} {abc: 3 3 (1.000) :xyz} 2763a2647caeSdrhdo_test printf-2.7.3.8 { 2764a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 1.0 2765a2647caeSdrh} {abc: 3 3 (1.000e+00) :xyz} 2766a2647caeSdrhdo_test printf-2.7.3.9 { 2767a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 1.0 2768a2647caeSdrh} {abc: 3 3 ( 1) :xyz} 2769a2647caeSdrhdo_test printf-2.7.4.1 { 2770a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 0.0 2771a2647caeSdrh} {abc: (0.000) :xyz} 2772a2647caeSdrhdo_test printf-2.7.4.2 { 2773a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 0.0 2774a2647caeSdrh} {abc: (0.000e+00) :xyz} 2775a2647caeSdrhdo_test printf-2.7.4.3 { 2776a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 0.0 2777a2647caeSdrh} {abc: ( 0) :xyz} 2778a2647caeSdrhdo_test printf-2.7.4.4 { 2779a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 0.0 2780a2647caeSdrh} {abc: 3 3 (0) :xyz} 2781a2647caeSdrhdo_test printf-2.7.4.5 { 2782a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 0.0 2783a2647caeSdrh} {abc: 3 3 (0.00000) :xyz} 2784a2647caeSdrhdo_test printf-2.7.4.6 { 2785a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 0.0 2786a2647caeSdrh} {abc: 3 3 (0000000000) :xyz} 2787a2647caeSdrhdo_test printf-2.7.4.7 { 2788a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 0.0 2789a2647caeSdrh} {abc: 3 3 (0.000) :xyz} 2790a2647caeSdrhdo_test printf-2.7.4.8 { 2791a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 0.0 2792a2647caeSdrh} {abc: 3 3 (0.000e+00) :xyz} 2793a2647caeSdrhdo_test printf-2.7.4.9 { 2794a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 0.0 2795a2647caeSdrh} {abc: 3 3 ( 0) :xyz} 2796a2647caeSdrhdo_test printf-2.7.5.1 { 2797a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 100.0 2798a2647caeSdrh} {abc: (100.000) :xyz} 2799a2647caeSdrhdo_test printf-2.7.5.2 { 2800a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 100.0 2801a2647caeSdrh} {abc: (1.000e+02) :xyz} 2802a2647caeSdrhdo_test printf-2.7.5.3 { 2803a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 100.0 2804a2647caeSdrh} {abc: (100) :xyz} 2805a2647caeSdrhdo_test printf-2.7.5.4 { 2806a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 100.0 2807a2647caeSdrh} {abc: 3 3 (100) :xyz} 2808a2647caeSdrhdo_test printf-2.7.5.5 { 2809a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 100.0 2810a2647caeSdrh} {abc: 3 3 (100.000) :xyz} 2811a2647caeSdrhdo_test printf-2.7.5.6 { 2812a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 100.0 2813a2647caeSdrh} {abc: 3 3 (0000000100) :xyz} 2814a2647caeSdrhdo_test printf-2.7.5.7 { 2815a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 100.0 2816a2647caeSdrh} {abc: 3 3 (100.000) :xyz} 2817a2647caeSdrhdo_test printf-2.7.5.8 { 2818a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 100.0 2819a2647caeSdrh} {abc: 3 3 (1.000e+02) :xyz} 2820a2647caeSdrhdo_test printf-2.7.5.9 { 2821a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 100.0 2822a2647caeSdrh} {abc: 3 3 (100) :xyz} 2823a2647caeSdrhdo_test printf-2.7.6.1 { 2824a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 9.99999 2825a2647caeSdrh} {abc: (10.000) :xyz} 2826a2647caeSdrhdo_test printf-2.7.6.2 { 2827a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 9.99999 2828a2647caeSdrh} {abc: (1.000e+01) :xyz} 2829a2647caeSdrhdo_test printf-2.7.6.3 { 2830a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 9.99999 2831a2647caeSdrh} {abc: ( 10) :xyz} 2832a2647caeSdrhdo_test printf-2.7.6.4 { 2833a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 9.99999 2834a2647caeSdrh} {abc: 3 3 (9.99999) :xyz} 2835a2647caeSdrhdo_test printf-2.7.6.5 { 2836a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 9.99999 2837a2647caeSdrh} {abc: 3 3 (9.99999) :xyz} 2838a2647caeSdrhdo_test printf-2.7.6.6 { 2839a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 9.99999 2840a2647caeSdrh} {abc: 3 3 (0009.99999) :xyz} 2841a2647caeSdrhdo_test printf-2.7.6.7 { 2842a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 9.99999 2843a2647caeSdrh} {abc: 3 3 (10.000) :xyz} 2844a2647caeSdrhdo_test printf-2.7.6.8 { 2845a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 9.99999 2846a2647caeSdrh} {abc: 3 3 (1.000e+01) :xyz} 2847a2647caeSdrhdo_test printf-2.7.6.9 { 2848a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 9.99999 2849a2647caeSdrh} {abc: 3 3 ( 10) :xyz} 2850a2647caeSdrhdo_test printf-2.7.7.1 { 2851a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -0.00543 2852a2647caeSdrh} {abc: (-0.005) :xyz} 2853a2647caeSdrhdo_test printf-2.7.7.2 { 2854a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -0.00543 2855a2647caeSdrh} {abc: (-5.430e-03) :xyz} 2856a2647caeSdrhdo_test printf-2.7.7.3 { 2857a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -0.00543 2858a2647caeSdrh} {abc: (-0.00543) :xyz} 2859a2647caeSdrhdo_test printf-2.7.7.4 { 2860a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -0.00543 2861a2647caeSdrh} {abc: 3 3 (-0.00543) :xyz} 2862a2647caeSdrhdo_test printf-2.7.7.5 { 2863a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -0.00543 2864a2647caeSdrh} {abc: 3 3 (-0.00543000) :xyz} 2865a2647caeSdrhdo_test printf-2.7.7.6 { 2866a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -0.00543 2867a2647caeSdrh} {abc: 3 3 (-000.00543) :xyz} 2868a2647caeSdrhdo_test printf-2.7.7.7 { 2869a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -0.00543 2870a2647caeSdrh} {abc: 3 3 (-0.005) :xyz} 2871a2647caeSdrhdo_test printf-2.7.7.8 { 2872a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -0.00543 2873a2647caeSdrh} {abc: 3 3 (-5.430e-03) :xyz} 2874a2647caeSdrhdo_test printf-2.7.7.9 { 2875a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -0.00543 2876a2647caeSdrh} {abc: 3 3 (-0.00543) :xyz} 2877a2647caeSdrhdo_test printf-2.7.8.1 { 2878a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -1.0 2879a2647caeSdrh} {abc: (-1.000) :xyz} 2880a2647caeSdrhdo_test printf-2.7.8.2 { 2881a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -1.0 2882a2647caeSdrh} {abc: (-1.000e+00) :xyz} 2883a2647caeSdrhdo_test printf-2.7.8.3 { 2884a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -1.0 2885a2647caeSdrh} {abc: ( -1) :xyz} 2886a2647caeSdrhdo_test printf-2.7.8.4 { 2887a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -1.0 2888a2647caeSdrh} {abc: 3 3 (-1) :xyz} 2889a2647caeSdrhdo_test printf-2.7.8.5 { 2890a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -1.0 2891a2647caeSdrh} {abc: 3 3 (-1.00000) :xyz} 2892a2647caeSdrhdo_test printf-2.7.8.6 { 2893a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -1.0 2894a2647caeSdrh} {abc: 3 3 (-000000001) :xyz} 2895a2647caeSdrhdo_test printf-2.7.8.7 { 2896a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -1.0 2897a2647caeSdrh} {abc: 3 3 (-1.000) :xyz} 2898a2647caeSdrhdo_test printf-2.7.8.8 { 2899a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -1.0 2900a2647caeSdrh} {abc: 3 3 (-1.000e+00) :xyz} 2901a2647caeSdrhdo_test printf-2.7.8.9 { 2902a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -1.0 2903a2647caeSdrh} {abc: 3 3 ( -1) :xyz} 2904a2647caeSdrhdo_test printf-2.7.9.1 { 2905a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -99.99999 2906a2647caeSdrh} {abc: (-100.000) :xyz} 2907a2647caeSdrhdo_test printf-2.7.9.2 { 2908a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -99.99999 2909a2647caeSdrh} {abc: (-1.000e+02) :xyz} 2910a2647caeSdrhdo_test printf-2.7.9.3 { 2911a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -99.99999 2912a2647caeSdrh} {abc: (-100) :xyz} 2913a2647caeSdrhdo_test printf-2.7.9.4 { 2914a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -99.99999 2915a2647caeSdrh} {abc: 3 3 (-100) :xyz} 2916a2647caeSdrhdo_test printf-2.7.9.5 { 2917a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -99.99999 2918a2647caeSdrh} {abc: 3 3 (-100.000) :xyz} 2919a2647caeSdrhdo_test printf-2.7.9.6 { 2920a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -99.99999 2921a2647caeSdrh} {abc: 3 3 (-000000100) :xyz} 2922a2647caeSdrhdo_test printf-2.7.9.7 { 2923a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -99.99999 2924a2647caeSdrh} {abc: 3 3 (-100.000) :xyz} 2925a2647caeSdrhdo_test printf-2.7.9.8 { 2926a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -99.99999 2927a2647caeSdrh} {abc: 3 3 (-1.000e+02) :xyz} 2928a2647caeSdrhdo_test printf-2.7.9.9 { 2929a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -99.99999 2930a2647caeSdrh} {abc: 3 3 (-100) :xyz} 2931a2647caeSdrhdo_test printf-2.7.10.1 { 2932a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 3.14e+9 2933a2647caeSdrh} {abc: (3140000000.000) :xyz} 2934a2647caeSdrhdo_test printf-2.7.10.2 { 2935a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 3.14e+9 2936a2647caeSdrh} {abc: (3.140e+09) :xyz} 2937a2647caeSdrhdo_test printf-2.7.10.3 { 2938a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 3.14e+9 2939a2647caeSdrh} {abc: (3.14e+09) :xyz} 2940a2647caeSdrhdo_test printf-2.7.10.4 { 2941a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 3.14e+9 2942a2647caeSdrh} {abc: 3 3 (3.14e+09) :xyz} 2943a2647caeSdrhdo_test printf-2.7.10.5 { 2944a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 3.14e+9 2945a2647caeSdrh} {abc: 3 3 (3.14000e+09) :xyz} 2946a2647caeSdrhdo_test printf-2.7.10.6 { 2947a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 3.14e+9 2948a2647caeSdrh} {abc: 3 3 (003.14e+09) :xyz} 2949a2647caeSdrhdo_test printf-2.7.10.7 { 2950a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 3.14e+9 2951a2647caeSdrh} {abc: 3 3 (3140000000.000) :xyz} 2952a2647caeSdrhdo_test printf-2.7.10.8 { 2953a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 3.14e+9 2954a2647caeSdrh} {abc: 3 3 (3.140e+09) :xyz} 2955a2647caeSdrhdo_test printf-2.7.10.9 { 2956a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 3.14e+9 2957a2647caeSdrh} {abc: 3 3 (3.14e+09) :xyz} 2958a2647caeSdrhdo_test printf-2.7.11.2 { 2959a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -4.72732e+88 2960a2647caeSdrh} {abc: (-4.727e+88) :xyz} 2961a2647caeSdrhdo_test printf-2.7.11.3 { 2962a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -4.72732e+88 2963a2647caeSdrh} {abc: (-4.73e+88) :xyz} 2964a2647caeSdrhdo_test printf-2.7.11.4 { 2965a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -4.72732e+88 2966a2647caeSdrh} {abc: 3 3 (-4.72732e+88) :xyz} 2967a2647caeSdrhdo_test printf-2.7.11.5 { 2968a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -4.72732e+88 2969a2647caeSdrh} {abc: 3 3 (-4.72732e+88) :xyz} 2970a2647caeSdrhdo_test printf-2.7.11.6 { 2971a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -4.72732e+88 2972a2647caeSdrh} {abc: 3 3 (-4.72732e+88) :xyz} 2973a2647caeSdrhdo_test printf-2.7.11.8 { 2974a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -4.72732e+88 2975a2647caeSdrh} {abc: 3 3 (-4.727e+88) :xyz} 2976a2647caeSdrhdo_test printf-2.7.11.9 { 2977a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -4.72732e+88 2978a2647caeSdrh} {abc: 3 3 (-4.73e+88) :xyz} 2979a2647caeSdrhdo_test printf-2.7.12.2 { 2980a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 9.87991e+143 2981a2647caeSdrh} {abc: (9.880e+143) :xyz} 2982a2647caeSdrhdo_test printf-2.7.12.3 { 2983a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 9.87991e+143 2984a2647caeSdrh} {abc: (9.88e+143) :xyz} 2985a2647caeSdrhdo_test printf-2.7.12.4 { 2986a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 9.87991e+143 2987a2647caeSdrh} {abc: 3 3 (9.87991e+143) :xyz} 2988a2647caeSdrhdo_test printf-2.7.12.5 { 2989a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 9.87991e+143 2990a2647caeSdrh} {abc: 3 3 (9.87991e+143) :xyz} 2991a2647caeSdrhdo_test printf-2.7.12.6 { 2992a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 9.87991e+143 2993a2647caeSdrh} {abc: 3 3 (9.87991e+143) :xyz} 2994a2647caeSdrhdo_test printf-2.7.12.8 { 2995a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 9.87991e+143 2996a2647caeSdrh} {abc: 3 3 (9.880e+143) :xyz} 2997a2647caeSdrhdo_test printf-2.7.12.9 { 2998a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 9.87991e+143 2999a2647caeSdrh} {abc: 3 3 (9.88e+143) :xyz} 3000a2647caeSdrhdo_test printf-2.7.13.1 { 3001a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 -6.287291e-9 3002a2647caeSdrh} {abc: (-0.000) :xyz} 3003a2647caeSdrhdo_test printf-2.7.13.2 { 3004a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 -6.287291e-9 3005a2647caeSdrh} {abc: (-6.287e-09) :xyz} 3006a2647caeSdrhdo_test printf-2.7.13.3 { 3007a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 -6.287291e-9 3008a2647caeSdrh} {abc: (-6.29e-09) :xyz} 3009a2647caeSdrhdo_test printf-2.7.13.4 { 3010a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 -6.287291e-9 3011a2647caeSdrh} {abc: 3 3 (-6.28729e-09) :xyz} 3012a2647caeSdrhdo_test printf-2.7.13.5 { 3013a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 -6.287291e-9 3014a2647caeSdrh} {abc: 3 3 (-6.28729e-09) :xyz} 3015a2647caeSdrhdo_test printf-2.7.13.6 { 3016a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 -6.287291e-9 3017a2647caeSdrh} {abc: 3 3 (-6.28729e-09) :xyz} 3018a2647caeSdrhdo_test printf-2.7.13.7 { 3019a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 -6.287291e-9 3020a2647caeSdrh} {abc: 3 3 (-0.000) :xyz} 3021a2647caeSdrhdo_test printf-2.7.13.8 { 3022a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 -6.287291e-9 3023a2647caeSdrh} {abc: 3 3 (-6.287e-09) :xyz} 3024a2647caeSdrhdo_test printf-2.7.13.9 { 3025a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 -6.287291e-9 3026a2647caeSdrh} {abc: 3 3 (-6.29e-09) :xyz} 3027a2647caeSdrhdo_test printf-2.7.14.1 { 3028a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 3 3.38826392e-110 3029a2647caeSdrh} {abc: (0.000) :xyz} 3030a2647caeSdrhdo_test printf-2.7.14.2 { 3031a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 3 3.38826392e-110 3032a2647caeSdrh} {abc: (3.388e-110) :xyz} 3033a2647caeSdrhdo_test printf-2.7.14.3 { 3034a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 3 3.38826392e-110 3035a2647caeSdrh} {abc: (3.39e-110) :xyz} 3036a2647caeSdrhdo_test printf-2.7.14.4 { 3037a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 3 3.38826392e-110 3038a2647caeSdrh} {abc: 3 3 (3.38826e-110) :xyz} 3039a2647caeSdrhdo_test printf-2.7.14.5 { 3040a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 3 3.38826392e-110 3041a2647caeSdrh} {abc: 3 3 (3.38826e-110) :xyz} 3042a2647caeSdrhdo_test printf-2.7.14.6 { 3043a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 3 3.38826392e-110 3044a2647caeSdrh} {abc: 3 3 (3.38826e-110) :xyz} 3045a2647caeSdrhdo_test printf-2.7.14.7 { 3046a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3f) :xyz} 3 3 3.38826392e-110 3047a2647caeSdrh} {abc: 3 3 (0.000) :xyz} 3048a2647caeSdrhdo_test printf-2.7.14.8 { 3049a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3e) :xyz} 3 3 3.38826392e-110 3050a2647caeSdrh} {abc: 3 3 (3.388e-110) :xyz} 3051a2647caeSdrhdo_test printf-2.7.14.9 { 3052a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.3g) :xyz} 3 3 3.38826392e-110 3053a2647caeSdrh} {abc: 3 3 (3.39e-110) :xyz} 3054a2647caeSdrhdo_test printf-2.8.1.1 { 3055a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 0.001 3056a2647caeSdrh} {abc: (0.00) :xyz} 3057a2647caeSdrhdo_test printf-2.8.1.2 { 3058a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 0.001 3059a2647caeSdrh} {abc: (1.00e-03) :xyz} 3060a2647caeSdrhdo_test printf-2.8.1.3 { 3061a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 0.001 3062a2647caeSdrh} {abc: (0.001) :xyz} 3063a2647caeSdrhdo_test printf-2.8.1.4 { 3064a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 0.001 3065a2647caeSdrh} {abc: 3 2 (0.001) :xyz} 3066a2647caeSdrhdo_test printf-2.8.1.5 { 3067a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 0.001 3068a2647caeSdrh} {abc: 3 2 (0.00100000) :xyz} 3069a2647caeSdrhdo_test printf-2.8.1.6 { 3070a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 0.001 3071a2647caeSdrh} {abc: 3 2 (000000.001) :xyz} 3072a2647caeSdrhdo_test printf-2.8.1.7 { 3073a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 0.001 3074a2647caeSdrh} {abc: 3 2 (0.00) :xyz} 3075a2647caeSdrhdo_test printf-2.8.1.8 { 3076a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 0.001 3077a2647caeSdrh} {abc: 3 2 (1.00e-03) :xyz} 3078a2647caeSdrhdo_test printf-2.8.1.9 { 3079a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 0.001 3080a2647caeSdrh} {abc: 3 2 (0.001) :xyz} 3081a2647caeSdrhdo_test printf-2.8.2.1 { 3082a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 1.0e-20 3083a2647caeSdrh} {abc: (0.00) :xyz} 3084a2647caeSdrhdo_test printf-2.8.2.2 { 3085a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 1.0e-20 3086a2647caeSdrh} {abc: (1.00e-20) :xyz} 3087a2647caeSdrhdo_test printf-2.8.2.3 { 3088a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 1.0e-20 3089a2647caeSdrh} {abc: (1e-20) :xyz} 3090a2647caeSdrhdo_test printf-2.8.2.4 { 3091a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 1.0e-20 3092a2647caeSdrh} {abc: 3 2 (1e-20) :xyz} 3093a2647caeSdrhdo_test printf-2.8.2.5 { 3094a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 1.0e-20 3095a2647caeSdrh} {abc: 3 2 (1.00000e-20) :xyz} 3096a2647caeSdrhdo_test printf-2.8.2.6 { 3097a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 1.0e-20 3098a2647caeSdrh} {abc: 3 2 (000001e-20) :xyz} 3099a2647caeSdrhdo_test printf-2.8.2.7 { 3100a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 1.0e-20 3101a2647caeSdrh} {abc: 3 2 (0.00) :xyz} 3102a2647caeSdrhdo_test printf-2.8.2.8 { 3103a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 1.0e-20 3104a2647caeSdrh} {abc: 3 2 (1.00e-20) :xyz} 3105a2647caeSdrhdo_test printf-2.8.2.9 { 3106a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 1.0e-20 3107a2647caeSdrh} {abc: 3 2 (1e-20) :xyz} 3108a2647caeSdrhdo_test printf-2.8.3.1 { 3109a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 1.0 3110a2647caeSdrh} {abc: (1.00) :xyz} 3111a2647caeSdrhdo_test printf-2.8.3.2 { 3112a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 1.0 3113a2647caeSdrh} {abc: (1.00e+00) :xyz} 3114a2647caeSdrhdo_test printf-2.8.3.3 { 3115a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 1.0 3116a2647caeSdrh} {abc: ( 1) :xyz} 3117a2647caeSdrhdo_test printf-2.8.3.4 { 3118a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 1.0 3119a2647caeSdrh} {abc: 3 2 (1) :xyz} 3120a2647caeSdrhdo_test printf-2.8.3.5 { 3121a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 1.0 3122a2647caeSdrh} {abc: 3 2 (1.00000) :xyz} 3123a2647caeSdrhdo_test printf-2.8.3.6 { 3124a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 1.0 3125a2647caeSdrh} {abc: 3 2 (0000000001) :xyz} 3126a2647caeSdrhdo_test printf-2.8.3.7 { 3127a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 1.0 3128a2647caeSdrh} {abc: 3 2 (1.00) :xyz} 3129a2647caeSdrhdo_test printf-2.8.3.8 { 3130a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 1.0 3131a2647caeSdrh} {abc: 3 2 (1.00e+00) :xyz} 3132a2647caeSdrhdo_test printf-2.8.3.9 { 3133a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 1.0 3134a2647caeSdrh} {abc: 3 2 ( 1) :xyz} 3135a2647caeSdrhdo_test printf-2.8.4.1 { 3136a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 0.0 3137a2647caeSdrh} {abc: (0.00) :xyz} 3138a2647caeSdrhdo_test printf-2.8.4.2 { 3139a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 0.0 3140a2647caeSdrh} {abc: (0.00e+00) :xyz} 3141a2647caeSdrhdo_test printf-2.8.4.3 { 3142a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 0.0 3143a2647caeSdrh} {abc: ( 0) :xyz} 3144a2647caeSdrhdo_test printf-2.8.4.4 { 3145a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 0.0 3146a2647caeSdrh} {abc: 3 2 (0) :xyz} 3147a2647caeSdrhdo_test printf-2.8.4.5 { 3148a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 0.0 3149a2647caeSdrh} {abc: 3 2 (0.00000) :xyz} 3150a2647caeSdrhdo_test printf-2.8.4.6 { 3151a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 0.0 3152a2647caeSdrh} {abc: 3 2 (0000000000) :xyz} 3153a2647caeSdrhdo_test printf-2.8.4.7 { 3154a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 0.0 3155a2647caeSdrh} {abc: 3 2 (0.00) :xyz} 3156a2647caeSdrhdo_test printf-2.8.4.8 { 3157a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 0.0 3158a2647caeSdrh} {abc: 3 2 (0.00e+00) :xyz} 3159a2647caeSdrhdo_test printf-2.8.4.9 { 3160a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 0.0 3161a2647caeSdrh} {abc: 3 2 ( 0) :xyz} 3162a2647caeSdrhdo_test printf-2.8.5.1 { 3163a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 100.0 3164a2647caeSdrh} {abc: (100.00) :xyz} 3165a2647caeSdrhdo_test printf-2.8.5.2 { 3166a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 100.0 3167a2647caeSdrh} {abc: (1.00e+02) :xyz} 3168a2647caeSdrhdo_test printf-2.8.5.3 { 3169a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 100.0 3170a2647caeSdrh} {abc: (1e+02) :xyz} 3171a2647caeSdrhdo_test printf-2.8.5.4 { 3172a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 100.0 3173a2647caeSdrh} {abc: 3 2 (100) :xyz} 3174a2647caeSdrhdo_test printf-2.8.5.5 { 3175a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 100.0 3176a2647caeSdrh} {abc: 3 2 (100.000) :xyz} 3177a2647caeSdrhdo_test printf-2.8.5.6 { 3178a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 100.0 3179a2647caeSdrh} {abc: 3 2 (0000000100) :xyz} 3180a2647caeSdrhdo_test printf-2.8.5.7 { 3181a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 100.0 3182a2647caeSdrh} {abc: 3 2 (100.00) :xyz} 3183a2647caeSdrhdo_test printf-2.8.5.8 { 3184a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 100.0 3185a2647caeSdrh} {abc: 3 2 (1.00e+02) :xyz} 3186a2647caeSdrhdo_test printf-2.8.5.9 { 3187a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 100.0 3188a2647caeSdrh} {abc: 3 2 (1e+02) :xyz} 3189a2647caeSdrhdo_test printf-2.8.6.1 { 3190a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 9.99999 3191a2647caeSdrh} {abc: (10.00) :xyz} 3192a2647caeSdrhdo_test printf-2.8.6.2 { 3193a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 9.99999 3194a2647caeSdrh} {abc: (1.00e+01) :xyz} 3195a2647caeSdrhdo_test printf-2.8.6.3 { 3196a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 9.99999 3197a2647caeSdrh} {abc: ( 10) :xyz} 3198a2647caeSdrhdo_test printf-2.8.6.4 { 3199a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 9.99999 3200a2647caeSdrh} {abc: 3 2 (9.99999) :xyz} 3201a2647caeSdrhdo_test printf-2.8.6.5 { 3202a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 9.99999 3203a2647caeSdrh} {abc: 3 2 (9.99999) :xyz} 3204a2647caeSdrhdo_test printf-2.8.6.6 { 3205a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 9.99999 3206a2647caeSdrh} {abc: 3 2 (0009.99999) :xyz} 3207a2647caeSdrhdo_test printf-2.8.6.7 { 3208a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 9.99999 3209a2647caeSdrh} {abc: 3 2 (10.00) :xyz} 3210a2647caeSdrhdo_test printf-2.8.6.8 { 3211a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 9.99999 3212a2647caeSdrh} {abc: 3 2 (1.00e+01) :xyz} 3213a2647caeSdrhdo_test printf-2.8.6.9 { 3214a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 9.99999 3215a2647caeSdrh} {abc: 3 2 ( 10) :xyz} 3216a2647caeSdrhdo_test printf-2.8.7.1 { 3217a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -0.00543 3218a2647caeSdrh} {abc: (-0.01) :xyz} 3219a2647caeSdrhdo_test printf-2.8.7.2 { 3220a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -0.00543 3221a2647caeSdrh} {abc: (-5.43e-03) :xyz} 3222a2647caeSdrhdo_test printf-2.8.7.3 { 3223a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -0.00543 3224a2647caeSdrh} {abc: (-0.0054) :xyz} 3225a2647caeSdrhdo_test printf-2.8.7.4 { 3226a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -0.00543 3227a2647caeSdrh} {abc: 3 2 (-0.00543) :xyz} 3228a2647caeSdrhdo_test printf-2.8.7.5 { 3229a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -0.00543 3230a2647caeSdrh} {abc: 3 2 (-0.00543000) :xyz} 3231a2647caeSdrhdo_test printf-2.8.7.6 { 3232a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -0.00543 3233a2647caeSdrh} {abc: 3 2 (-000.00543) :xyz} 3234a2647caeSdrhdo_test printf-2.8.7.7 { 3235a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -0.00543 3236a2647caeSdrh} {abc: 3 2 (-0.01) :xyz} 3237a2647caeSdrhdo_test printf-2.8.7.8 { 3238a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -0.00543 3239a2647caeSdrh} {abc: 3 2 (-5.43e-03) :xyz} 3240a2647caeSdrhdo_test printf-2.8.7.9 { 3241a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -0.00543 3242a2647caeSdrh} {abc: 3 2 (-0.0054) :xyz} 3243a2647caeSdrhdo_test printf-2.8.8.1 { 3244a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -1.0 3245a2647caeSdrh} {abc: (-1.00) :xyz} 3246a2647caeSdrhdo_test printf-2.8.8.2 { 3247a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -1.0 3248a2647caeSdrh} {abc: (-1.00e+00) :xyz} 3249a2647caeSdrhdo_test printf-2.8.8.3 { 3250a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -1.0 3251a2647caeSdrh} {abc: ( -1) :xyz} 3252a2647caeSdrhdo_test printf-2.8.8.4 { 3253a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -1.0 3254a2647caeSdrh} {abc: 3 2 (-1) :xyz} 3255a2647caeSdrhdo_test printf-2.8.8.5 { 3256a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -1.0 3257a2647caeSdrh} {abc: 3 2 (-1.00000) :xyz} 3258a2647caeSdrhdo_test printf-2.8.8.6 { 3259a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -1.0 3260a2647caeSdrh} {abc: 3 2 (-000000001) :xyz} 3261a2647caeSdrhdo_test printf-2.8.8.7 { 3262a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -1.0 3263a2647caeSdrh} {abc: 3 2 (-1.00) :xyz} 3264a2647caeSdrhdo_test printf-2.8.8.8 { 3265a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -1.0 3266a2647caeSdrh} {abc: 3 2 (-1.00e+00) :xyz} 3267a2647caeSdrhdo_test printf-2.8.8.9 { 3268a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -1.0 3269a2647caeSdrh} {abc: 3 2 ( -1) :xyz} 3270a2647caeSdrhdo_test printf-2.8.9.1 { 3271a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -99.99999 3272a2647caeSdrh} {abc: (-100.00) :xyz} 3273a2647caeSdrhdo_test printf-2.8.9.2 { 3274a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -99.99999 3275a2647caeSdrh} {abc: (-1.00e+02) :xyz} 3276a2647caeSdrhdo_test printf-2.8.9.3 { 3277a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -99.99999 3278a2647caeSdrh} {abc: (-1e+02) :xyz} 3279a2647caeSdrhdo_test printf-2.8.9.4 { 3280a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -99.99999 3281a2647caeSdrh} {abc: 3 2 (-100) :xyz} 3282a2647caeSdrhdo_test printf-2.8.9.5 { 3283a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -99.99999 3284a2647caeSdrh} {abc: 3 2 (-100.000) :xyz} 3285a2647caeSdrhdo_test printf-2.8.9.6 { 3286a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -99.99999 3287a2647caeSdrh} {abc: 3 2 (-000000100) :xyz} 3288a2647caeSdrhdo_test printf-2.8.9.7 { 3289a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -99.99999 3290a2647caeSdrh} {abc: 3 2 (-100.00) :xyz} 3291a2647caeSdrhdo_test printf-2.8.9.8 { 3292a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -99.99999 3293a2647caeSdrh} {abc: 3 2 (-1.00e+02) :xyz} 3294a2647caeSdrhdo_test printf-2.8.9.9 { 3295a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -99.99999 3296a2647caeSdrh} {abc: 3 2 (-1e+02) :xyz} 3297a2647caeSdrhdo_test printf-2.8.10.1 { 3298a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 3.14e+9 3299a2647caeSdrh} {abc: (3140000000.00) :xyz} 3300a2647caeSdrhdo_test printf-2.8.10.2 { 3301a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 3.14e+9 3302a2647caeSdrh} {abc: (3.14e+09) :xyz} 3303a2647caeSdrhdo_test printf-2.8.10.3 { 3304a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 3.14e+9 3305a2647caeSdrh} {abc: (3.1e+09) :xyz} 3306a2647caeSdrhdo_test printf-2.8.10.4 { 3307a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 3.14e+9 3308a2647caeSdrh} {abc: 3 2 (3.14e+09) :xyz} 3309a2647caeSdrhdo_test printf-2.8.10.5 { 3310a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 3.14e+9 3311a2647caeSdrh} {abc: 3 2 (3.14000e+09) :xyz} 3312a2647caeSdrhdo_test printf-2.8.10.6 { 3313a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 3.14e+9 3314a2647caeSdrh} {abc: 3 2 (003.14e+09) :xyz} 3315a2647caeSdrhdo_test printf-2.8.10.7 { 3316a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 3.14e+9 3317a2647caeSdrh} {abc: 3 2 (3140000000.00) :xyz} 3318a2647caeSdrhdo_test printf-2.8.10.8 { 3319a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 3.14e+9 3320a2647caeSdrh} {abc: 3 2 (3.14e+09) :xyz} 3321a2647caeSdrhdo_test printf-2.8.10.9 { 3322a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 3.14e+9 3323a2647caeSdrh} {abc: 3 2 (3.1e+09) :xyz} 3324a2647caeSdrhdo_test printf-2.8.11.2 { 3325a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -4.72732e+88 3326a2647caeSdrh} {abc: (-4.73e+88) :xyz} 3327a2647caeSdrhdo_test printf-2.8.11.3 { 3328a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -4.72732e+88 3329a2647caeSdrh} {abc: (-4.7e+88) :xyz} 3330a2647caeSdrhdo_test printf-2.8.11.4 { 3331a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -4.72732e+88 3332a2647caeSdrh} {abc: 3 2 (-4.72732e+88) :xyz} 3333a2647caeSdrhdo_test printf-2.8.11.5 { 3334a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -4.72732e+88 3335a2647caeSdrh} {abc: 3 2 (-4.72732e+88) :xyz} 3336a2647caeSdrhdo_test printf-2.8.11.6 { 3337a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -4.72732e+88 3338a2647caeSdrh} {abc: 3 2 (-4.72732e+88) :xyz} 3339a2647caeSdrhdo_test printf-2.8.11.8 { 3340a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -4.72732e+88 3341a2647caeSdrh} {abc: 3 2 (-4.73e+88) :xyz} 3342a2647caeSdrhdo_test printf-2.8.11.9 { 3343a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -4.72732e+88 3344a2647caeSdrh} {abc: 3 2 (-4.7e+88) :xyz} 3345a2647caeSdrhdo_test printf-2.8.12.2 { 3346a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 9.87991e+143 3347a2647caeSdrh} {abc: (9.88e+143) :xyz} 3348a2647caeSdrhdo_test printf-2.8.12.3 { 3349a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 9.87991e+143 3350a2647caeSdrh} {abc: (9.9e+143) :xyz} 3351a2647caeSdrhdo_test printf-2.8.12.4 { 3352a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 9.87991e+143 3353a2647caeSdrh} {abc: 3 2 (9.87991e+143) :xyz} 3354a2647caeSdrhdo_test printf-2.8.12.5 { 3355a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 9.87991e+143 3356a2647caeSdrh} {abc: 3 2 (9.87991e+143) :xyz} 3357a2647caeSdrhdo_test printf-2.8.12.6 { 3358a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 9.87991e+143 3359a2647caeSdrh} {abc: 3 2 (9.87991e+143) :xyz} 3360a2647caeSdrhdo_test printf-2.8.12.8 { 3361a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 9.87991e+143 3362a2647caeSdrh} {abc: 3 2 (9.88e+143) :xyz} 3363a2647caeSdrhdo_test printf-2.8.12.9 { 3364a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 9.87991e+143 3365a2647caeSdrh} {abc: 3 2 (9.9e+143) :xyz} 3366a2647caeSdrhdo_test printf-2.8.13.1 { 3367a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 -6.287291e-9 3368a2647caeSdrh} {abc: (-0.00) :xyz} 3369a2647caeSdrhdo_test printf-2.8.13.2 { 3370a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 -6.287291e-9 3371a2647caeSdrh} {abc: (-6.29e-09) :xyz} 3372a2647caeSdrhdo_test printf-2.8.13.3 { 3373a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 -6.287291e-9 3374a2647caeSdrh} {abc: (-6.3e-09) :xyz} 3375a2647caeSdrhdo_test printf-2.8.13.4 { 3376a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 -6.287291e-9 3377a2647caeSdrh} {abc: 3 2 (-6.28729e-09) :xyz} 3378a2647caeSdrhdo_test printf-2.8.13.5 { 3379a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 -6.287291e-9 3380a2647caeSdrh} {abc: 3 2 (-6.28729e-09) :xyz} 3381a2647caeSdrhdo_test printf-2.8.13.6 { 3382a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 -6.287291e-9 3383a2647caeSdrh} {abc: 3 2 (-6.28729e-09) :xyz} 3384a2647caeSdrhdo_test printf-2.8.13.7 { 3385a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 -6.287291e-9 3386a2647caeSdrh} {abc: 3 2 (-0.00) :xyz} 3387a2647caeSdrhdo_test printf-2.8.13.8 { 3388a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 -6.287291e-9 3389a2647caeSdrh} {abc: 3 2 (-6.29e-09) :xyz} 3390a2647caeSdrhdo_test printf-2.8.13.9 { 3391a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 -6.287291e-9 3392a2647caeSdrh} {abc: 3 2 (-6.3e-09) :xyz} 3393a2647caeSdrhdo_test printf-2.8.14.1 { 3394a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*f) :xyz} 3 2 3.38826392e-110 3395a2647caeSdrh} {abc: (0.00) :xyz} 3396a2647caeSdrhdo_test printf-2.8.14.2 { 3397a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*e) :xyz} 3 2 3.38826392e-110 3398a2647caeSdrh} {abc: (3.39e-110) :xyz} 3399a2647caeSdrhdo_test printf-2.8.14.3 { 3400a2647caeSdrh sqlite3_mprintf_double {abc: (%*.*g) :xyz} 3 2 3.38826392e-110 3401a2647caeSdrh} {abc: (3.4e-110) :xyz} 3402a2647caeSdrhdo_test printf-2.8.14.4 { 3403a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 3 2 3.38826392e-110 3404a2647caeSdrh} {abc: 3 2 (3.38826e-110) :xyz} 3405a2647caeSdrhdo_test printf-2.8.14.5 { 3406a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 3 2 3.38826392e-110 3407a2647caeSdrh} {abc: 3 2 (3.38826e-110) :xyz} 3408a2647caeSdrhdo_test printf-2.8.14.6 { 3409a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 3 2 3.38826392e-110 3410a2647caeSdrh} {abc: 3 2 (3.38826e-110) :xyz} 3411a2647caeSdrhdo_test printf-2.8.14.7 { 3412a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2f) :xyz} 3 2 3.38826392e-110 3413a2647caeSdrh} {abc: 3 2 (0.00) :xyz} 3414a2647caeSdrhdo_test printf-2.8.14.8 { 3415a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2e) :xyz} 3 2 3.38826392e-110 3416a2647caeSdrh} {abc: 3 2 (3.39e-110) :xyz} 3417a2647caeSdrhdo_test printf-2.8.14.9 { 3418a2647caeSdrh sqlite3_mprintf_double {abc: %d %d (%3.2g) :xyz} 3 2 3.38826392e-110 3419a2647caeSdrh} {abc: 3 2 (3.4e-110) :xyz} 3420af005fbcSdrhdo_test printf-2.8.15.1 { 3421af005fbcSdrh sqlite3_mprintf_double {abc: (% *.*f) :xyz} 3 2 3.38826392e-110 3422af005fbcSdrh} {abc: ( 0.00) :xyz} 3423af005fbcSdrhdo_test printf-2.8.15.2 { 3424af005fbcSdrh sqlite3_mprintf_double {abc: (% *.*e) :xyz} 3 2 3.38826392e-110 3425af005fbcSdrh} {abc: ( 3.39e-110) :xyz} 3426af005fbcSdrhdo_test printf-2.8.15.3 { 3427af005fbcSdrh sqlite3_mprintf_double {abc: (% *.*g) :xyz} 3 2 3.38826392e-110 3428af005fbcSdrh} {abc: ( 3.4e-110) :xyz} 3429af005fbcSdrhdo_test printf-2.8.15.4 { 3430af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (% g) :xyz} 3 2 3.38826392e-110 3431af005fbcSdrh} {abc: 3 2 ( 3.38826e-110) :xyz} 3432af005fbcSdrhdo_test printf-2.8.15.5 { 3433af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (% #g) :xyz} 3 2 3.38826392e-110 3434af005fbcSdrh} {abc: 3 2 ( 3.38826e-110) :xyz} 3435af005fbcSdrhdo_test printf-2.8.15.6 { 3436af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%0 10g) :xyz} 3 2 3.38826392e-110 3437af005fbcSdrh} {abc: 3 2 ( 3.38826e-110) :xyz} 3438af005fbcSdrhdo_test printf-2.8.15.7 { 3439af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (% 3.2f) :xyz} 3 2 3.38826392e-110 3440af005fbcSdrh} {abc: 3 2 ( 0.00) :xyz} 3441af005fbcSdrhdo_test printf-2.8.15.8 { 3442af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (% 3.2e) :xyz} 3 2 3.38826392e-110 3443af005fbcSdrh} {abc: 3 2 ( 3.39e-110) :xyz} 3444af005fbcSdrhdo_test printf-2.8.15.9 { 3445af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (% 3.2g) :xyz} 3 2 3.38826392e-110 3446af005fbcSdrh} {abc: 3 2 ( 3.4e-110) :xyz} 3447254cba24Sdrh 3448af005fbcSdrhdo_test printf-2.9.1 { 3449af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%5.0g) :xyz} 0 0 1.234 3450af005fbcSdrh} {abc: 0 0 ( 1) :xyz} 3451af005fbcSdrhdo_test printf-2.9.2 { 3452af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%+5.0g) :xyz} 0 0 1.234 3453af005fbcSdrh} {abc: 0 0 ( +1) :xyz} 3454af005fbcSdrhdo_test printf-2.9.3 { 3455af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%+-5.0g) :xyz} 0 0 1.234 3456af005fbcSdrh} {abc: 0 0 (+1 ) :xyz} 3457af005fbcSdrh 3458af005fbcSdrhdo_test printf-2.10.1 { 3459af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%-010.5f) :xyz} 0 0 1.234 3460af005fbcSdrh} {abc: 0 0 (1.23400 ) :xyz} 3461af005fbcSdrhdo_test printf-2.10.2 { 3462af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%010.5f) :xyz} 0 0 1.234 3463af005fbcSdrh} {abc: 0 0 (0001.23400) :xyz} 3464af005fbcSdrhdo_test printf-2.10.3 { 3465af005fbcSdrh sqlite3_mprintf_double {abc: %d %d (%+010.5f) :xyz} 0 0 1.234 3466af005fbcSdrh} {abc: 0 0 (+001.23400) :xyz} 3467254cba24Sdrh 3468d1bf3512Sdrhdo_test printf-3.1 { 34692dd59365Sdanielk1977 sqlite3_mprintf_str {A String: (%*.*s)} 10 10 {This is the string} 3470d1bf3512Sdrh} [format {A String: (%*.*s)} 10 10 {This is the string}] 3471d1bf3512Sdrhdo_test printf-3.2 { 34722dd59365Sdanielk1977 sqlite3_mprintf_str {A String: (%*.*s)} 10 5 {This is the string} 3473d1bf3512Sdrh} [format {A String: (%*.*s)} 10 5 {This is the string}] 3474d1bf3512Sdrhdo_test printf-3.3 { 34752dd59365Sdanielk1977 sqlite3_mprintf_str {A String: (%*.*s)} -10 5 {This is the string} 3476d1bf3512Sdrh} [format {A String: (%*.*s)} -10 5 {This is the string}] 3477d1bf3512Sdrhdo_test printf-3.4 { 34782dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A String: (%s)} 1 2 {This is the string} 3479d1bf3512Sdrh} [format {%d %d A String: (%s)} 1 2 {This is the string}] 3480d1bf3512Sdrhdo_test printf-3.5 { 34812dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A String: (%30s)} 1 2 {This is the string} 3482d1bf3512Sdrh} [format {%d %d A String: (%30s)} 1 2 {This is the string}] 3483d1bf3512Sdrhdo_test printf-3.6 { 34842dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A String: (%-30s)} 1 2 {This is the string} 3485d1bf3512Sdrh} [format {%d %d A String: (%-30s)} 1 2 {This is the string}] 3486a30d22a7Sdrhdo_test printf-3.7 { 3487a30d22a7Sdrh sqlite3_mprintf_str {%d A String: (%*s)} 1 2147483647 {This is the string} 3488a30d22a7Sdrh} [] 3489a30d22a7Sdrhdo_test printf-3.8 { 3490a30d22a7Sdrh sqlite3_mprintf_str {%d A String: (%*s)} 1 -2147483648 {This is the string} 34918c069147Sdan} {1 A String: (This is the string)} 3492a30d22a7Sdrhdo_test printf-3.9 { 3493a30d22a7Sdrh sqlite3_mprintf_str {%d A String: (%.*s)} 1 -2147483648 {This is the string} 3494b6f47debSdrh} {1 A String: (This is the string)} 3495b3738b6cSdrhdo_test snprintf-3.11 { 3496b3738b6cSdrh sqlite3_snprintf_str 2 {x%d %d %s} 10 10 {This is the string} 3497b3738b6cSdrh} {x} 3498b3738b6cSdrhdo_test snprintf-3.12 { 3499b3738b6cSdrh sqlite3_snprintf_str 3 {x%d %d %s} 10 10 {This is the string} 3500b3738b6cSdrh} {x1} 3501b3738b6cSdrhdo_test snprintf-3.13 { 3502b3738b6cSdrh sqlite3_snprintf_str 4 {x%d %d %s} 10 10 {This is the string} 3503b3738b6cSdrh} {x10} 3504b3738b6cSdrhdo_test snprintf-3.14 { 3505b3738b6cSdrh sqlite3_snprintf_str 5 {x%d %d %s} 10 10 {This is the string} 3506b3738b6cSdrh} {x10 } 3507b3738b6cSdrhdo_test snprintf-3.15 { 3508b3738b6cSdrh sqlite3_snprintf_str 6 {x%d %d %s} 10 10 {This is the string} 3509b3738b6cSdrh} {x10 1} 3510b3738b6cSdrhdo_test snprintf-3.16 { 3511b3738b6cSdrh sqlite3_snprintf_str 7 {x%d %d %s} 10 10 {This is the string} 3512b3738b6cSdrh} {x10 10} 3513b3738b6cSdrhdo_test snprintf-3.17 { 3514b3738b6cSdrh sqlite3_snprintf_str 8 {x%d %d %s} 10 10 {This is the string} 3515b3738b6cSdrh} {x10 10 } 3516b3738b6cSdrhdo_test snprintf-3.18 { 3517b3738b6cSdrh sqlite3_snprintf_str 9 {x%d %d %s} 10 10 {This is the string} 3518b3738b6cSdrh} {x10 10 T} 3519b3738b6cSdrhdo_test snprintf-3.19 { 3520b3738b6cSdrh sqlite3_snprintf_str 100 {x%d %d %s} 10 10 {This is the string} 3521b3738b6cSdrh} {x10 10 This is the string} 3522d1bf3512Sdrh 3523d1bf3512Sdrhdo_test printf-4.1 { 35242dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A quoted string: '%q'} 1 2 {Hi Y'all} 3525d1bf3512Sdrh} {1 2 A quoted string: 'Hi Y''all'} 3526b22f1b58Schwdo_test printf-4.2 { 35272dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A NULL pointer in %%q: '%q'} 1 2 3528b22f1b58Schw} {1 2 A NULL pointer in %q: '(NULL)'} 3529b22f1b58Schwdo_test printf-4.3 { 35302dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A quoted string: %Q} 1 2 {Hi Y'all} 3531b22f1b58Schw} {1 2 A quoted string: 'Hi Y''all'} 3532b22f1b58Schwdo_test printf-4.4 { 35332dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d A NULL pointer in %%Q: %Q} 1 2 3534b22f1b58Schw} {1 2 A NULL pointer in %Q: NULL} 35358965b50eSdrhdo_test printf-4.5 { 35368965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.10q'} 1 2 {Hi Y'all} 35378965b50eSdrh} {1 2 A quoted string: 'Hi Y''all'} 35388965b50eSdrhdo_test printf-4.6 { 35398965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.9q'} 1 2 {Hi Y'all} 35408965b50eSdrh} {1 2 A quoted string: 'Hi Y''all'} 35418965b50eSdrhdo_test printf-4.7 { 35428965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.8q'} 1 2 {Hi Y'all} 35438965b50eSdrh} {1 2 A quoted string: 'Hi Y''all'} 35448965b50eSdrhdo_test printf-4.8 { 35458965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.7q'} 1 2 {Hi Y'all} 35468965b50eSdrh} {1 2 A quoted string: 'Hi Y''al'} 35478965b50eSdrhdo_test printf-4.9 { 35488965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.6q'} 1 2 {Hi Y'all} 35498965b50eSdrh} {1 2 A quoted string: 'Hi Y''a'} 35508965b50eSdrhdo_test printf-4.10 { 35518965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.5q'} 1 2 {Hi Y'all} 35528965b50eSdrh} {1 2 A quoted string: 'Hi Y'''} 35538965b50eSdrhdo_test printf-4.11 { 35548965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.4q'} 1 2 {Hi Y'all} 35558965b50eSdrh} {1 2 A quoted string: 'Hi Y'} 35568965b50eSdrhdo_test printf-4.12 { 35578965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.3q'} 1 2 {Hi Y'all} 35588965b50eSdrh} {1 2 A quoted string: 'Hi '} 35598965b50eSdrhdo_test printf-4.13 { 35608965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.2q'} 1 2 {Hi Y'all} 35618965b50eSdrh} {1 2 A quoted string: 'Hi'} 35628965b50eSdrhdo_test printf-4.14 { 35638965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.1q'} 1 2 {Hi Y'all} 35648965b50eSdrh} {1 2 A quoted string: 'H'} 35658965b50eSdrhdo_test printf-4.15 { 35668965b50eSdrh sqlite3_mprintf_str {%d %d A quoted string: '%.0q'} 1 2 {Hi Y'all} 35678965b50eSdrh} {1 2 A quoted string: ''} 35688965b50eSdrhdo_test printf-4.16 { 35698965b50eSdrh sqlite3_mprintf_str {%d A quoted string: '%.*q'} 1 6 {Hi Y'all} 35708965b50eSdrh} {1 A quoted string: 'Hi Y''a'} 35718965b50eSdrh 3572d1bf3512Sdrh 3573daffd0e5Sdrhdo_test printf-5.1 { 35742dd59365Sdanielk1977 set x [sqlite3_mprintf_str {%d %d %100000s} 0 0 {Hello}] 3575daffd0e5Sdrh string length $x 357659eedf79Sdrh} {100004} 3577daffd0e5Sdrhdo_test printf-5.2 { 35782dd59365Sdanielk1977 sqlite3_mprintf_str {%d %d (%-10.10s) %} -9 -10 {HelloHelloHello} 3579daffd0e5Sdrh} {-9 -10 (HelloHello) %} 3580daffd0e5Sdrh 3581d93d8a81Sdrhdo_test printf-6.1 { 35822dd59365Sdanielk1977 sqlite3_mprintf_z_test , one two three four five six 3583d93d8a81Sdrh} {,one,two,three,four,five,six} 3584d93d8a81Sdrh 3585b621c237Sdrh 3586b621c237Sdrhdo_test printf-7.1 { 35872dd59365Sdanielk1977 sqlite3_mprintf_scaled {A double: %g} 1.0e307 1.0 3588b621c237Sdrh} {A double: 1e+307} 3589b621c237Sdrhdo_test printf-7.2 { 35902dd59365Sdanielk1977 sqlite3_mprintf_scaled {A double: %g} 1.0e307 10.0 3591b621c237Sdrh} {A double: 1e+308} 3592b621c237Sdrhdo_test printf-7.3 { 35932dd59365Sdanielk1977 sqlite3_mprintf_scaled {A double: %g} 1.0e307 100.0 359453c14021Sdrh} {A double: Inf} 359553c14021Sdrhdo_test printf-7.4 { 359653c14021Sdrh sqlite3_mprintf_scaled {A double: %g} -1.0e307 100.0 359753c14021Sdrh} {A double: -Inf} 359853c14021Sdrhdo_test printf-7.5 { 359953c14021Sdrh sqlite3_mprintf_scaled {A double: %+g} 1.0e307 100.0 360053c14021Sdrh} {A double: +Inf} 3601b621c237Sdrh 3602e9707671Sdrhdo_test printf-8.1 { 3603e9707671Sdrh sqlite3_mprintf_int {%u %u %u} 0x7fffffff 0x80000000 0xffffffff 3604e9707671Sdrh} {2147483647 2147483648 4294967295} 3605e9707671Sdrhdo_test printf-8.2 { 3606c5cad1e3Sdrh sqlite3_mprintf_long {%lu %lu %lu} 0x7fffffff 0x80000000 0xffffffff 3607e9707671Sdrh} {2147483647 2147483648 4294967295} 3608e9707671Sdrhdo_test printf-8.3 { 3609e9707671Sdrh sqlite3_mprintf_int64 {%llu %llu %llu} 2147483647 2147483648 4294967296 3610e9707671Sdrh} {2147483647 2147483648 4294967296} 3611e9707671Sdrhdo_test printf-8.4 { 3612e9707671Sdrh sqlite3_mprintf_int64 {%lld %lld %lld} 2147483647 2147483648 4294967296 3613e9707671Sdrh} {2147483647 2147483648 4294967296} 3614e9707671Sdrhdo_test printf-8.5 { 3615e9707671Sdrh sqlite3_mprintf_int64 {%llx %llx %llx} 2147483647 2147483648 4294967296 3616e9707671Sdrh} {7fffffff 80000000 100000000} 3617e9707671Sdrhdo_test printf-8.6 { 3618e9707671Sdrh sqlite3_mprintf_int64 {%llx %llo %lld} -1 -1 -1 3619e9707671Sdrh} {ffffffffffffffff 1777777777777777777777 -1} 3620b8cdbec2Sdanielk1977do_test printf-8.7 { 3621b8cdbec2Sdanielk1977 sqlite3_mprintf_int64 {%llx %llx %llx} +2147483647 +2147483648 +4294967296 3622b8cdbec2Sdanielk1977} {7fffffff 80000000 100000000} 3623e9707671Sdrh 3624779c6a06Sdrhdo_test printf-9.1 { 3625779c6a06Sdrh sqlite3_mprintf_int {%*.*c} 4 4 65 3626779c6a06Sdrh} {AAAA} 3627779c6a06Sdrhdo_test printf-9.2 { 3628779c6a06Sdrh sqlite3_mprintf_int {%*.*c} -4 1 66 3629779c6a06Sdrh} {B } 3630779c6a06Sdrhdo_test printf-9.3 { 3631779c6a06Sdrh sqlite3_mprintf_int {%*.*c} 4 1 67 3632779c6a06Sdrh} { C} 3633779c6a06Sdrhdo_test printf-9.4 { 36345eba8c09Sdrh sqlite3_mprintf_int {%d %d %c} 4 1 67 36355eba8c09Sdrh} {4 1 C} 36365eba8c09Sdrhset ten { } 36375eba8c09Sdrhset fifty $ten$ten$ten$ten$ten 36385eba8c09Sdrhdo_test printf-9.5 { 36395eba8c09Sdrh sqlite3_mprintf_int {%d %*c} 1 -201 67 36405eba8c09Sdrh} "1 C$fifty$fifty$fifty$fifty" 36415eba8c09Sdrhdo_test printf-9.6 { 364243617e9aSdrh sqlite3_mprintf_int {hi%12345.12346yhello} 0 0 0 364343617e9aSdrh} {hi} 3644779c6a06Sdrh 3645e29b1a05Sdrh# Ticket #812 3646e29b1a05Sdrh# 3647e29b1a05Sdrhdo_test printf-10.1 { 3648e29b1a05Sdrh sqlite3_mprintf_stronly %s {} 3649e29b1a05Sdrh} {} 3650e29b1a05Sdrh 36519796ef58Sdrh# Ticket #831 36529796ef58Sdrh# 36539796ef58Sdrhdo_test printf-10.2 { 36549796ef58Sdrh sqlite3_mprintf_stronly %q {} 36559796ef58Sdrh} {} 36569796ef58Sdrh 3657592ac8cbSdrh# Ticket #1340: Test for loss of precision on large positive exponents 3658592ac8cbSdrh# 3659592ac8cbSdrhdo_test printf-10.3 { 3660592ac8cbSdrh sqlite3_mprintf_double {%d %d %f} 1 1 1e300 3661592ac8cbSdrh} {1 1 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.000000} 3662592ac8cbSdrh 3663557cc60fSdrh# The non-standard '!' flag on a 'g' conversion forces a decimal point 3664557cc60fSdrh# and at least one digit on either side of the decimal point. 3665557cc60fSdrh# 3666557cc60fSdrhdo_test printf-11.1 { 3667557cc60fSdrh sqlite3_mprintf_double {%d %d %!g} 1 1 1 3668557cc60fSdrh} {1 1 1.0} 3669557cc60fSdrhdo_test printf-11.2 { 3670557cc60fSdrh sqlite3_mprintf_double {%d %d %!g} 1 1 123 3671557cc60fSdrh} {1 1 123.0} 3672557cc60fSdrhdo_test printf-11.3 { 3673557cc60fSdrh sqlite3_mprintf_double {%d %d %!g} 1 1 12.3 3674557cc60fSdrh} {1 1 12.3} 3675557cc60fSdrhdo_test printf-11.4 { 3676557cc60fSdrh sqlite3_mprintf_double {%d %d %!g} 1 1 0.123 3677557cc60fSdrh} {1 1 0.123} 3678557cc60fSdrhdo_test printf-11.5 { 3679557cc60fSdrh sqlite3_mprintf_double {%d %d %!.15g} 1 1 1 3680557cc60fSdrh} {1 1 1.0} 3681557cc60fSdrhdo_test printf-11.6 { 3682557cc60fSdrh sqlite3_mprintf_double {%d %d %!.15g} 1 1 1e10 3683557cc60fSdrh} {1 1 10000000000.0} 3684557cc60fSdrhdo_test printf-11.7 { 3685557cc60fSdrh sqlite3_mprintf_double {%d %d %!.15g} 1 1 1e300 3686557cc60fSdrh} {1 1 1.0e+300} 3687557cc60fSdrh 36885eba8c09Sdrh# Additional tests for coverage 36895eba8c09Sdrh# 36905eba8c09Sdrhdo_test printf-12.1 { 36915eba8c09Sdrh sqlite3_mprintf_double {%d %d %.2000g} 1 1 1.0 36925eba8c09Sdrh} {1 1 1} 3693e29b1a05Sdrh 369463782855Sdrh# Floating point boundary cases 369563782855Sdrh# 369663782855Sdrhdo_test printf-13.1 { 369763782855Sdrh sqlite3_mprintf_hexdouble %.20f 4024000000000000 369863782855Sdrh} {10.00000000000000000000} 369963782855Sdrhdo_test printf-13.2 { 370063782855Sdrh sqlite3_mprintf_hexdouble %.20f 4197d78400000000 370163782855Sdrh} {100000000.00000000000000000000} 370263782855Sdrhdo_test printf-13.3 { 370363782855Sdrh sqlite3_mprintf_hexdouble %.20f 4693b8b5b5056e17 370463782855Sdrh} {100000000000000000000000000000000.00000000000000000000} 370553c14021Sdrhdo_test printf-13.4 { 370653c14021Sdrh sqlite3_mprintf_hexdouble %.20f 7ff0000000000000 370753c14021Sdrh} {Inf} 370853c14021Sdrhdo_test printf-13.5 { 370953c14021Sdrh sqlite3_mprintf_hexdouble %.20f fff0000000000000 371053c14021Sdrh} {-Inf} 371153c14021Sdrhdo_test printf-13.6 { 371253c14021Sdrh sqlite3_mprintf_hexdouble %.20f fff8000000000000 371353c14021Sdrh} {NaN} 37148c069147Sdando_test printf-13.7 { 3715b6f47debSdrh sqlite3_mprintf_hexdouble %2147483648.10000f 4693b8b5b5056e17 3716b6f47debSdrh} {/100000000000000000000000000000000.00/} 371763782855Sdrh 371805a82983Sdrhdo_test printf-14.1 { 371905a82983Sdrh sqlite3_mprintf_str {abc-%y-123} 0 0 {not used} 372005a82983Sdrh} {abc-} 372105a82983Sdrhdo_test printf-14.2 { 372205a82983Sdrh sqlite3_mprintf_n_test {xyzzy} 372305a82983Sdrh} 5 3724b3738b6cSdrhdo_test printf-14.3 { 3725b3738b6cSdrh sqlite3_mprintf_str {abc-%T-123} 0 0 {not used} 3726b3738b6cSdrh} {abc-} 3727f43639a0Sdrhdo_test printf-14.4 { 3728f43639a0Sdrh sqlite3_mprintf_str {abc-%#} 0 0 {not used} 3729f43639a0Sdrh} {abc-} 3730af005fbcSdrhdo_test printf-14.5 { 3731af005fbcSdrh sqlite3_mprintf_str {abc-%*.*s-xyz} 10 -10 {a_very_long_string} 3732af005fbcSdrh} {abc-a_very_lon-xyz} 3733af005fbcSdrhdo_test printf-14.6 { 3734af005fbcSdrh sqlite3_mprintf_str {abc-%5.10/} 0 0 {not used} 3735af005fbcSdrh} {abc-} 3736af005fbcSdrhdo_test printf-14.7 { 3737af005fbcSdrh sqlite3_mprintf_str {abc-%05.5d} 123 0 {not used} 3738af005fbcSdrh} {abc-00123} 3739af005fbcSdrhdo_test printf-14.8 { 3740af005fbcSdrh sqlite3_mprintf_str {abc-%05.5d} 1234567 0 {not used} 3741af005fbcSdrh} {abc-1234567} 3742f43639a0Sdrh 3743f43639a0Sdrhfor {set i 2} {$i<200} {incr i} { 3744f43639a0Sdrh set res [string repeat { } [expr {$i-1}]]x 3745af005fbcSdrh do_test printf-14.90.$i " 3746f43639a0Sdrh sqlite3_mprintf_str {%*.*s} $i 500 x 3747f43639a0Sdrh " $res 3748f43639a0Sdrh} 374905a82983Sdrh 375068853907Sdrhdo_test printf-15.1 { 375168853907Sdrh sqlite3_snprintf_int 5 {12345} 0 375268853907Sdrh} {1234} 375368853907Sdrhdo_test printf-15.2 { 375468853907Sdrh sqlite3_snprintf_int 5 {} 0 375568853907Sdrh} {} 375668853907Sdrhdo_test printf-15.3 { 375768853907Sdrh sqlite3_snprintf_int 0 {} 0 375868853907Sdrh} {abcdefghijklmnopqrstuvwxyz} 375963782855Sdrh 3760ca0c8971Sdanielk1977# Now test malloc() failure within a sqlite3_mprintf(): 3761ca0c8971Sdanielk1977# 3762ca0c8971Sdanielk1977foreach var {a b c d} { 3763ca0c8971Sdanielk1977 set $var [string repeat $var 400] 3764ca0c8971Sdanielk1977} 3765ca0c8971Sdanielk1977set str1 "[string repeat A 360]%d%d%s" 3766ca0c8971Sdanielk1977set str2 [string repeat B 5000] 3767ca0c8971Sdanielk1977set zSuccess "[string repeat A 360]11[string repeat B 5000]" 3768ca0c8971Sdanielk1977foreach ::iRepeat {0 1} { 3769ca0c8971Sdanielk1977 set nTestNum 1 3770ca0c8971Sdanielk1977 while {1} { 3771ca0c8971Sdanielk1977 sqlite3_memdebug_fail $nTestNum -repeat $::iRepeat 3772ca0c8971Sdanielk1977 set z [sqlite3_mprintf_str $str1 1 1 $str2] 3773ca0c8971Sdanielk1977 set nFail [sqlite3_memdebug_fail -1 -benign nBenign] 3774ca0c8971Sdanielk1977 do_test printf-malloc-$::iRepeat.$nTestNum { 3775ca0c8971Sdanielk1977 expr {($nFail>0 && $z eq "") || ($nFail==$nBenign && $z eq $zSuccess)} 3776ca0c8971Sdanielk1977 } {1} 3777ca0c8971Sdanielk1977 if {$nFail == 0} break 3778ca0c8971Sdanielk1977 incr nTestNum 3779ca0c8971Sdanielk1977 } 3780ca0c8971Sdanielk1977} 3781ca0c8971Sdanielk1977 3782dd6c33d3Sdrh# 2020-05-23 3783dd6c33d3Sdrh# ticket 23439ea582241138 3784dd6c33d3Sdrh# 3785dd6c33d3Sdrhdo_execsql_test printf-16.1 { 3786dd6c33d3Sdrh SELECT printf('%.*g',2147483647,0.01); 3787dd6c33d3Sdrh} {0.01} 3788dd6c33d3Sdrh 3789d1bf3512Sdrhfinish_test 3790