Searched refs:scaled_val (Results 1 – 1 of 1) sorted by relevance
77 float scaled_val; in fixed_point_convert() local80 scaled_val = xx * (0x01 << shift); in fixed_point_convert()81 if (scaled_val >= 0) in fixed_point_convert()82 if (scaled_val > LONG_MAX) in fixed_point_convert()85 return ((int)(scaled_val + 0.5)); in fixed_point_convert()87 if (scaled_val < -LONG_MAX) in fixed_point_convert()90 return ((int)(scaled_val - 0.5)); in fixed_point_convert()