misc fixes and updates

This commit is contained in:
Sergio R. Caprile committed 2024-12-27 11:16:10 -03:00
1 parent 8ce82a100e
commit 837da0e458
12 files changed
+96 -85

No files matched your search

+4
View File
@@ -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");