path: root/libm/
AgeCommit message (Collapse)Author
2010-04-22nptl: proper soname handlingNatanael Copa
Since sublevel releases are not ABI compatible we need to adjust the soname to include the sublevel version. This makes it possible to install ABI incompatible versions of the library side by side so clean upgrades are possible. Signed-off-by: Natanael Copa <> Signed-off-by: Austin Foxley <>
2010-03-25prettify make cleanBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <>
2010-02-04libm: enable log2f and exp2fAurelien Jacobs
Signed-off-by: Aurelien Jacobs <> Signed-off-by: Austin Foxley <>
2009-11-19DO_XSI_MATH: add config knobBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <>
2009-11-14Revert "libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hosts"Bernhard Reutner-Fischer
This reverts commit 73d6e5c41b61633e22ea74e3aa2df721512dca57. barking up the wrong tree Signed-off-by: Bernhard Reutner-Fischer <>
2009-11-14libm: fix C99_MATH on __NO_LONG_DOUBLE_MATH hostsBernhard Reutner-Fischer
alias l to their normal double counterparts. Works around problems with libgcc blindly calling __finitel on e.g. ppc32 Signed-off-by: Bernhard Reutner-Fischer <>
2009-08-17support building out-of-treeBernhard Reutner-Fischer
Handle O= Signed-off-by: Bernhard Reutner-Fischer <>
2009-02-17libm/ reformat the list of wrappersDenis Vlasenko
so that it is easier to modify, sort, etc; use __ in filenames of wrappers which wrap __functions (it may be useful to have function and file names ALWAYS match); remove names of not implemented wrappers (it was generating useless empty .o files). libm/ldouble_wrappers.c: comment out the wrapper which is not compiled anyway test/math/compile_test.c: improve this test, it was optimizing out some calls, and we don't want that. No actual code changes.
2009-02-17test/math/compile_test.c: "are long double functions even compile/link?" testDenis Vlasenko
*: fix everything which prevents above from building
2009-02-09ldouble_wrappers.c: fix __signbitl, it was calling itself by mistake.Denis Vlasenko
remove wrong casts to long double of long return values. remove lots of empty lines.
2009-02-06fix nextafterf. by Jie Zhang (jie.zhang AT Vlasenko
2009-02-05libm: add scalbf, gammaf, significandf wrappers.Denis Vlasenko
This makes in possible to enable test/math (not it compiles, but has lots of test failures).
2009-01-14libm_sh: fix libm build for shCarmelo Amoroso
Signed-off-by: Carmelo Amoroso <>
2009-01-03libm: remove scalbln implementation, it seems to be less correct than scalbn.Denis Vlasenko
instead, either alias scalbln to scalbn if int == long on this arch, or just call scalbn form scalbln. text data bss dec hex filename - 45297 180 4 45481 b1a9 lib/ + 44969 180 4 45153 b061 lib/
2008-12-29libm/*: delete many incarnations of logarithmic gamma function,Denis Vlasenko
aliasing them instead af appropriate. Also alias drem to remainder. text data bss dec hex filename - 43568 176 4 43748 aae4 lib/ + 43444 176 4 43624 aa68 lib/
2008-12-28remove many functions which just call __ieee754_<function>,Denis Vlasenko
define them as aliases instead. text data bss dec hex filename - 45402 180 4 45586 b212 lib/ + 45302 180 4 45486 b1ae lib/
2008-12-22- fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer
math support - add rule to create preprocessor output for float- and long double math wrapper
2008-11-07- less verbose make cleanBernhard Reutner-Fischer
2008-10-06- implement log2()Bernhard Reutner-Fischer
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-09-26- move libm_hidden_proto to the corresponding headers. Remove from callsites.Bernhard Reutner-Fischer
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later
2008-09-25- add some more math functions (patch from gentoo/solar)Bernhard Reutner-Fischer
2008-09-25- add __ieee754_log2()Bernhard Reutner-Fischer
2008-09-25- fix typoBernhard Reutner-Fischer
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).
2008-06-17- move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer
2008-06-04- strip the targets and not prerequisitesBernhard Reutner-Fischer
- tidy up PTHREADS_DEBUG_SUPPORT by using per-target STRIP_FLAGS for the few This fixes the spurious rebuilds bernd and vda were seeing with libpthreads.
2008-06-01A slight improvement over my previous commit which ensured we always rebuildBernd Schmidt
libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule.
2008-01-17- use libm_DIR and libm_OUTBernhard Reutner-Fischer
2007-12-08import trunc()/truncf() for ISO C requirements, otherwise fortran can hit ↵Mike Frysinger
infinite loops when it generates builtins+trunc() substitutes
2007-04-12remove __* symbols and enable llrintf()Mike Frysinger
2007-04-03import llrint() from glibcMike Frysinger
2007-04-02implement cargMike Frysinger
2007-03-31From Steve Papacharalambous:Joakim Tjernlund
Add math support for PowerPC e500.
2007-03-19#1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger
2006-09-23grab s_lrint from glibc for C99Mike Frysinger
2006-03-22Guard matherr/__kernel_standard w/ _IEEE_LIBM, we do not use them, save 7,6kPeter S. Mazinger
2006-02-25rename generic variables to avoid conflict with libc subdirsMike Frysinger
2006-02-18we use _GNU_SOURCE for all of uClibc nowMike Frysinger
2006-02-18add infrastructure for fenvMike Frysinger
2006-02-15DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger
linuxthreads[_db] as well, don't try on slow box
2006-02-13Do not default to _POSIX_MODEPeter S. Mazinger
2006-01-20Use libm_ARCH_DIR and cleanup all possible archsPeter S. Mazinger
2006-01-20move some generic arch rules up a level to remove duplicationMike Frysinger
2006-01-19no need for libm_DEFPeter S. Mazinger
2006-01-19Add multi support to libm, remove lib*-multi-y, unneededPeter S. Mazinger
2006-01-18change HAS_FPU to UCLIBC_HAS_FPU since the define will be exported into C ↵Mike Frysinger
2005-11-22Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵Peter S. Mazinger
only headers
2005-11-22rework depends and stripping so that libraries arent rebuilt all the time in ↵Mike Frysinger
a loop
2005-11-18Add info to CFLAGS about lib we are buildingPeter S. Mazinger