TEST(math, __isfinitel) { #if defined(__GLIBC__) #define __isfinitel __finitel #endif ASSERT_TRUE(__isfinitel(123.0L)); ASSERT_FALSE(__isfinitel(HUGE_VALL)); }
TEST(math, __isfinitel) { #if defined(__BIONIC__) ASSERT_TRUE(__isfinitel(123.0f)); ASSERT_FALSE(__isfinitel(HUGE_VALL)); #else // __BIONIC__ GTEST_LOG_(INFO) << "This test does nothing.\n"; #endif // __BIONIC__ }