Use the same mechanism to process int/float literals

This also fixes the float overflow errno leaking bug.

BUG=
R=alokp@chromium.org

Review URL: https://codereview.appspot.com/13368050
2 files changed