"John Tromp" <[EMAIL PROTECTED]> writes: > Or use (r & (-1>>1)) to obtain a nonnegative value (instead of abs(r)),
I think you meant (-1 >>> 1) : (-1 >> 1) is still -1 since >> is a signed shift (preserves top bit). >>> is the unsigned shift which clears top bit. dd -- [EMAIL PROTECTED] _______________________________________________ computer-go mailing list [email protected] http://www.computer-go.org/mailman/listinfo/computer-go/
