]> sourceware.org Git - newlib-cygwin.git/commit
Don't display trailing '.' in _dcvt
authorKeith Packard <keithp@keithp.com>
Wed, 18 Dec 2019 06:00:49 +0000 (22:00 -0800)
committerCorinna Vinschen <corinna@vinschen.de>
Wed, 18 Dec 2019 19:53:36 +0000 (20:53 +0100)
commit76dcfd0c4d31ef2658564ba2fac8b1852704c45a
treedbf6a62730996bc9ad21c4cd545d7aab80efb762
parent11f99384d2971356bab2fcac7e29792250abea73
Don't display trailing '.' in _dcvt

In the two helper functions that _dcvt calls for 'f' and 'e' mode, if
there are no digits to display after the decimal point, don't add one.

Signed-off-by: Keith Packard <keithp@keithp.com>
newlib/libc/stdlib/ecvtbuf.c
This page took 0.033433 seconds and 5 git commands to generate.