📄 printf.test
字号:
sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -0.00543} {abc: (-5.4300000000e-03) :xyz}do_test printf-2.3.7.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -0.00543} {abc: ( -0.00543) :xyz}do_test printf-2.3.7.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -0.00543} {abc: 10 10 (-0.00543) :xyz}do_test printf-2.3.7.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -0.00543} {abc: 10 10 (-0.00543000) :xyz}do_test printf-2.3.7.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -0.00543} {abc: 10 10 (-000.00543) :xyz}do_test printf-2.3.7.7 { sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -0.00543} {abc: 10 10 (-0.0054300000) :xyz}do_test printf-2.3.7.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -0.00543} {abc: 10 10 (-5.4300000000e-03) :xyz}do_test printf-2.3.7.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -0.00543} {abc: 10 10 ( -0.00543) :xyz}do_test printf-2.3.8.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -1.0} {abc: (-1.0000000000) :xyz}do_test printf-2.3.8.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -1.0} {abc: (-1.0000000000e+00) :xyz}do_test printf-2.3.8.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -1.0} {abc: ( -1) :xyz}do_test printf-2.3.8.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -1.0} {abc: 10 10 (-1) :xyz}do_test printf-2.3.8.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -1.0} {abc: 10 10 (-1.00000) :xyz}do_test printf-2.3.8.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -1.0} {abc: 10 10 (-000000001) :xyz}do_test printf-2.3.8.7 { sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -1.0} {abc: 10 10 (-1.0000000000) :xyz}do_test printf-2.3.8.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -1.0} {abc: 10 10 (-1.0000000000e+00) :xyz}do_test printf-2.3.8.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -1.0} {abc: 10 10 ( -1) :xyz}do_test printf-2.3.9.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -99.99999} {abc: (-99.9999900000) :xyz}do_test printf-2.3.9.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -99.99999} {abc: (-9.9999990000e+01) :xyz}do_test printf-2.3.9.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -99.99999} {abc: ( -99.99999) :xyz}do_test printf-2.3.9.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -99.99999} {abc: 10 10 (-100) :xyz}do_test printf-2.3.9.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -99.99999} {abc: 10 10 (-100.000) :xyz}do_test printf-2.3.9.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -99.99999} {abc: 10 10 (-000000100) :xyz}do_test printf-2.3.9.7 { sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -99.99999} {abc: 10 10 (-99.9999900000) :xyz}do_test printf-2.3.9.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -99.99999} {abc: 10 10 (-9.9999990000e+01) :xyz}do_test printf-2.3.9.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -99.99999} {abc: 10 10 ( -99.99999) :xyz}do_test printf-2.3.10.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 3.14e+9} {abc: (3140000000.0000000000) :xyz}do_test printf-2.3.10.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 3.14e+9} {abc: (3.1400000000e+09) :xyz}do_test printf-2.3.10.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 3.14e+9} {abc: (3140000000) :xyz}do_test printf-2.3.10.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 3.14e+9} {abc: 10 10 (3.14e+09) :xyz}do_test printf-2.3.10.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 3.14e+9} {abc: 10 10 (3.14000e+09) :xyz}do_test printf-2.3.10.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 3.14e+9} {abc: 10 10 (003.14e+09) :xyz}do_test printf-2.3.10.7 { sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 3.14e+9} {abc: 10 10 (3140000000.0000000000) :xyz}do_test printf-2.3.10.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 3.14e+9} {abc: 10 10 (3.1400000000e+09) :xyz}do_test printf-2.3.10.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 3.14e+9} {abc: 10 10 (3140000000) :xyz}do_test printf-2.3.11.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -4.72732e+88} {abc: (-4.7273200000e+88) :xyz}do_test printf-2.3.11.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -4.72732e+88} {abc: (-4.72732e+88) :xyz}do_test printf-2.3.11.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -4.72732e+88} {abc: 10 10 (-4.72732e+88) :xyz}do_test printf-2.3.11.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -4.72732e+88} {abc: 10 10 (-4.72732e+88) :xyz}do_test printf-2.3.11.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -4.72732e+88} {abc: 10 10 (-4.72732e+88) :xyz}do_test printf-2.3.11.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -4.72732e+88} {abc: 10 10 (-4.7273200000e+88) :xyz}do_test printf-2.3.11.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -4.72732e+88} {abc: 10 10 (-4.72732e+88) :xyz}do_test printf-2.3.12.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 9.87991e+143} {abc: (9.8799100000e+143) :xyz}do_test printf-2.3.12.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 9.87991e+143} {abc: (9.87991e+143) :xyz}do_test printf-2.3.12.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 9.87991e+143} {abc: 10 10 (9.87991e+143) :xyz}do_test printf-2.3.12.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 9.87991e+143} {abc: 10 10 (9.87991e+143) :xyz}do_test printf-2.3.12.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 9.87991e+143} {abc: 10 10 (9.87991e+143) :xyz}do_test printf-2.3.12.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 9.87991e+143} {abc: 10 10 (9.8799100000e+143) :xyz}do_test printf-2.3.12.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 9.87991e+143} {abc: 10 10 (9.87991e+143) :xyz}do_test printf-2.3.13.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 -6.287291e-9} {abc: (-0.0000000063) :xyz}do_test printf-2.3.13.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 -6.287291e-9} {abc: (-6.2872910000e-09) :xyz}do_test printf-2.3.13.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 -6.287291e-9} {abc: (-6.287291e-09) :xyz}do_test printf-2.3.13.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 -6.287291e-9} {abc: 10 10 (-6.28729e-09) :xyz}do_test printf-2.3.13.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 -6.287291e-9} {abc: 10 10 (-6.28729e-09) :xyz}do_test printf-2.3.13.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 -6.287291e-9} {abc: 10 10 (-6.28729e-09) :xyz}do_test printf-2.3.13.7 { sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 -6.287291e-9} {abc: 10 10 (-0.0000000063) :xyz}do_test printf-2.3.13.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 -6.287291e-9} {abc: 10 10 (-6.2872910000e-09) :xyz}do_test printf-2.3.13.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 -6.287291e-9} {abc: 10 10 (-6.287291e-09) :xyz}do_test printf-2.3.14.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 10 3.38826392e-110} {abc: (0.0000000000) :xyz}do_test printf-2.3.14.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 10 3.38826392e-110} {abc: (3.3882639200e-110) :xyz}do_test printf-2.3.14.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 10 3.38826392e-110} {abc: (3.38826392e-110) :xyz}do_test printf-2.3.14.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 10 3.38826392e-110} {abc: 10 10 (3.38826e-110) :xyz}do_test printf-2.3.14.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 10 3.38826392e-110} {abc: 10 10 (3.38826e-110) :xyz}do_test printf-2.3.14.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 10 3.38826392e-110} {abc: 10 10 (3.38826e-110) :xyz}do_test printf-2.3.14.7 { sqlite3_mprintf_double {abc: %d %d (%10.10f) :xyz} 10 10 3.38826392e-110} {abc: 10 10 (0.0000000000) :xyz}do_test printf-2.3.14.8 { sqlite3_mprintf_double {abc: %d %d (%10.10e) :xyz} 10 10 3.38826392e-110} {abc: 10 10 (3.3882639200e-110) :xyz}do_test printf-2.3.14.9 { sqlite3_mprintf_double {abc: %d %d (%10.10g) :xyz} 10 10 3.38826392e-110} {abc: 10 10 (3.38826392e-110) :xyz}do_test printf-2.4.1.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 0.001} {abc: ( 0.00100) :xyz}do_test printf-2.4.1.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 0.001} {abc: (1.00000e-03) :xyz}do_test printf-2.4.1.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 0.001} {abc: ( 0.001) :xyz}do_test printf-2.4.1.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 0.001} {abc: 10 5 (0.001) :xyz}do_test printf-2.4.1.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 0.001} {abc: 10 5 (0.00100000) :xyz}do_test printf-2.4.1.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 0.001} {abc: 10 5 (000000.001) :xyz}do_test printf-2.4.1.7 { sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 0.001} {abc: 10 5 ( 0.00100) :xyz}do_test printf-2.4.1.8 { sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 0.001} {abc: 10 5 (1.00000e-03) :xyz}do_test printf-2.4.1.9 { sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 0.001} {abc: 10 5 ( 0.001) :xyz}do_test printf-2.4.2.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 1.0e-20} {abc: ( 0.00000) :xyz}do_test printf-2.4.2.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 1.0e-20} {abc: (1.00000e-20) :xyz}do_test printf-2.4.2.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 1.0e-20} {abc: ( 1e-20) :xyz}do_test printf-2.4.2.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 1.0e-20} {abc: 10 5 (1e-20) :xyz}do_test printf-2.4.2.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 1.0e-20} {abc: 10 5 (1.00000e-20) :xyz}do_test printf-2.4.2.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 1.0e-20} {abc: 10 5 (000001e-20) :xyz}do_test printf-2.4.2.7 { sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 1.0e-20} {abc: 10 5 ( 0.00000) :xyz}do_test printf-2.4.2.8 { sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 1.0e-20} {abc: 10 5 (1.00000e-20) :xyz}do_test printf-2.4.2.9 { sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 1.0e-20} {abc: 10 5 ( 1e-20) :xyz}do_test printf-2.4.3.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 1.0} {abc: ( 1.00000) :xyz}do_test printf-2.4.3.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 1.0} {abc: (1.00000e+00) :xyz}do_test printf-2.4.3.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 1.0} {abc: ( 1) :xyz}do_test printf-2.4.3.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 1.0} {abc: 10 5 (1) :xyz}do_test printf-2.4.3.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 1.0} {abc: 10 5 (1.00000) :xyz}do_test printf-2.4.3.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 1.0} {abc: 10 5 (0000000001) :xyz}do_test printf-2.4.3.7 { sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 1.0} {abc: 10 5 ( 1.00000) :xyz}do_test printf-2.4.3.8 { sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 1.0} {abc: 10 5 (1.00000e+00) :xyz}do_test printf-2.4.3.9 { sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 1.0} {abc: 10 5 ( 1) :xyz}do_test printf-2.4.4.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 0.0} {abc: ( 0.00000) :xyz}do_test printf-2.4.4.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 0.0} {abc: (0.00000e+00) :xyz}do_test printf-2.4.4.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 0.0} {abc: ( 0) :xyz}do_test printf-2.4.4.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 0.0} {abc: 10 5 (0) :xyz}do_test printf-2.4.4.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 0.0} {abc: 10 5 (0.00000) :xyz}do_test printf-2.4.4.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 0.0} {abc: 10 5 (0000000000) :xyz}do_test printf-2.4.4.7 { sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 0.0} {abc: 10 5 ( 0.00000) :xyz}do_test printf-2.4.4.8 { sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 0.0} {abc: 10 5 (0.00000e+00) :xyz}do_test printf-2.4.4.9 { sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 0.0} {abc: 10 5 ( 0) :xyz}do_test printf-2.4.5.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 100.0} {abc: ( 100.00000) :xyz}do_test printf-2.4.5.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 100.0} {abc: (1.00000e+02) :xyz}do_test printf-2.4.5.3 { sqlite3_mprintf_double {abc: (%*.*g) :xyz} 10 5 100.0} {abc: ( 100) :xyz}do_test printf-2.4.5.4 { sqlite3_mprintf_double {abc: %d %d (%g) :xyz} 10 5 100.0} {abc: 10 5 (100) :xyz}do_test printf-2.4.5.5 { sqlite3_mprintf_double {abc: %d %d (%#g) :xyz} 10 5 100.0} {abc: 10 5 (100.000) :xyz}do_test printf-2.4.5.6 { sqlite3_mprintf_double {abc: %d %d (%010g) :xyz} 10 5 100.0} {abc: 10 5 (0000000100) :xyz}do_test printf-2.4.5.7 { sqlite3_mprintf_double {abc: %d %d (%10.5f) :xyz} 10 5 100.0} {abc: 10 5 ( 100.00000) :xyz}do_test printf-2.4.5.8 { sqlite3_mprintf_double {abc: %d %d (%10.5e) :xyz} 10 5 100.0} {abc: 10 5 (1.00000e+02) :xyz}do_test printf-2.4.5.9 { sqlite3_mprintf_double {abc: %d %d (%10.5g) :xyz} 10 5 100.0} {abc: 10 5 ( 100) :xyz}do_test printf-2.4.6.1 { sqlite3_mprintf_double {abc: (%*.*f) :xyz} 10 5 9.99999} {abc: ( 9.99999) :xyz}do_test printf-2.4.6.2 { sqlite3_mprintf_double {abc: (%*.*e) :xyz} 10 5 9.99999} {abc: (9.99999e+00) :xyz}do_test printf-2.4.6.3 { sqlite3_mprintf_double {abc:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -