Searched refs:PSOP_ROUND (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_psengine_unittest.cpp | 43 {"round", PSOP_ROUND}, {"truncate", PSOP_TRUNCATE}, in TEST() 146 EXPECT_FLOAT_EQ(6.0f, DoOperator1(&engine, 5.9f, PSOP_ROUND)); in TEST() 147 EXPECT_FLOAT_EQ(-4.0f, DoOperator1(&engine, -4.0000000001f, PSOP_ROUND)); in TEST() 148 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0f, PSOP_ROUND)); in TEST() 149 EXPECT_FLOAT_EQ(-1.0f, DoOperator1(&engine, -0.9f, PSOP_ROUND)); in TEST() 150 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0000000001f, PSOP_ROUND)); in TEST() 151 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, 0.0f, PSOP_ROUND)); in TEST() 156 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, min_float, PSOP_ROUND)); in TEST() 157 EXPECT_FLOAT_EQ(0.0f, DoOperator1(&engine, -min_float, PSOP_ROUND)); in TEST() 158 EXPECT_FLOAT_EQ(max_float, DoOperator1(&engine, max_float, PSOP_ROUND)); in TEST() [all …]
|
D | cpdf_psengine.h | 32 PSOP_ROUND, enumerator
|
D | cpdf_psengine.cpp | 63 {"round", PSOP_ROUND}, 275 case PSOP_ROUND: in DoOperator()
|