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 /src/thread/pthread_condattr_setclock.c | |
parent | 2df2a97a20df22f598810b88409eb6107d23e7e1 (diff) | |
download | musl-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 'src/thread/pthread_condattr_setclock.c')
0 files changed, 0 insertions, 0 deletions