Home
last modified time | relevance | path

Searched refs:infinity_ (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/tests/
Dfloor_ceil_test.cc70 float infinity_ = std::numeric_limits<float>::infinity(); member in xla::__anon1b6d00030111::FloorCeilTest
82 TestR1F32({0.0, -0.0, infinity_, minus_infinity_, 1.1, -0.1}, in TEST_F()
83 {0.0, -0.0, infinity_, minus_infinity_, 1.0, -1.0}, kFloor); in TEST_F()
87 TestR1F32({0.0, -0.0, infinity_, minus_infinity_, 1.1, -0.1}, in TEST_F()
88 {0.0, -0.0, infinity_, minus_infinity_, 2.0, -0.0}, kCeil); in TEST_F()
94 TestR0F32(infinity_, infinity_, kFloor); in TEST_F()
103 TestR0F32(infinity_, infinity_, kCeil); in TEST_F()
/external/v8/src/compiler/
Doperation-typer.h81 Type* infinity_; variable
Doperation-typer.cc22 infinity_ = Type::NewConstant(factory->infinity_value(), zone); in OperationTyper()
543 if ((lhs->Maybe(minus_infinity_) && rhs->Maybe(infinity_)) || in NumberAdd()
544 (rhs->Maybe(minus_infinity_) && lhs->Maybe(infinity_))) { in NumberAdd()
588 if ((lhs->Maybe(infinity_) && rhs->Maybe(infinity_)) || in NumberSubtract()
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc2726 infinity_(Floating::Infinity()), in FloatingPointTest()
2758 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
2761 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
2802 const RawType infinity_; member in testing::gmock_matchers_test::FloatingPointTest
2848 Matcher<RawType> m3 = matcher_maker(ParentType::infinity_, 0.0); in TestNearMatches()
2849 EXPECT_TRUE(m3.Matches(ParentType::infinity_)); in TestNearMatches()
2851 EXPECT_FALSE(m3.Matches(-ParentType::infinity_)); in TestNearMatches()
2853 Matcher<RawType> m4 = matcher_maker(-ParentType::infinity_, 0.0); in TestNearMatches()
2854 EXPECT_TRUE(m4.Matches(-ParentType::infinity_)); in TestNearMatches()
2856 EXPECT_FALSE(m4.Matches(ParentType::infinity_)); in TestNearMatches()
[all …]
/external/v8/testing/gmock/test/
Dgmock-matchers_test.cc2719 infinity_(Floating::Infinity()), in FloatingPointTest()
2753 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
2756 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
2797 const RawType infinity_; member in testing::gmock_matchers_test::FloatingPointTest
2837 Matcher<RawType> m3 = matcher_maker(ParentType::infinity_, 0.0); in TestNearMatches()
2838 EXPECT_TRUE(m3.Matches(ParentType::infinity_)); in TestNearMatches()
2840 EXPECT_FALSE(m3.Matches(-ParentType::infinity_)); in TestNearMatches()
2842 Matcher<RawType> m4 = matcher_maker(-ParentType::infinity_, 0.0); in TestNearMatches()
2843 EXPECT_TRUE(m4.Matches(-ParentType::infinity_)); in TestNearMatches()
2845 EXPECT_FALSE(m4.Matches(ParentType::infinity_)); in TestNearMatches()
[all …]
/external/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc2563 infinity_ = Floating::Infinity(); in SetUp()
2566 const Bits infinity_bits = Floating(infinity_).bits(); in SetUp()
2602 Matcher<RawType> m4 = matcher_maker(-infinity_); in TestMatches()
2605 Matcher<RawType> m5 = matcher_maker(infinity_); in TestMatches()
2637 static RawType infinity_; member in testing::gmock_matchers_test::FloatingPointTest
2661 RawType FloatingPointTest<RawType>::infinity_; member in testing::gmock_matchers_test::FloatingPointTest<RawType>