Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | math cleanup: use 1.0f instead of 1.0F | nsz | 2012-03-13 | 4 | -6/+6 |
| | |||||
* | math cleanup: use 1.0f instead of (float)1.0 | nsz | 2012-03-13 | 25 | -96/+96 |
| | |||||
* | remove libm.h includes when math.h and float.h are enough | nsz | 2012-03-13 | 31 | -30/+47 |
| | |||||
* | clean up __expo2.c, use a slightly better k constant | nsz | 2012-03-13 | 2 | -84/+14 |
| | |||||
* | implement nan, nanf, nanl | Rich Felker | 2012-03-13 | 3 | -0/+18 |
| | |||||
* | first commit of the new libm! | Rich Felker | 2012-03-13 | 305 | -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 commit | Rich Felker | 2011-06-30 | 1 | -1/+1 |
| | |||||
* | catch invalid ld80 bit patterns and treat them as nan | Rich Felker | 2011-06-30 | 1 | -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 asm | Rich Felker | 2011-06-26 | 2 | -0/+2 |
| | |||||
* | use .type directives for math asm (needed for dynamic linking to work) | Rich Felker | 2011-06-26 | 15 | -0/+26 |
| | |||||
* | Port musl to x86-64. One giant commit! | Nicholas J. Kain | 2011-02-15 | 2 | -0/+6 |
| | |||||
* | initial check-in, version 0.5.0 v0.5.0 | Rich Felker | 2011-02-12 | 121 | -0/+8566 |