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-11-10 20:40:06 -05:00
2011-11-10 20:40:06 -05:00
2012-05-03 22:12:46 -04:00
2011-06-09 21:47:24 -04:00
2012-05-04 00:31:25 -04:00
2012-05-04 00:13:23 -04:00
2012-04-09 15:06:58 -04:00
2011-02-12 00:22:29 -05:00
2012-05-03 22:27:36 -04:00
2012-03-22 20:00:58 -04:00
2011-02-12 00:22:29 -05:00
2011-11-10 20:40:06 -05:00
2012-05-04 00:13:23 -04:00
2011-06-27 01:02:28 -04:00
2011-02-12 00:22:29 -05:00
2012-05-03 22:27:36 -04:00
2011-04-05 11:16:49 -04:00
2012-01-26 10:53:37 -05:00
2012-05-04 00:13:23 -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-10-17 12:24:23 -04:00
2012-05-04 00:13:23 -04:00
2011-04-05 15:45:24 -04:00
2012-05-04 00:13:23 -04:00
2011-04-13 09:03:22 -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-14 18:41:25 -05:00
2011-02-12 00:22:29 -05:00
2011-02-12 00:22:29 -05:00
2012-03-20 21:10:06 -04:00
2011-02-14 20:45:37 -05:00
2011-02-12 00:22:29 -05:00
2012-05-05 22:22:46 -04:00
2012-03-01 01:34:58 -05:00
2011-04-13 15:24:26 -04:00
2012-03-21 00:47:37 -04:00
2011-09-20 12:14:06 -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-02-29 22:55:08 -05:00
2011-11-10 21:01:24 -05:00
2012-01-29 11:54:18 -05:00
2011-06-16 16:53:11 -04:00
2012-01-26 10:53:37 -05:00
2012-04-29 19:54:03 -04:00
2011-09-21 21:01:56 -04:00
2011-03-03 18:32:26 -05:00
2011-02-14 18:45:58 -05:00
2011-02-12 00:22:29 -05:00
2012-04-13 23:06:54 -04:00
2011-09-13 21:09:35 -04:00
2011-04-27 23:41:48 -04:00
2011-09-20 14:51:56 -04:00
2011-02-12 00:22:29 -05:00
2012-02-07 12:08:27 -05:00
2011-06-30 12:44:48 -04:00
2012-05-04 00:13:23 -04:00
2012-05-04 00:13:23 -04:00
2012-02-24 23:23:47 -05:00
2012-02-06 21:51:02 -05:00
2011-06-30 20:23:24 -04:00
2012-02-29 22:36:06 -05:00
2011-04-05 15:40:36 -04:00
2011-04-13 16:13:49 -04:00
2011-02-12 00:22:29 -05:00
2012-04-18 13:11:35 -04:00
2012-03-22 15:36:56 -04:00
2012-04-18 12:22:24 -04:00
2011-07-31 00:10:29 -04:00
2011-02-12 00:22:29 -05:00
2012-05-04 00:13:23 -04:00
2011-02-12 00:22:29 -05:00
2012-02-01 14:10:38 -05:00
2011-04-12 12:03:33 -04:00
2012-03-01 23:24:45 -05:00
2012-02-06 21:33:40 -05:00
2011-02-19 12:44:36 -05:00