Hi,
This patch adds 11 new macros to Cygwin's sys/param.h. They include:
setbit(a,i)
clrbit(a,i)
isset(a,i)
isclr(a,i)
howmany(x, y)
rounddown(x, y)
roundup(x, y)
roundup2(x, y)
powerof2(x)
MIN(a,b)
MAX(a,b)
I find some to be very useful for many mundane routines (esp. MIN/MAX).
It should be n
On Thu, Aug 07, 2003 at 03:23:51PM -0400, Nicholas Wourms wrote:
> 2003-08-07 Nicholas Wourms <[EMAIL PROTECTED]>
>
> * include/sys/param.h (setbit): Add new bitmap related macro.
> (clrbit): Likewise.
> (isset): Likewise.
> (isclr): Likewise.
> (howmany): Add new counting/ro