Searched refs:oldprec (Results 1 – 1 of 1) sorted by relevance
111 static long convert(long val, int oldsgnd, int oldprec, int newsgnd,1242 static long convert(long val, int oldsgnd, int oldprec, int newsgnd, in convert() argument1247 if (newprec != oldprec) { in convert()1248 if (newprec > oldprec) { in convert()1249 val <<= newprec - oldprec; in convert()1250 } else if (oldprec > newprec) { in convert()1251 val >>= oldprec - newprec; in convert()