Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2012-03-02 | fix nan/infinity macros in math.h, etc. | Rich Felker | 1 | -6/+8 | |
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. | |||||
2012-03-02 | fix obscure bug in strtoull reading the highest 16 possible values | Rich Felker | 1 | -1/+1 | |
2012-03-02 | typo in math.h c version check | Rich Felker | 1 | -1/+1 | |
2012-03-02 | make math.h compatibe with c89 | Rich Felker | 1 | -1/+5 | |
2012-03-02 | remove debug cruft that was left in getdate | Rich Felker | 1 | -2/+0 | |