diff options
author | Elliott Hughes <enh@google.com> | 2017-02-02 14:02:49 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-02-02 14:02:49 -0800 |
commit | e76ee993ff30a639d24c7db6a080c14d1b1a10f2 (patch) | |
tree | b761aae9d6f050408146941680843fb6d0dbc5ed /libc/stdio/stdio_ext.cpp | |
parent | 3c838bbb4aca12936aa3d8e96f3b04af3803d0f4 (diff) |
isnan and isinf aren't functions.
isnan was a function in POSIX in 1997, but changed to a macro only in 2004
to align with the C standard. isinf wasn't in POSIX until 2004, where it
appeared as a macro only (but other C libraries already had it as a
function).
Now the C++ standard has added ::isnan and ::isinf functions with different
signatures from the historical ones, so we need to move our historical cruft
out of the way.
We'll keep the implementations for backwards compatibility.
Bug: http://b/34724220
Test: ran tests
Change-Id: Id665f0344af6fe6ed245106e60231f4ef2027f41
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
0 files changed, 0 insertions, 0 deletions