summaryrefslogtreecommitdiff
path: root/libm/fpmacros.c
AgeCommit message (Collapse)Author
2008-09-25- remove files that are not either LGPL or Public Domain.Bernhard Reutner-Fischer
- pull replacement funcs for fpmacros.c from glibc This removes the powerpc/classic implementation which did not state any license but read: Copyright © 1991 Apple Computer, Inc. All rights reserved. and thus was dubious (and not needed).
2006-01-26Some more prototypes, enable missing-prototypes/declarations warnings for nowPeter S. Mazinger
2006-01-17All math related relocs gonePeter S. Mazinger
2005-12-16Remove all trailing ; after *_alias and change 2 to use weak_alias instead ↵Peter S. Mazinger
of __attribute__ ...
2005-10-26Remove s_ceilf.c and s_floorf.c, ceilf and floorf are provided by the ↵Peter S. Mazinger
float_wrapper. I hope that __ceilf and __floorf are not needed anywhere. Use only __finite from s_finite.c, disabled in fpmacros.c. Allow IMA compiling, 2 files: s_lib_version.c and w_cabs.c have to be reworked for complete IMA.
2005-03-06Trim off whitespaceEric Andersen
2003-10-22Atsushi Nemoto writes:Eric Andersen
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef. Here is a patch.
2003-09-01Atsushi Nemoto writes:Eric Andersen
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.
2002-09-06Add in some weak aliases to allow C99 apps to compile w/o definingEric Andersen
_ISOC99_SOURCE, per what glibc does. -Erik
2002-05-09Fill a few little holes in the math libraryEric Andersen
2002-04-17Patch from Axel Barnitzke <barney@xkontor.com> to fix handlingEric Andersen
of the isinf() macro, which was a casulty of my grafting the glibc header onto out math library.
2001-11-22Totally rework the math library, this time based on the MacOs XEric Andersen
math library (which is itself based on the math lib from FreeBSD). -Erik