| Commit message (Expand) | Author | Age | Files | Lines |
| * | optimize signbit macro | Rich Felker | 2012-03-30 | 1 | -2/+2 |
| * | make math.h more c++-friendly | Rich Felker | 2012-03-30 | 1 | -2/+5 |
| * | move nonstandard gamma() etc. to _GNU_SOURCE only•••it's not even provided in the library at the moment, but could easily
be provided with weak aliases if desired.
| Rich Felker | 2012-03-17 | 1 | -4/+4 |
| * | c++ seems to want some casts in the float representation-access macros | Rich Felker | 2012-03-17 | 1 | -2/+2 |
| * | in math.h make lgamma_r and non-double bessel _GNU_SOURCE only•••long double and float bessel functions are no longer xsi extensions
| nsz | 2012-03-15 | 1 | -20/+18 |
| * | efficient sincos based on sin and cos | nsz | 2012-03-15 | 1 | -0/+4 |
| * | first commit of the new libm!•••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.
| Rich Felker | 2012-03-13 | 1 | -9/+64 |
| * | fix nan/infinity macros in math.h, etc.•••the previous version not only failed to work in c++, but also failed
to produce constant expressions, making the macros useless as
initializers for objects of static storage duration.
gcc 3.3 and later have builtins for these, which sadly seem to be the
most "portable" solution. the alternative definitions produce
exceptions (for NAN) and compiler warnings (for INFINITY) on newer
versions of gcc.
| Rich Felker | 2012-03-02 | 1 | -6/+8 |
| * | typo in math.h c version check | Rich Felker | 2012-03-02 | 1 | -1/+1 |
| * | make math.h compatibe with c89 | Rich Felker | 2012-03-02 | 1 | -1/+5 |
| * | add float_t and double_t to math.h | Rich Felker | 2012-02-15 | 1 | -0/+2 |
| * | fix all missing instances of __cplusplus checks/extern "C" in headers•••patch by Arvid Picciani (aep)
| Rich Felker | 2011-11-10 | 1 | -0/+8 |
| * | isgreater etc. relation macros for math.h | Rich Felker | 2011-06-08 | 1 | -0/+18 |
| * | extensive header cleanup for standards conformance & correctness•••thanks to Peter Mazinger (psm) for pointing many of these issues out
and submitting a patch on which this commit is loosely based
| Rich Felker | 2011-02-14 | 1 | -17/+19 |
| * | initial check-in, version 0.5.0 | Rich Felker | 2011-02-12 | 1 | -0/+300 |