libdtoa: don't print trailing zeros if no decimal is printed
libvsprintf: fixed handling of "%f" to print precision 6