Searched refs:maxof (Results 1 – 3 of 3) sorted by relevance
/external/toybox/toys/lsb/ |
D | seq.c | 52 if (dp++) TT.precision = maxof(TT.precision, strcspn(dp, "eE")); in parsef() 79 len = maxof(len, snprintf(0, 0, TT.f, dd)); in seq_main()
|
/external/toybox/toys/pending/ |
D | bc.c | 1341 c->rdx = maxof(a->rdx, b->rdx); in bc_num_a() 1421 bc_num_setToZero(c, maxof(a->rdx, b->rdx)); in bc_num_s() 1456 size_t max = maxof(a->len, b->len), max2 = (max + 1) / 2; in bc_num_k() 1497 len = maxof(len, i + j + (carry != 0)); in bc_num_k() 1562 size_t maxrdx = maxof(a->rdx, b->rdx); in bc_num_m() 1564 scale = maxof(scale, a->rdx); in bc_num_m() 1565 scale = maxof(scale, b->rdx); in bc_num_m() 1567 maxrdx = maxof(maxrdx, scale); in bc_num_m() 1700 size_t ts = maxof(scale + b->rdx, a->rdx), len = bc_num_mulReq(a, b, ts); in bc_num_rem() 1741 if (!neg) scale = minof(a->rdx * pow, maxof(scale, a->rdx)); in bc_num_p() [all …]
|
/external/toybox/lib/ |
D | lib.h | 395 #define maxof(a, b) ({typeof(a) aa = (a); typeof(b) bb = (b); aa>bb ? aa : bb;}) macro
|