From 3df03358b7482f254937aaaa1ada709df9de22aa Mon Sep 17 00:00:00 2001 From: Marco Paland Date: Mon, 24 Sep 2018 15:24:54 +0200 Subject: chore(readme): updated readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 348a30c..d4c2ea5 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ The following format specifiers are supported: | - | Left-justify within the given field width; Right justification is the default. | | + | Forces to preceed the result with a plus or minus sign (+ or -) even for positive numbers.
By default, only negative numbers are preceded with a - sign. | | (space) | If no sign is going to be written, a blank space is inserted before the value. | -| # | Used with o, x or X specifiers the value is preceeded with 0, 0x or 0X respectively for values different than zero.
Used with f, F it forces the written output to contain a decimal point even if no more digits follow. By default, if no digits follow, no decimal point is written. | +| # | Used with o, b, x or X specifiers the value is preceeded with 0, 0b, 0x or 0X respectively for values different than zero.
Used with f, F it forces the written output to contain a decimal point even if no more digits follow. By default, if no digits follow, no decimal point is written. | | 0 | Left-pads the number with zeroes (0) instead of spaces when padding is specified (see width sub-specifier). | @@ -171,6 +171,7 @@ int length = sprintf(NULL, "Hello, world"); // length is set to 12 - The internal floating point conversion has a maximum precision of 9 digits. Any higher precision is truncated after the 9th digit and zeros are returned. So `printf("%.12f", 42.89522312345678)` gives `42.895223123000`. - Exponential floating point format (e.g. `"%.10e"` to get `1.167e+65`) for large numbers is not supported yet. Sorry. +- `double` type is not supported in the moment, downcast to `float` might by required. ## Test suite -- cgit v1.2.3