Lines Matching refs:arg_value
448 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_floor() local
451 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor()
453 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_floor()
462 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_round() local
466 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_round()
468 arg_value += summand; in dc_fixpt_round()
471 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round()
473 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_round()
482 unsigned long long arg_value = arg.value > 0 ? arg.value : -arg.value; in dc_fixpt_ceil() local
487 ASSERT(LLONG_MAX - (long long)arg_value >= summand); in dc_fixpt_ceil()
489 arg_value += summand; in dc_fixpt_ceil()
492 return (int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_ceil()
494 return -(int)(arg_value >> FIXED31_32_BITS_PER_FRACTIONAL_PART); in dc_fixpt_ceil()