Lines Matching defs:Floating
2689 // Tests floating-point assertions.
2712 typedef typename testing::internal::FloatingPoint<RawType> Floating;
2713 typedef typename Floating::Bits Bits;
2716 const size_t max_ulps = Floating::kMaxUlps;
2719 const Bits zero_bits = Floating(0).bits();
2722 values_.close_to_positive_zero = Floating::ReinterpretBits(
2724 values_.close_to_negative_zero = -Floating::ReinterpretBits(
2726 values_.further_from_negative_zero = -Floating::ReinterpretBits(
2730 const Bits one_bits = Floating(1).bits();
2733 values_.close_to_one = Floating::ReinterpretBits(one_bits + max_ulps);
2734 values_.further_from_one = Floating::ReinterpretBits(
2738 values_.infinity = Floating::Infinity();
2741 const Bits infinity_bits = Floating(values_.infinity).bits();
2744 values_.close_to_infinity = Floating::ReinterpretBits(
2746 values_.further_from_infinity = Floating::ReinterpretBits(
2751 // exception if our environment enables floating point exceptions.
2752 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask
2753 | (static_cast<Bits>(1) << (Floating::kFractionBitCount - 1)) | 1);
2754 values_.nan2 = Floating::ReinterpretBits(Floating::kExponentBitMask
2755 | (static_cast<Bits>(1) << (Floating::kFractionBitCount - 1)) | 200);