Lines Matching refs:negative
40 fromfp_max_exponent (bool negative, int width) in fromfp_max_exponent() argument
43 return negative ? -1 : width - 1; in fromfp_max_exponent()
45 return negative ? width - 1 : width - 2; in fromfp_max_exponent()
55 fromfp_round (bool negative, uintmax_t x, bool half_bit, bool more_bits, in fromfp_round() argument
61 return x + (!negative && (half_bit || more_bits)); in fromfp_round()
64 return x + (negative && (half_bit || more_bits)); in fromfp_round()
87 fromfp_overflowed (bool negative, uintmax_t x, int exponent, int max_exponent) in fromfp_overflowed() argument
91 if (negative) in fromfp_overflowed()
100 if (negative) in fromfp_overflowed()
115 fromfp_domain_error (bool negative, unsigned int width) in fromfp_domain_error() argument
123 if (negative) in fromfp_domain_error()
134 else if (negative) in fromfp_domain_error()
151 fromfp_round_and_return (bool negative, uintmax_t x, bool half_bit, in fromfp_round_and_return() argument
155 uintmax_t uret = fromfp_round (negative, x, half_bit, more_bits, round); in fromfp_round_and_return()
156 if (fromfp_overflowed (negative, uret, exponent, max_exponent)) in fromfp_round_and_return()
157 return fromfp_domain_error (negative, width); in fromfp_round_and_return()
173 return negative ? -uret : uret; in fromfp_round_and_return()