⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printf.test

📁 最新的sqlite3.6.2源代码
💻 TEST
📖 第 1 页 / 共 5 页
字号:
} {abc: 1 1 (-1.0e+00) :xyz}do_test printf-2.1.8.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -1.0} {abc: 1 1 (-1) :xyz}do_test printf-2.1.9.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -99.99999} {abc: (-100.0) :xyz}do_test printf-2.1.9.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -99.99999} {abc: (-1.0e+02) :xyz}do_test printf-2.1.9.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -99.99999} {abc: (-1e+02) :xyz}do_test printf-2.1.9.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -99.99999} {abc: 1 1 (-100) :xyz}do_test printf-2.1.9.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -99.99999} {abc: 1 1 (-100.000) :xyz}do_test printf-2.1.9.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -99.99999} {abc: 1 1 (-000000100) :xyz}do_test printf-2.1.9.7 {  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -99.99999} {abc: 1 1 (-100.0) :xyz}do_test printf-2.1.9.8 {  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -99.99999} {abc: 1 1 (-1.0e+02) :xyz}do_test printf-2.1.9.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -99.99999} {abc: 1 1 (-1e+02) :xyz}do_test printf-2.1.10.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 3.14e+9} {abc: (3140000000.0) :xyz}do_test printf-2.1.10.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 3.14e+9} {abc: (3.1e+09) :xyz}do_test printf-2.1.10.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 3.14e+9} {abc: (3e+09) :xyz}do_test printf-2.1.10.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 3.14e+9} {abc: 1 1 (3.14e+09) :xyz}do_test printf-2.1.10.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 3.14e+9} {abc: 1 1 (3.14000e+09) :xyz}do_test printf-2.1.10.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 3.14e+9} {abc: 1 1 (003.14e+09) :xyz}do_test printf-2.1.10.7 {  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 3.14e+9} {abc: 1 1 (3140000000.0) :xyz}do_test printf-2.1.10.8 {  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 3.14e+9} {abc: 1 1 (3.1e+09) :xyz}do_test printf-2.1.10.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 3.14e+9} {abc: 1 1 (3e+09) :xyz}do_test printf-2.1.11.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -4.72732e+88} {abc: (-4.7e+88) :xyz}do_test printf-2.1.11.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -4.72732e+88} {abc: (-5e+88) :xyz}do_test printf-2.1.11.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -4.72732e+88} {abc: 1 1 (-4.72732e+88) :xyz}do_test printf-2.1.11.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -4.72732e+88} {abc: 1 1 (-4.72732e+88) :xyz}do_test printf-2.1.11.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -4.72732e+88} {abc: 1 1 (-4.72732e+88) :xyz}do_test printf-2.1.11.8 {  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -4.72732e+88} {abc: 1 1 (-4.7e+88) :xyz}do_test printf-2.1.11.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -4.72732e+88} {abc: 1 1 (-5e+88) :xyz}do_test printf-2.1.12.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 9.87991e+143} {abc: (9.9e+143) :xyz}do_test printf-2.1.12.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 9.87991e+143} {abc: (1e+144) :xyz}do_test printf-2.1.12.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 9.87991e+143} {abc: 1 1 (9.87991e+143) :xyz}do_test printf-2.1.12.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 9.87991e+143} {abc: 1 1 (9.87991e+143) :xyz}do_test printf-2.1.12.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 9.87991e+143} {abc: 1 1 (9.87991e+143) :xyz}do_test printf-2.1.12.8 {  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 9.87991e+143} {abc: 1 1 (9.9e+143) :xyz}do_test printf-2.1.12.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 9.87991e+143} {abc: 1 1 (1e+144) :xyz}do_test printf-2.1.13.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 -6.287291e-9} {abc: (-0.0) :xyz}do_test printf-2.1.13.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 -6.287291e-9} {abc: (-6.3e-09) :xyz}do_test printf-2.1.13.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 -6.287291e-9} {abc: (-6e-09) :xyz}do_test printf-2.1.13.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 -6.287291e-9} {abc: 1 1 (-6.28729e-09) :xyz}do_test printf-2.1.13.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 -6.287291e-9} {abc: 1 1 (-6.28729e-09) :xyz}do_test printf-2.1.13.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 -6.287291e-9} {abc: 1 1 (-6.28729e-09) :xyz}do_test printf-2.1.13.7 {  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 -6.287291e-9} {abc: 1 1 (-0.0) :xyz}do_test printf-2.1.13.8 {  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 -6.287291e-9} {abc: 1 1 (-6.3e-09) :xyz}do_test printf-2.1.13.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 -6.287291e-9} {abc: 1 1 (-6e-09) :xyz}do_test printf-2.1.14.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 1 1 3.38826392e-110} {abc: (0.0) :xyz}do_test printf-2.1.14.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 1 1 3.38826392e-110} {abc: (3.4e-110) :xyz}do_test printf-2.1.14.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 1 1 3.38826392e-110} {abc: (3e-110) :xyz}do_test printf-2.1.14.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 1 1 3.38826392e-110} {abc: 1 1 (3.38826e-110) :xyz}do_test printf-2.1.14.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 1 1 3.38826392e-110} {abc: 1 1 (3.38826e-110) :xyz}do_test printf-2.1.14.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 1 1 3.38826392e-110} {abc: 1 1 (3.38826e-110) :xyz}do_test printf-2.1.14.7 {  sqlite3_mprintf_double {abc: %d %d (%1.1f) :xyz} 1 1 3.38826392e-110} {abc: 1 1 (0.0) :xyz}do_test printf-2.1.14.8 {  sqlite3_mprintf_double {abc: %d %d (%1.1e) :xyz} 1 1 3.38826392e-110} {abc: 1 1 (3.4e-110) :xyz}do_test printf-2.1.14.9 {  sqlite3_mprintf_double {abc: %d %d (%1.1g) :xyz} 1 1 3.38826392e-110} {abc: 1 1 (3e-110) :xyz}do_test printf-2.2.1.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 0.001} {abc: (0.00100) :xyz}do_test printf-2.2.1.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 0.001} {abc: (1.00000e-03) :xyz}do_test printf-2.2.1.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 0.001} {abc: (0.001) :xyz}do_test printf-2.2.1.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 0.001} {abc: 5 5 (0.001) :xyz}do_test printf-2.2.1.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 0.001} {abc: 5 5 (0.00100000) :xyz}do_test printf-2.2.1.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 0.001} {abc: 5 5 (000000.001) :xyz}do_test printf-2.2.1.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 0.001} {abc: 5 5 (0.00100) :xyz}do_test printf-2.2.1.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 0.001} {abc: 5 5 (1.00000e-03) :xyz}do_test printf-2.2.1.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 0.001} {abc: 5 5 (0.001) :xyz}do_test printf-2.2.2.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 1.0e-20} {abc: (0.00000) :xyz}do_test printf-2.2.2.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 1.0e-20} {abc: (1.00000e-20) :xyz}do_test printf-2.2.2.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 1.0e-20} {abc: (1e-20) :xyz}do_test printf-2.2.2.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 1.0e-20} {abc: 5 5 (1e-20) :xyz}do_test printf-2.2.2.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 1.0e-20} {abc: 5 5 (1.00000e-20) :xyz}do_test printf-2.2.2.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 1.0e-20} {abc: 5 5 (000001e-20) :xyz}do_test printf-2.2.2.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 1.0e-20} {abc: 5 5 (0.00000) :xyz}do_test printf-2.2.2.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 1.0e-20} {abc: 5 5 (1.00000e-20) :xyz}do_test printf-2.2.2.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 1.0e-20} {abc: 5 5 (1e-20) :xyz}do_test printf-2.2.3.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 1.0} {abc: (1.00000) :xyz}do_test printf-2.2.3.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 1.0} {abc: (1.00000e+00) :xyz}do_test printf-2.2.3.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 1.0} {abc: (    1) :xyz}do_test printf-2.2.3.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 1.0} {abc: 5 5 (1) :xyz}do_test printf-2.2.3.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 1.0} {abc: 5 5 (1.00000) :xyz}do_test printf-2.2.3.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 1.0} {abc: 5 5 (0000000001) :xyz}do_test printf-2.2.3.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 1.0} {abc: 5 5 (1.00000) :xyz}do_test printf-2.2.3.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 1.0} {abc: 5 5 (1.00000e+00) :xyz}do_test printf-2.2.3.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 1.0} {abc: 5 5 (    1) :xyz}do_test printf-2.2.4.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 0.0} {abc: (0.00000) :xyz}do_test printf-2.2.4.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 0.0} {abc: (0.00000e+00) :xyz}do_test printf-2.2.4.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 0.0} {abc: (    0) :xyz}do_test printf-2.2.4.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 0.0} {abc: 5 5 (0) :xyz}do_test printf-2.2.4.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 0.0} {abc: 5 5 (0.00000) :xyz}do_test printf-2.2.4.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 0.0} {abc: 5 5 (0000000000) :xyz}do_test printf-2.2.4.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 0.0} {abc: 5 5 (0.00000) :xyz}do_test printf-2.2.4.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 0.0} {abc: 5 5 (0.00000e+00) :xyz}do_test printf-2.2.4.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 0.0} {abc: 5 5 (    0) :xyz}do_test printf-2.2.5.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 100.0} {abc: (100.00000) :xyz}do_test printf-2.2.5.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 100.0} {abc: (1.00000e+02) :xyz}do_test printf-2.2.5.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 100.0} {abc: (  100) :xyz}do_test printf-2.2.5.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 100.0} {abc: 5 5 (100) :xyz}do_test printf-2.2.5.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 100.0} {abc: 5 5 (100.000) :xyz}do_test printf-2.2.5.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 100.0} {abc: 5 5 (0000000100) :xyz}do_test printf-2.2.5.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 100.0} {abc: 5 5 (100.00000) :xyz}do_test printf-2.2.5.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 100.0} {abc: 5 5 (1.00000e+02) :xyz}do_test printf-2.2.5.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 100.0} {abc: 5 5 (  100) :xyz}do_test printf-2.2.6.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 9.99999} {abc: (9.99999) :xyz}do_test printf-2.2.6.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 9.99999} {abc: (9.99999e+00) :xyz}do_test printf-2.2.6.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 9.99999} {abc: (   10) :xyz}do_test printf-2.2.6.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 9.99999} {abc: 5 5 (9.99999) :xyz}do_test printf-2.2.6.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 9.99999} {abc: 5 5 (9.99999) :xyz}do_test printf-2.2.6.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 9.99999} {abc: 5 5 (0009.99999) :xyz}do_test printf-2.2.6.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 9.99999} {abc: 5 5 (9.99999) :xyz}do_test printf-2.2.6.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 9.99999} {abc: 5 5 (9.99999e+00) :xyz}do_test printf-2.2.6.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 9.99999} {abc: 5 5 (   10) :xyz}do_test printf-2.2.7.1 {  sqlite3_mprintf_double {abc: (%*.*f) :xyz} 5 5 -0.00543} {abc: (-0.00543) :xyz}do_test printf-2.2.7.2 {  sqlite3_mprintf_double {abc: (%*.*e) :xyz} 5 5 -0.00543} {abc: (-5.43000e-03) :xyz}do_test printf-2.2.7.3 {  sqlite3_mprintf_double {abc: (%*.*g) :xyz} 5 5 -0.00543} {abc: (-0.00543) :xyz}do_test printf-2.2.7.4 {  sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 5 5 -0.00543} {abc: 5 5 (-0.00543) :xyz}do_test printf-2.2.7.5 {  sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 5 5 -0.00543} {abc: 5 5 (-0.00543000) :xyz}do_test printf-2.2.7.6 {  sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 5 5 -0.00543} {abc: 5 5 (-000.00543) :xyz}do_test printf-2.2.7.7 {  sqlite3_mprintf_double {abc: %d %d (%5.5f) :xyz} 5 5 -0.00543} {abc: 5 5 (-0.00543) :xyz}do_test printf-2.2.7.8 {  sqlite3_mprintf_double {abc: %d %d (%5.5e) :xyz} 5 5 -0.00543} {abc: 5 5 (-5.43000e-03) :xyz}do_test printf-2.2.7.9 {  sqlite3_mprintf_double {abc: %d %d (%5.5g) :xyz} 5 5 -0.00543} {abc: 5 5 (-0.00543) :xyz}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -