Lines Matching refs:Bits
324 typedef typename TypeWithSize<sizeof(RawType)>::UInt Bits; typedef
339 static const Bits kSignBitMask = static_cast<Bits>(1) << (kBitCount - 1);
342 static const Bits kFractionBitMask =
343 ~static_cast<Bits>(0) >> (kExponentBitCount + 1);
346 static const Bits kExponentBitMask = ~(kSignBitMask | kFractionBitMask);
375 static RawType ReinterpretBits(const Bits bits) { in ReinterpretBits()
389 const Bits &bits() const { return bits_; } in bits()
392 Bits exponent_bits() const { return kExponentBitMask & bits_; } in exponent_bits()
395 Bits fraction_bits() const { return kFractionBitMask & bits_; } in fraction_bits()
398 Bits sign_bit() const { return kSignBitMask & bits_; } in sign_bit()
437 static Bits SignAndMagnitudeToBiased(const Bits &sam) { in SignAndMagnitudeToBiased()
449 static Bits DistanceBetweenSignAndMagnitudeNumbers(const Bits &sam1, in DistanceBetweenSignAndMagnitudeNumbers()
450 const Bits &sam2) { in DistanceBetweenSignAndMagnitudeNumbers()
451 const Bits biased1 = SignAndMagnitudeToBiased(sam1); in DistanceBetweenSignAndMagnitudeNumbers()
452 const Bits biased2 = SignAndMagnitudeToBiased(sam2); in DistanceBetweenSignAndMagnitudeNumbers()
458 Bits bits_; // The bits that represent the number.