Searched refs:PSOP_ROUND (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_psengine_unittest.cpp | 53 {"round", PSOP_ROUND}, {"truncate", PSOP_TRUNCATE}, in TEST() 167 EXPECT_FLOAT_EQ(6.0f, DoOperator1(&engine, 5.9f, PSOP_ROUND)); in TEST() 168 EXPECT_FLOAT_EQ(-4.0f, DoOperator1(&engine, -4.0000000001f, PSOP_ROUND)); in TEST() 169 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0f, PSOP_ROUND)); in TEST() 170 EXPECT_FLOAT_EQ(-1.0f, DoOperator1(&engine, -0.9f, PSOP_ROUND)); in TEST() 171 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0000000001f, PSOP_ROUND)); in TEST() 172 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0f, PSOP_ROUND)); in TEST() 177 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, min_float, PSOP_ROUND)); in TEST() 178 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, -min_float, PSOP_ROUND)); in TEST() 179 EXPECT_FLOAT_EQ(max_float, DoOperator1(&engine, max_float, PSOP_ROUND)); in TEST() [all …]
|
D | cpdf_psengine.h | 34 PSOP_ROUND, enumerator
|
D | cpdf_psengine.cpp | 66 {"round", PSOP_ROUND}, 281 case PSOP_ROUND: in DoOperator()
|