Searched refs:IsInfinity (Results 1 – 3 of 3) sorted by relevance
56 static bool IsInfinity(std::string str) in IsInfinity() function in FloatLexTest148 ASSERT_TRUE(TestFixture::IsInfinity("3.4029e38")); in TYPED_TEST()153 ASSERT_FALSE(TestFixture::IsInfinity("3.4028e38")); in TYPED_TEST()159 ASSERT_TRUE(TestFixture::IsInfinity("34.029e37")); in TYPED_TEST()164 ASSERT_FALSE(TestFixture::IsInfinity("34.028e37")); in TYPED_TEST()170 ASSERT_TRUE(TestFixture::IsInfinity("0.34029e39")); in TYPED_TEST()175 ASSERT_FALSE(TestFixture::IsInfinity("0.34028e39")); in TYPED_TEST()201 ASSERT_TRUE(TestFixture::IsInfinity("1.0e2147483649")); in TYPED_TEST()208 ASSERT_TRUE(TestFixture::IsInfinity(ss.str())); in TYPED_TEST()
53 bool IsInfinity(double x) { in IsInfinity() function1188 if (IsInfinity(value)) { in OutputDouble()
53 bool IsInfinity(double x) { in IsInfinity() function1197 if (IsInfinity(value)) { in OutputDouble()