Files
semi-libc/include
Rich Felker 98c9af5001 fix definitions of FP_ILOGB constants
two issues: (1) the type was wrong (unsigned instead of signed int),
and (2) the value of FP_ILOGBNAN should be INT_MIN rather than INT_MAX
to match the ABI. this is also much more useful since INT_MAX
corresponds to a valid input (infinity). the standard would allow us
to set FP_ILOGB0 to -INT_MAX instead of INT_MIN, which would give us
distinct values for ilogb(0) and ilogb(NAN), but the benefit seems way
too small to justify ignoring the ABI.

note that the macro is just a "portable" (to any twos complement
system where signed and unsigned int have the same width) way to write
INT_MIN without needing limits.h. it's valid to use this method since
these macros are not required to work in #if directives.
2012-05-05 22:22:46 -04:00
..
2011-06-09 21:47:24 -04:00
2012-05-04 00:31:25 -04:00
2011-02-12 00:22:29 -05:00
2012-03-22 20:00:58 -04:00
2011-02-12 00:22:29 -05:00
2011-06-27 01:02:28 -04:00
2011-02-12 00:22:29 -05:00
2011-04-05 11:16:49 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-03-21 12:42:48 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-14 21:59:38 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-05-05 22:22:46 -04:00
2011-04-13 15:24:26 -04:00
2012-03-21 00:47:37 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-01-29 11:54:18 -05:00
2011-09-21 21:01:56 -04:00
2011-02-12 00:22:29 -05:00
2011-09-20 14:51:56 -04:00
2011-02-12 00:22:29 -05:00
2011-06-30 20:23:24 -04:00
2011-04-05 15:40:36 -04:00
2011-02-12 00:22:29 -05:00
2012-04-18 13:11:35 -04:00
2012-04-18 12:22:24 -04:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-02-01 14:10:38 -05:00