summaryrefslogtreecommitdiffstats
path: root/newlib/libm/common/sf_ilogb.c
Commit message (Collapse)AuthorAgeFilesLines
* 2010-02-11 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-02-111-2/+5
| | | | | | | | | | | | | * libm/common/s_ilogb.c: Adjust documentation to reflect new returns (see next items) and that ilogb() and ilogbf() are C99/POSIX. * libm/common/s_ilogb.c (ilogb): Use C99/POSIX FP_ILOGB0 and FP_ILOGBNAN returns for 0 and NAN arguments, respectively, instead of the prior -INT_MAX and INT_MAX. The FP_ILOGBx defines in math.h presently match the prior hard-codes, so no functional change is actually introduced. (Not at this time, nor planned, but the values are permitted to be different, so subsequent edits of math.h could possibly cause a functional change.) * libm/common/sf_ilogb.c (ilogbf): Ditto.
* * libc/include/machine/ieeefp.h: Comment about new configurationRichard Sandiford2001-04-041-7/+6
| | | | | | | | macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS. * libm/common/fdlib.h: Define new macros for testing floats. * libm/common/sf_*: Use them. * libm/math/ef_*: Likewise. * libm/math/sf_*: Likewise.
* import newlib-2000-02-17 snapshotChristopher Faylor2000-02-171-0/+53