Lines Matching refs:result
24 bc_num result = bc_new_num(num->n_len, 0); in bc_floor_or_ceil() local
25 result->n_sign = num->n_sign; in bc_floor_or_ceil()
28 memcpy(result->n_value, num->n_value, num->n_len); in bc_floor_or_ceil()
32 if (num->n_scale == 0 || result->n_sign == (is_floor ? PLUS : MINUS)) { in bc_floor_or_ceil()
50 bc_num tmp = _bc_do_add(result, BCG(_one_)); in bc_floor_or_ceil()
51 tmp->n_sign = result->n_sign; in bc_floor_or_ceil()
52 bc_free_num(&result); in bc_floor_or_ceil()
53 result = tmp; in bc_floor_or_ceil()
56 if (bc_is_zero(result)) { in bc_floor_or_ceil()
57 result->n_sign = PLUS; in bc_floor_or_ceil()
60 return result; in bc_floor_or_ceil()