Narayan Kamath 5f6f4a956c Fix signbit / infinite / isinf / isnan unit tests.
Turns out stlport isn't broken. <cmath> (included
transitively via gtest in our case) is not required
to make C99 math macros (like signbit) available, nor is
it required to preserve them if they're already defined.
It is only required to make the equivalent functions in
namespace std available.

I couldn't find any documentation of required behaviour for
programs that include both <math.h> and <cmath>.

I've verified experimentally that llvm's libc++ and gnu
stl behave the same as stlport.

bug: 12935307

Change-Id: I9dc5cc0fd9f4f259abc8eefb280177cdd092a94b
2014-02-19 18:50:30 +00:00
..
2013-12-03 18:42:41 -08:00
2013-12-03 18:42:41 -08:00
2013-02-01 14:51:19 -08:00
2013-10-29 14:55:11 -07:00
2014-02-12 19:04:27 -08:00
2013-11-18 19:48:11 -08:00
2013-02-13 14:40:48 -08:00
2014-01-09 11:00:04 -08:00
2014-01-03 14:49:37 -08:00
2014-02-18 12:34:51 -08:00