4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-21 00:07:36 +08:00
Yaakov Selkowitz 722e363c4d math: guard BSD finite/isinf/isnan functions properly in math.h
Now that we have properly functioning feature test macros, the BSD
floating-point classification functions can go into math.h instead of
the non-standard ieeefp.h, and not under the C99 guard:

http://man7.org/linux/man-pages/man3/finite.3.html

The isnan function was in earlier versions of SUS but removed starting with
POSIX.1-2001, compare:

http://pubs.opengroup.org/onlinepubs/007908799/xsh/math.h.html
http://pubs.opengroup.org/onlinepubs/009695399/basedefs/math.h.html

Note that the isinf and isnan functions (but not the variants) conflict
with functions by the same name in C++11, hence they (and only they)
need to be hidden:

https://sourceware.org/git/?p=glibc.git;a=commit;h=d9b965fa56350d6eea9f7f438a0714c7ffbb183f
https://sourceware.org/git/?p=glibc.git;a=commit;h=3c47c83a9730c20e602694505b9278c25637b0d0

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2016-04-04 14:13:21 -05:00
..
2016-04-04 16:32:07 +02:00
2016-04-04 10:25:27 -05:00
2016-03-17 21:08:50 -05:00
2016-03-17 21:08:56 -05:00
2015-08-27 12:50:25 +02:00
2015-07-06 14:58:51 -05:00
2016-03-17 21:09:01 -05:00
2013-04-23 09:42:25 +00:00
2016-03-18 12:33:40 +01:00
2016-04-04 10:25:29 -05:00
2016-03-17 21:09:10 -05:00
2016-03-17 21:09:13 -05:00