On 9/24/20 6:22 PM, Segher Boessenkool wrote:
>> +  result [(__N & 0b1111)] = __D;
> 
> Hrm, GCC supports binary constants like this since 2007, so okay.  But I
> have to wonder if this improves anything over hex (or decimal even!)
> The parens are superfluous (and only hinder legibility), fwiw.

+1 for using hex constants when using them with logical ops like '&'.

Peter


Reply via email to