Searched refs:Bits (Results 1 – 2 of 2) sorted by relevance
235 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; typedef250 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1);253 static const Bits kFractionBitMask =254 ~static_cast<Bits>(0) >> (kExponentBitCount + 1);257 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask);286 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()300 const Bits &bits() const { return u_.bits_; } in bits()303 Bits exponent_bits() const { return kExponentBitMask & u_.bits_; } in exponent_bits()306 Bits fraction_bits() const { return kFractionBitMask & u_.bits_; } in fraction_bits()309 Bits sign_bit() const { return kSignBitMask & u_.bits_; } in sign_bit()[all …]
2691 typedef typename Floating::Bits Bits; typedef in __anon281977af0111::FloatingPointTest2697 const Bits zero_bits = Floating(0).bits(); in SetUp()2708 const Bits one_bits = Floating(1).bits(); in SetUp()2719 const Bits infinity_bits = Floating(values_.infinity).bits(); in SetUp()2731 | (static_cast<Bits>(1) << (Floating::kFractionBitCount - 1)) | 1); in SetUp()2733 | (static_cast<Bits>(1) << (Floating::kFractionBitCount - 1)) | 200); in SetUp()2737 EXPECT_EQ(sizeof(RawType), sizeof(Bits)); in TestSize()