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
This commit is contained in:
parent
3c838bbb4a
commit
e76ee993ff
|
@ -144,8 +144,6 @@ double expm1(double);
|
|||
double fma(double, double, double);
|
||||
double hypot(double, double);
|
||||
int ilogb(double) __attribute_const__;
|
||||
int(isinf)(double) __attribute_const__ __INTRODUCED_IN(21);
|
||||
int (isnan)(double) __attribute_const__;
|
||||
double lgamma(double);
|
||||
long long llrint(double);
|
||||
long long llround(double);
|
||||
|
|
Loading…
Reference in New Issue