summaryrefslogtreecommitdiffstats
path: root/libm
Commit message (Collapse)AuthorAgeFilesLines
* minor cleanupEric Andersen2003-11-041-2/+2
|
* 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.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-2/+2
| | | | | | | | | | 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.
* Peter Kjellerstedt writes:Eric Andersen2003-10-182-5/+4
| | | | | | | 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).
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+4
| | | | | | | | | 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.
* Fixup build problem on powerpcEric Andersen2003-09-081-4/+6
|
* Atsushi Nemoto writes:Eric Andersen2003-09-012-82/+52
| | | | | | | | | | | | | | | | | | | | | | | 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 ceilf() and floorf() since XFree86 wants them...Eric Andersen2003-06-273-1/+134
|
* Patch from Simon Rowe to try and build asm libm codeEric Andersen2002-11-091-2/+3
| | | | | only when HAS_FPU is set. If you don't have an FPU then usm FPU code isn't going to help much...
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-312-4/+4
| | | | | | | | | | | | | | | 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
* Clean up a warning.Manuel Novoa III2002-09-091-3/+1
|
* 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
* Fix erroneous grouping.Manuel Novoa III2002-08-151-1/+1
|
* Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough2002-08-094-5/+5
| | | | | | using a 3.0.4 version of the sh-linux-gcc compiler.
* Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen2002-06-269-14/+19
|
* Fixup and unifiy version numbering. Automate versioning updates.Eric Andersen2002-05-281-2/+2
| | | | | Propagate fixes across makefiles. -Erik
* Fill a few little holes in the math libraryEric Andersen2002-05-093-46/+112
|
* Add missing bracesEric Andersen2002-05-091-1/+2
|
* 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.
* Add finite() to C89 math lib, since it is needed...Eric Andersen2002-04-091-1/+2
| | | | -Erik
* Implement sqrtf(), needed for libstdc++ on armEric Andersen2002-03-252-1/+47
| | | | -Erik
* Add ldexp to the !C99 list, since it is defined in POSIX asEric Andersen2002-02-211-6/+7
| | | | | being part of the classic math lib stuff. -Erik
* Make shared libs properly list the correct ld.so in the interpEric Andersen2002-02-181-2/+3
| | | | field by being sneaky.
* Fix the bug where binaries built with older toolchains wouldEric Andersen2002-01-281-3/+3
| | | | | | segfault. Turns out that 'ld -nostdlib' was the culprit. Who wouldof thought... -Erik
* Tell ld explicitly when stuff is supposed to by dynamically linkedEric Andersen2002-01-161-1/+1
| | | | -Erik
* Depend upon libcEric Andersen2002-01-121-1/+1
|
* More build system cleanups...Eric Andersen2002-01-112-6/+4
|
* Scrub the way libraries are linked. Use ld, not gcc, to avoidEric Andersen2002-01-111-2/+3
| | | | | chicken-and-egg problems when building gcc toolchains. -Erik
* Don't show shell fragmentsEric Andersen2002-01-091-1/+1
|
* Be more carefull about erroring out of shell fragments. Try toEric Andersen2002-01-091-0/+2
| | | | enable -falign-functions if avilable.
* Remove "-Wl,--no-undefined"Eric Andersen2002-01-091-2/+1
|
* Change all 'cd <foo>; bar' constructs to 'cd <foo> && bar' forEric Andersen2002-01-011-2/+2
| | | | | proper error checking -Erik
* Remove erroneous allow-shlib-undefinedEric Andersen2002-01-011-2/+2
|
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-192-8/+32
|
* My adjusted 'make install' was missing include/linux subdirs. TryEric Andersen2001-11-261-1/+2
| | | | | | | just using 'cp -a' and see if anyone complains and makes me use tar or something. Check libm for undefined non-libc symbols.
* OopsEric Andersen2001-11-241-1/+1
|
* Fix naming so things will actually workEric Andersen2001-11-2410-160/+314
| | | | -Erik
* Fix path problem,Eric Andersen2001-11-241-1/+1
|
* OopsEric Andersen2001-11-241-1/+1
|
* Move powerpc specific optimizations (courtesy of apple) to powerpcEric Andersen2001-11-2417-50/+88
| | | | | | subdir. Put together a theoretical framework for adding arch specific optimizations. Havn't tried this yet but it looks correct... -Erik
* Finish ajusting math lib options. Close out a couple of todo items.Eric Andersen2001-11-231-2/+4
|
* Default to building C89 math stuff only. Cleanup some warnings.Eric Andersen2001-11-239-12/+29
| | | | -Erik
* Totally rework the math library, this time based on the MacOs XEric Andersen2001-11-22367-91124/+10699
| | | | | math library (which is itself based on the math lib from FreeBSD). -Erik
* Seems we were lacking an acos() implementationEric Andersen2001-11-221-0/+58
|
* Force our child libs to link vs libcEric Andersen2001-07-031-1/+1
|
* Fix syntax error in comment.Manuel Novoa III2001-06-271-1/+1
|
* Oops... forgot to remove rint.c from the makefile.Manuel Novoa III2001-06-191-1/+1
|
* Remove Erik's broken implementation of rint(). Replace it by one "less broken".Manuel Novoa III2001-06-193-82/+117
| | | | | | 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.
* I went nuts and wrote a generic rint implementation. I think it isEric Andersen2001-06-182-1/+53
| | | | | correct per the man page and a little testing seems to show it works. -Erik
* Be consistant for all the client code, and use TARGET_CC with ↵Eric Andersen2001-06-154-34/+32
| | | | --uclibc-use-build-dir