|author||Rich Felker <firstname.lastname@example.org>||2012-03-02 22:35:37 -0500|
|committer||Rich Felker <email@example.com>||2012-03-02 22:35:37 -0500|
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.
Diffstat (limited to 'src/math/asinl.c')
0 files changed, 0 insertions, 0 deletions