float.c: correct exponent capping
commit3b2ad1bc370653e90d6b2fa9cfc587a7aea405f3
authorH. Peter Anvin <hpa@zytor.com>
Sun, 21 Oct 2007 22:32:33 +0000 (21 15:32 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Sun, 21 Oct 2007 22:33:01 +0000 (21 15:33 -0700)
treeb7702e30f7c00622e5a5e3b072b35e5cae6abb25
parentb0e1d423dd3e174a92a1d7256aec4e9b701ece3c
float.c: correct exponent capping

Actually enforce the exponent capping, as opposed to only enforcing it
to within a factor of 10.  Furthermore, continue to scan the string in
order to check for invalid characters.

Finally, 16384 is too tight of a bound for a binary exponent: it's a
tight bound, but the shift added due to the digit string can move the
cap into the active region (±16383).  Thus, change it to 20000 to be
on the safe side.
float.c