Implement %g format for printf

This commit is contained in:
Ruslan Kabatsayev
2018-06-30 18:34:24 +03:00
parent e555a718c0
commit f58277f53d
4 changed files with 27 additions and 1 deletions

View File

@@ -274,6 +274,7 @@ STATIC NAMETYPE modes[] = {
{"oct", MODE_OCTAL},
{"binary", MODE_BINARY},
{"bin", MODE_BINARY},
{"float-auto", MODE_REAL_AUTO},
{"off", MODE2_OFF},
{NULL, 0}
};