commit | 77731d0ec16027cb0e3a593d5dd9bb906932303e | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Sat Apr 21 14:14:10 2012 -0400 |
committer | Rich Felker <dalias@aerifal.cx> | Sat Apr 21 14:14:10 2012 -0400 |
tree | dca09393c7db4376d8f6a470dbbf0e857060adfa | |
parent | 2df2a97a20df22f598810b88409eb6107d23e7e1 [diff] |
make floatscan correctly set errno for overflow/underflow care is taken that the setting of errno correctly reflects underflow condition. scanning exact denormal values does not result in ERANGE, nor does scanning values (such as the usual string definition of FLT_MIN) which are actually less than the smallest normal number but which round to a normal result. only the decimal case is handled so far; hex float require a separate fix to come later.