about summary refs log tree commit diff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-04-21 14:14:10 -0400
committerRich Felker <dalias@aerifal.cx>2012-04-21 14:14:10 -0400
commit77731d0ec16027cb0e3a593d5dd9bb906932303e (patch)
treedca09393c7db4376d8f6a470dbbf0e857060adfa /include/unistd.h
parent2df2a97a20df22f598810b88409eb6107d23e7e1 (diff)
downloadmusl-77731d0ec16027cb0e3a593d5dd9bb906932303e.tar.gz
musl-77731d0ec16027cb0e3a593d5dd9bb906932303e.tar.xz
musl-77731d0ec16027cb0e3a593d5dd9bb906932303e.zip
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/unistd.h')
0 files changed, 0 insertions, 0 deletions