Searched refs:bf_max (Results 1 – 2 of 2) sorted by relevance
/third_party/quickjs/ |
D | libbf.c | 405 bit0 = scan_bit_nz(r, l * LIMB_BITS - 1 - bf_max(0, prec + 1)); in bf_get_rnd_add() 749 len = bf_max(a->len, b->len); in bf_cmpu() 928 tot_len = bf_max(a->len, b->len + (d + LIMB_BITS - 1) / LIMB_BITS); in bf_add_internal() 1612 e = bf_max(e, -e_max); in bf_mul_2exp() 1645 bf_div(q, a, b, bf_max(a->expn - b->expn + 1, 2), BF_RNDZ); in bf_tdivremu() 1690 n = bf_max(a->len, precl); in __bf_div() 2372 l = bf_max(a->expn, b->expn); in bf_logic_op() 2375 l = (bf_max(l, 1) + LIMB_BITS - 1) / LIMB_BITS; in bf_logic_op() 2840 new_size = bf_max(a->len + 1, a->len * 3 / 2); in bf_add_limb() 3790 n = 1 + bf_mul_log2_radix(bf_max(a->expn, 0), radix, TRUE, TRUE); in bf_ftoa_internal() [all …]
|
D | libbf.h | 178 static inline slimb_t bf_max(slimb_t a, slimb_t b) in bf_max() function
|