On the density of doubles and floats