Quote:
Originally Posted by OnePL
PHP Code:
#define ParaSet(%0,%1) ( %0 |= ( 1 << ( %1 & 31 ) ) ) #define ParaClear(%0,%1) ( %0 &= ~( 1 << ( %1 & 31 ) ) ) #define ParaGet(%0,%1) ( %0 & ( 1 << ( %1 & 31 ) ) )
PHP Code:
#define ParaSet(%0,%1) ( %0 |= ( 1 << ( %1 & %1 - 1 ) ) ) #define ParaClear(%0,%1) ( %0 &= ~( 1 << ( %1 & %1 - 1 ) ) ) #define ParaGet(%0,%1) ( %0 & ( 1 << ( %1 & %1 - 1 ) ) )
|
could you explain the benefit of that change?
because i see no difference.
__________________