about summary refs log tree commit diff
path: root/stdio-common/tfformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tfformat.c')
-rw-r--r--stdio-common/tfformat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/stdio-common/tfformat.c b/stdio-common/tfformat.c
index d67b3b504d..f9b5f7655b 100644
--- a/stdio-common/tfformat.c
+++ b/stdio-common/tfformat.c
@@ -4024,6 +4024,9 @@ sprint_double_type sprint_doubles[] =
   {__LINE__, 1.0,			"1.000000e+00", "%e"},
   {__LINE__, .9999999999999999,		"1.000000e+00", "%e"},
 
+  {__LINE__, 912.98,			"913.0", "%#.4g"},
+  {__LINE__, 50.999999,			"51.000", "%#.5g"},
+
   {0 }
 
 };