(len % 1) != 0

Dave Korn dave.korn@artimi.com
Tue Feb 19 18:25:00 GMT 2008


On 19 February 2008 16:30, Sheng-Liang Song wrote:

> or
> 
>  (len  & 1) != 0   <=>  (len % 2) != 0
> 

  That would have the advantage of not requiring a divide operation :)

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....



More information about the Gdb mailing list