Home
last modified time | relevance | path

Searched refs:PSOP_ROUND (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_psengine_unittest.cpp43 {"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 …]
Dcpdf_psengine.h32 PSOP_ROUND, enumerator
Dcpdf_psengine.cpp63 {"round", PSOP_ROUND},
275 case PSOP_ROUND: in DoOperator()