fix ftostr_exact on small doubles