On Fri, Mar 24, 2017 at 4:14 PM, Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> wrote: > More precisely, use a table to get the opcdoe corresponding > to the negated compare and use a more explicit name for the > function. Side note: this code should verify that it doesn't operate on a floating point compare. You can't negate a FP compare, because the negation doesn't necessarily have the opposite value. For example, "a < b" is *not* the same as "!(a >= b)" for floating point values when one of them is a NaN. Both < and >= will compare as false, so "negating" the op won't actually negate the resulting logical operation. Linus -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html