From cbc0ff67718d606ed1e73957fad3c3ef047a75e3 Mon Sep 17 00:00:00 2001 From: Masahito Osako <43847020+m11o@users.noreply.github.com> Date: Thu, 6 Apr 2023 00:24:19 +0900 Subject: [PATCH] Update src/uu/printf/printf.md Co-authored-by: Sylvestre Ledru --- src/uu/printf/printf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uu/printf/printf.md b/src/uu/printf/printf.md index e596c0831..4aeeae3f7 100644 --- a/src/uu/printf/printf.md +++ b/src/uu/printf/printf.md @@ -218,7 +218,7 @@ higher, you can expect variation in output between GNU coreutils printf and this 7 significant digits by default `%E` means use to use uppercase E for the mantissa. -* `%g or %G`: floating point value presented in the shortest of decimal and scientific notation +* `%g` or `%G`: floating point value presented in the shortest of decimal and scientific notation behaves differently from `%f` and `%E`, please see posix printf spec for full details, some examples of different behavior: Sci Note has 6 significant digits by default