From 2bdef77da48a665c61db7ea85e6ce1bf9a42e714 Mon Sep 17 00:00:00 2001 From: Marco Paland Date: Fri, 20 Apr 2018 13:30:09 +0200 Subject: [PATCH] chore(readme): updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 18c6c411..de9df960 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Therefore I decided to write an own, final implementation which meets the follow - Support of decimal/floating number representation (with an own fast itoa/ftoa) - Reentrant and thread-safe, malloc free - LINT and compiler L4 warning free, mature, coverity clean, automotive ready - - Extensive test suite (> 300 test cases) passing + - Extensive test suite (> 310 test cases) passing - Simply the best *printf* around the net - MIT license @@ -102,7 +102,7 @@ The following format specifiers are supported: | Precision | Description | |-----------|-------------| -| .number | For integer specifiers (d, i, o, u, x, X): precision specifies the minimum number of digits to be written. If the value to be written is shorter than this number, the result is padded with leading zeros. The value is not truncated even if the result is longer. A precision of 0 means that no character is written for the value 0.
For f and F specifiers: this is the number of digits to be printed after the decimal point. By default, this is 6, maximum is 9.
For s: this is the maximum number of characters to be printed. By default all characters are printed until the ending null character is encountered.
If the period is specified without an explicit value for precision, 0 is assumed. | +| .number | For integer specifiers (d, i, o, u, x, X): precision specifies the minimum number of digits to be written. If the value to be written is shorter than this number, the result is padded with leading zeros. The value is not truncated even if the result is longer. A precision of 0 means that no character is written for the value 0.
For f and F specifiers: this is the number of digits to be printed after the decimal point. **By default, this is 6, maximum is 9**.
For s: this is the maximum number of characters to be printed. By default all characters are printed until the ending null character is encountered.
If the period is specified without an explicit value for precision, 0 is assumed. | | .* | The precision is not specified in the format string, but as an additional integer value argument preceding the argument that has to be formatted. |