Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add FORCE_EVAL macro to evaluate float expr for their side effect | nsz | 2012-05-06 | 1 | -0/+13 |
| | | | | | updated nextafter* to use FORCE_EVAL, it can be used in many other places in the math code to improve readability. | ||||
* | add creal/cimag macros in complex.h (and use them in the functions defs) | Rich Felker | 2012-03-22 | 1 | -8/+0 |
| | |||||
* | don't inline __rem_pio2l so the code size is smaller | nsz | 2012-03-19 | 1 | -0/+1 |
| | |||||
* | fix loads of missing const in new libm, and some global vars (?!) in powl | Rich Felker | 2012-03-18 | 1 | -2/+2 |
| | |||||
* | fix namespace issues for lgamma, etc. | Rich Felker | 2012-03-16 | 1 | -0/+2 |
| | | | | standard functions cannot depend on nonstandard symbols | ||||
* | first commit of the new libm! | Rich Felker | 2012-03-13 | 1 | -0/+186 |
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. |