Lines Matching refs:values_
2722 values_.close_to_positive_zero = Floating::ReinterpretBits(
2724 values_.close_to_negative_zero = -Floating::ReinterpretBits(
2726 values_.further_from_negative_zero = -Floating::ReinterpretBits(
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(
2752 values_.nan1 = Floating::ReinterpretBits(Floating::kExponentBitMask
2754 values_.nan2 = Floating::ReinterpretBits(Floating::kExponentBitMask
2762 static TestValues values_;
2767 FloatingPointTest<RawType>::values_;
2798 static const FloatTest::TestValues& v = this->values_;
2812 EXPECT_FLOAT_EQ(1.0, values_.close_to_one);
2813 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(1.0, values_.further_from_one),
2814 "values_.further_from_one");
2828 EXPECT_FLOAT_EQ(values_.infinity, values_.close_to_infinity);
2829 EXPECT_FLOAT_EQ(-values_.infinity, -values_.close_to_infinity);
2832 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, -values_.infinity),
2833 "-values_.infinity");
2837 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.infinity, values_.nan1),
2838 "values_.nan1");
2853 static const FloatTest::TestValues& v = this->values_;
2871 ASSERT_FLOAT_EQ(values_.infinity, values_.infinity);
2876 // We already tested EXPECT_FLOAT_EQ(1.0, values_.close_to_one).
2877 EXPECT_FLOAT_EQ(values_.close_to_one, 1.0);
2879 // We already tested EXPECT_FLOAT_EQ(1.0, values_.further_from_one).
2880 EXPECT_NONFATAL_FAILURE(EXPECT_FLOAT_EQ(values_.further_from_one, 1.0),
2912 EXPECT_PRED_FORMAT2(FloatLE, values_.close_to_positive_zero, 0.0f);
2923 EXPECT_PRED_FORMAT2(FloatLE, values_.further_from_one, 1.0f);
2924 }, "(values_.further_from_one) <= (1.0f)");
2931 EXPECT_PRED_FORMAT2(FloatLE, values_.nan1, values_.infinity);
2932 }, "(values_.nan1) <= (values_.infinity)");
2934 EXPECT_PRED_FORMAT2(FloatLE, -values_.infinity, values_.nan1);
2935 }, "(-values_.infinity) <= (values_.nan1)");
2937 ASSERT_PRED_FORMAT2(FloatLE, values_.nan1, values_.nan1);
2938 }, "(values_.nan1) <= (values_.nan1)");
2971 static const DoubleTest::TestValues& v = this->values_;
2985 EXPECT_DOUBLE_EQ(1.0, values_.close_to_one);
2986 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(1.0, values_.further_from_one),
2987 "values_.further_from_one");
3001 EXPECT_DOUBLE_EQ(values_.infinity, values_.close_to_infinity);
3002 EXPECT_DOUBLE_EQ(-values_.infinity, -values_.close_to_infinity);
3005 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, -values_.infinity),
3006 "-values_.infinity");
3010 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.infinity, values_.nan1),
3011 "values_.nan1");
3024 static const DoubleTest::TestValues& v = this->values_;
3042 ASSERT_DOUBLE_EQ(values_.infinity, values_.infinity);
3048 // We already tested EXPECT_DOUBLE_EQ(1.0, values_.close_to_one).
3049 EXPECT_DOUBLE_EQ(values_.close_to_one, 1.0);
3051 // We already tested EXPECT_DOUBLE_EQ(1.0, values_.further_from_one).
3052 EXPECT_NONFATAL_FAILURE(EXPECT_DOUBLE_EQ(values_.further_from_one, 1.0),
3084 EXPECT_PRED_FORMAT2(DoubleLE, values_.close_to_positive_zero, 0.0);
3095 EXPECT_PRED_FORMAT2(DoubleLE, values_.further_from_one, 1.0);
3096 }, "(values_.further_from_one) <= (1.0)");
3103 EXPECT_PRED_FORMAT2(DoubleLE, values_.nan1, values_.infinity);
3104 }, "(values_.nan1) <= (values_.infinity)");
3106 EXPECT_PRED_FORMAT2(DoubleLE, -values_.infinity, values_.nan1);
3107 }, " (-values_.infinity) <= (values_.nan1)");
3109 ASSERT_PRED_FORMAT2(DoubleLE, values_.nan1, values_.nan1);
3110 }, "(values_.nan1) <= (values_.nan1)");