aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Paland <marco@paland.com>2018-04-20 13:30:09 +0200
committerMarco Paland <marco@paland.com>2018-04-20 13:30:09 +0200
commit2bdef77da48a665c61db7ea85e6ce1bf9a42e714 (patch)
treec6917a4f99ce55e3bdebd010743983d8317436cc
parent85dc7cf0749661e799c488a515a12ab9353ee5b2 (diff)
downloadprintf-2bdef77da48a665c61db7ea85e6ce1bf9a42e714.tar.gz
printf-2bdef77da48a665c61db7ea85e6ce1bf9a42e714.tar.bz2
printf-2bdef77da48a665c61db7ea85e6ce1bf9a42e714.zip
chore(readme): updated readme
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 18c6c41..de9df96 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.<br>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.<br>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.<br>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.<br>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**.<br>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.<br>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. |