summaryrefslogtreecommitdiffstats
path: root/libm/fpmacros.c
Commit message (Collapse)AuthorAgeFilesLines
* Atsushi Nemoto writes:Eric Andersen2003-10-221-0/+2
| | | | | uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef. Here is a patch.
* Atsushi Nemoto writes:Eric Andersen2003-09-011-53/+48
| | | | | | | | | | | | | | | | | | | | | | | I found math fpclassify function is broken because FP_XXX definitions in libm/fp_private.h is incompatible with include/math.h. Also I noticed fp_private.h and fpmacros.c use many 'long int' for 32bit variables. I think these should be int or u_int32_t. Here is a patch against 0.9.20. fp_private.c: --- fix union members (use u_int32_t instead of 'unsigned long int'). --- remove incompatible FP_XXX definitions (and some unused macros). fpmacros.c: --- use FP_NAN instead of FP_QNAN/FP_SNAN. --- use correct type (int instead of long int). --- fix union members (use u_int32_t instead of 'unsigned long int'). --- remove unnecessary cast. Note that I had to remove weak_alias for isnanl,isinfl to compile patched fpmacroc.c. Is this really needed? Original behavior (using isnan for isnanl) seems problematic anyway.
* Add in some weak aliases to allow C99 apps to compile w/o definingEric Andersen2002-09-061-0/+11
| | | | | _ISOC99_SOURCE, per what glibc does. -Erik
* Fill a few little holes in the math libraryEric Andersen2002-05-091-45/+63
|
* Patch from Axel Barnitzke <barney@xkontor.com> to fix handlingEric Andersen2002-04-171-0/+24
| | | | | of the isinf() macro, which was a casulty of my grafting the glibc header onto out math library.
* Totally rework the math library, this time based on the MacOs XEric Andersen2001-11-221-0/+239
math library (which is itself based on the math lib from FreeBSD). -Erik