diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-04-21 14:14:10 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-04-21 14:14:10 -0400 |
commit | 77731d0ec16027cb0e3a593d5dd9bb906932303e (patch) | |
tree | dca09393c7db4376d8f6a470dbbf0e857060adfa /include/net/if.h | |
parent | 2df2a97a20df22f598810b88409eb6107d23e7e1 (diff) | |
download | musl-77731d0ec16027cb0e3a593d5dd9bb906932303e.tar.gz |
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.
Diffstat (limited to 'include/net/if.h')
0 files changed, 0 insertions, 0 deletions