summaryrefslogtreecommitdiff
path: root/libm
AgeCommit message (Collapse)Author
2003-10-22Atsushi Nemoto writes:Eric Andersen
uClibc's libm has isinf/isinff, isnan/isnanf but not finite/finitef. Here is a patch.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-10-18Peter Kjellerstedt writes:Eric Andersen
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
2003-09-08Fixup build problem on powerpcEric Andersen
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.
2003-06-27Add in ceilf() and floorf() since XFree86 wants them...Eric Andersen
2002-11-09Patch from Simon Rowe to try and build asm libm codeEric Andersen
only when HAS_FPU is set. If you don't have an FPU then usm FPU code isn't going to help much...
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
2002-09-09Clean up a warning.Manuel Novoa III
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-08-15Fix erroneous grouping.Manuel Novoa III
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-06-26Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen
2002-05-28Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen
Propagate fixes across makefiles. -Erik
2002-05-09Fill a few little holes in the math libraryEric Andersen
2002-05-09Add missing bracesEric 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.
2002-04-09Add finite() to C89 math lib, since it is needed...Eric Andersen
-Erik
2002-03-25Implement sqrtf(), needed for libstdc++ on armEric Andersen
-Erik
2002-02-21Add ldexp to the !C99 list, since it is defined in POSIX asEric Andersen
being part of the classic math lib stuff. -Erik
2002-02-18Make shared libs properly list the correct ld.so in the interpEric Andersen
field by being sneaky.
2002-01-28Fix the bug where binaries built with older toolchains wouldEric Andersen
segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
2002-01-16Tell ld explicitly when stuff is supposed to by dynamically linkedEric Andersen
-Erik
2002-01-12Depend upon libcEric Andersen
2002-01-11More build system cleanups...Eric Andersen
2002-01-11Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen
chicken-and-egg problems when building gcc toolchains. -Erik
2002-01-09Don't show shell fragmentsEric Andersen
2002-01-09Be more carefull about erroring out of shell fragments. Try toEric Andersen
enable -falign-functions if avilable.
2002-01-09Remove "-Wl,--no-undefined"Eric Andersen
2002-01-01Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen
proper error checking -Erik
2002-01-01Remove erroneous allow-shlib-undefinedEric Andersen
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-26My adjusted 'make install' was missing include/linux subdirs. TryEric Andersen
just using 'cp -a' and see if anyone complains and makes me use tar or something. Check libm for undefined non-libc symbols.
2001-11-24OopsEric Andersen
2001-11-24Fix naming so things will actually workEric Andersen
-Erik
2001-11-24Fix path problem,Eric Andersen
2001-11-24OopsEric Andersen
2001-11-24Move powerpc specific optimizations (courtesy of apple) to powerpcEric Andersen
subdir. Put together a theoretical framework for adding arch specific optimizations. Havn't tried this yet but it looks correct... -Erik
2001-11-23Finish ajusting math lib options. Close out a couple of todo items.Eric Andersen
2001-11-23Default to building C89 math stuff only. Cleanup some warnings.Eric Andersen
-Erik
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
2001-11-22Seems we were lacking an acos() implementationEric Andersen
2001-07-03Force our child libs to link vs libcEric Andersen
2001-06-27Fix syntax error in comment.Manuel Novoa III
2001-06-19Oops... forgot to remove rint.c from the makefile.Manuel Novoa III
2001-06-19Remove Erik's broken implementation of rint(). Replace it by one "less broken".Manuel Novoa III
Also correct rounding beharior of round() and add trunc(). Note that round() and rint() currently don't check for infs and nans. I decided to wait on that until the big cleanup.
2001-06-18I went nuts and wrote a generic rint implementation. I think it isEric Andersen
correct per the man page and a little testing seems to show it works. -Erik
2001-06-15Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen
--uclibc-use-build-dir
2001-05-28Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III
from libm float function support. Also, move all Config files out of the main directory.