Lines Matching refs:val
27 long val;
42 val = mantissa * 1000L;
44 val <<= exponent;
46 val >>= -exponent;
51 if (val >= 500)
52 return 1 + DIV_ROUND_CLOSEST(val - 500, 10);
55 if (val >= 250)
56 return 1 + DIV_ROUND_CLOSEST(val - 250, 5);
59 if (val >= 200)
60 return 1 + DIV_ROUND_CLOSEST(val - 200, 10);
63 if (val >= 200 && val <= 1550)
64 return DIV_ROUND_CLOSEST((1550 - val) * 100,