Improve the handling of floats, doubles, and longs.