about summary refs log tree commit diff
path: root/src/math
Commit message (Collapse)AuthorAgeFilesLines
* in math.h make lgamma_r and non-double bessel _GNU_SOURCE onlynsz2012-03-153-0/+3
| | | | long double and float bessel functions are no longer xsi extensions
* efficient sincos based on sin and cosnsz2012-03-153-0/+247
|
* math cleanup: use 1.0f instead of 1.0Fnsz2012-03-134-6/+6
|
* math cleanup: use 1.0f instead of (float)1.0nsz2012-03-1325-96/+96
|
* remove libm.h includes when math.h and float.h are enoughnsz2012-03-1331-30/+47
|
* clean up __expo2.c, use a slightly better k constantnsz2012-03-132-84/+14
|
* implement nan, nanf, nanlRich Felker2012-03-133-0/+18
|
* first commit of the new libm!Rich Felker2012-03-13305-7726/+17926
| | | | | | | | | | | | | | | | thanks to the hard work of Szabolcs Nagy (nsz), identifying the best (from correctness and license standpoint) implementations from freebsd and openbsd and cleaning them up! musl should now fully support c99 float and long double math functions, and has near-complete complex math support. tgmath should also work (fully on gcc-compatible compilers, and mostly on any c99 compiler). based largely on commit 0376d44a890fea261506f1fc63833e7a686dca19 from nsz's libm git repo, with some additions (dummy versions of a few missing long double complex functions, etc.) by me. various cleanups still need to be made, including re-adding (if they're correct) some asm functions that were dropped.
* fix error in previous ld80 fpclassify commitRich Felker2011-06-301-1/+1
|
* catch invalid ld80 bit patterns and treat them as nanRich Felker2011-06-301-2/+2
| | | | | | | this should not be necessary - the invalid bit patterns cannot be created except through type punning. however, some broken gnu software is passing them to printf and triggering dangerous stack-smashing, so let's catch them anyway...
* type directives for x86_64 math asmRich Felker2011-06-262-0/+2
|
* use .type directives for math asm (needed for dynamic linking to work)Rich Felker2011-06-2615-0/+26
|
* Port musl to x86-64. One giant commit!Nicholas J. Kain2011-02-152-0/+6
|
* initial check-in, version 0.5.0 v0.5.0Rich Felker2011-02-12121-0/+8566