Home
last modified time | relevance | path

Searched refs:BC_NUM_NEG (Results 1 – 1 of 1) sorted by relevance

/external/toybox/toys/pending/
Dbc.c156 #define BC_NUM_NEG(n, neg) ((((ssize_t) (n)) ^ -((ssize_t) (neg))) + (neg)) macro
160 #define BC_NUM_CMP_ZERO(a) (BC_NUM_NEG((a)->len != 0, (a)->neg))
1176 return BC_NUM_NEG(i + 1, c < 0); in bc_num_compare()
1187 if (!a->len) return BC_NUM_NEG(b->len != 0, !b->neg); in bc_num_cmp()
1214 if (cmp) return BC_NUM_NEG(cmp, (!a_max) != neg); in bc_num_cmp()
1217 if (max_num[i]) return BC_NUM_NEG(1, (!a_max) != neg); in bc_num_cmp()