Searched refs:Bits (Results 1 - 3 of 3) sorted by relevance

/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h266 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; typedef in class:testing::internal::FloatingPoint
281 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1);
284 static const Bits kFractionBitMask =
285 ~static_cast<Bits>(0) >> (kExponentBitCount + 1);
288 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask);
317 static RawType ReinterpretBits(const Bits bits) {
334 const Bits &bits() const { return u_.bits_; }
337 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; }
340 Bits fraction_bit
[all...]
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc2689 typedef typename Floating::Bits Bits; typedef in class:__anon65::FloatingPointTest
2695 const Bits zero_bits = Floating(0).bits();
2706 const Bits one_bits = Floating(1).bits();
2717 const Bits infinity_bits = Floating(values_.infinity).bits();
2729 | (static_cast<Bits>(1) << (Floating::kFractionBitCount - 1)) | 1);
2731 | (static_cast<Bits>(1) << (Floating::kFractionBitCount - 1)) | 200);
2735 EXPECT_EQ(sizeof(RawType), sizeof(Bits));
2748 // Tests that the size of Float::Bits matches the size of float.
2921 // Tests that the size of Double::Bits matche
[all...]
/gem5/ext/googletest/googlemock/test/
H A Dgmock-matchers_test.cc2708 typedef typename Floating::Bits Bits; typedef in class:testing::gmock_matchers_test::FloatingPointTest
2730 EXPECT_EQ(sizeof(RawType), sizeof(Bits));
2783 const Bits zero_bits_; // The bits that represent 0.0.
2784 const Bits one_bits_; // The bits that represent 1.0.
2785 const Bits infinity_bits_; // The bits that represent +infinity.
2811 return Floating::ReinterpretBits(static_cast<Bits>(value));

Completed in 25 milliseconds