Searched refs:int_result (Results 1 – 5 of 5) sorted by relevance
1080 int int_result = 0; in TEST() local1081 EXPECT_TRUE(ParseNaturalNumber(msg3.GetString(), &int_result)); in TEST()1082 EXPECT_EQ(INT_MAX, int_result); in TEST()
1197 int int_result = 0; in TEST() local1198 EXPECT_TRUE(ParseNaturalNumber(msg3.GetString(), &int_result)); in TEST()1199 EXPECT_EQ(INT_MAX, int_result); in TEST()
1200 int int_result = 0; in TEST() local1201 EXPECT_TRUE(ParseNaturalNumber(msg3.GetString(), &int_result)); in TEST()1202 EXPECT_EQ(INT_MAX, int_result); in TEST()
2728 double int_result = floor(value); in FPRoundInt() local2729 double error = value - int_result; in FPRoundInt()2735 int_result = -0.0; in FPRoundInt()2737 } else if ((error > 0.5) || ((error == 0.5) && (int_result >= 0.0))) { in FPRoundInt()2740 int_result++; in FPRoundInt()2748 int_result = -0.0; in FPRoundInt()2753 ((error == 0.5) && (fmod(int_result, 2) != 0))) { in FPRoundInt()2754 int_result++; in FPRoundInt()2762 int_result = ceil(value); in FPRoundInt()2772 return int_result; in FPRoundInt()
3755 double int_result = std::floor(value); in FPRoundInt() local3756 double error = value - int_result; in FPRoundInt()3762 int_result = -0.0; in FPRoundInt()3764 } else if ((error > 0.5) || ((error == 0.5) && (int_result >= 0.0))) { in FPRoundInt()3767 int_result++; in FPRoundInt()3775 int_result = -0.0; in FPRoundInt()3780 ((error == 0.5) && (std::fmod(int_result, 2) != 0))) { in FPRoundInt()3781 int_result++; in FPRoundInt()3789 int_result = ceil(value); in FPRoundInt()3801 int_result = -0.0; in FPRoundInt()[all …]