Searched refs:round_by (Results 1 – 2 of 2) sorted by relevance
152 const int round_by = VIPS_INTERPOLATE_SCALE >> 1; in unsigned_fixed_round() local154 return( (v + round_by) >> VIPS_INTERPOLATE_SHIFT ); in unsigned_fixed_round()204 const int round_by = sign_of_v * (VIPS_INTERPOLATE_SCALE >> 1); in signed_fixed_round() local206 return( (v + round_by) >> VIPS_INTERPOLATE_SHIFT ); in signed_fixed_round()
1305 round_by = int(- np.floor(np.log10(step)))1311 return np.round(np.arange(start, stop + r + step, step) - r, round_by)