> - n = j * 2 + (((unsigned int) > - (f->mantissa - > - bfloat_mantissa(search, f))) >> 31); > + n = (f->mantissa >= bfloat_mantissa(search, f)) > + ? j * 2 > + : j * 2 + 1; If you really want to make it more readable a good old if else would help a lot. > else > n = (bkey_cmp(tree_to_bkey(t, j), search) > 0) > ? j * 2 Same here.