TEST(math, __isnormalf) { #if defined(__BIONIC__) ASSERT_TRUE(__isnormalf(123.0f)); ASSERT_FALSE(__isnormalf(float_subnormal())); #else // __BIONIC__ GTEST_LOG_(INFO) << "glibc doesn't have __isnormalf.\n"; #endif // __BIONIC__ }
TEST(math, __isnormalf) { #if defined(__BIONIC__) ASSERT_TRUE(__isnormalf(123.0f)); ASSERT_FALSE(__isnormalf(float_subnormal())); #else // __BIONIC__ GTEST_LOG_(INFO) << "This test does nothing.\n"; #endif // __BIONIC__ }