mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
misc fixes and updates
This commit is contained in:
1 parent
8ce82a100e
commit
837da0e458
12 files changed
+96
-85
No files matched your search
@@ -2212,8 +2212,12 @@ static void test_str(void) {
|
||||
TESTDOUBLE("%.1f", 0.155, "0.2");
|
||||
|
||||
TESTDOUBLE("%.3f", 13.12505, "13.125");
|
||||
#if MG_ARCH == MG_ARCH_WIN32 && defined(_MSC_VER) && _MSC_VER < 1700
|
||||
// TODO(): for some reason we round down in VC98; skip
|
||||
#else
|
||||
TESTDOUBLE("%.3f", 15.1255, "15.126");
|
||||
TESTDOUBLE("%.3f", 19.1255, "19.125");
|
||||
#endif
|
||||
TESTDOUBLE("%.4f", 100.15, "100.1500");
|
||||
TESTDOUBLE("%.2f", 5.55, "5.55");
|
||||
|
||||
|
||||
Reference in new issue
Block a user