[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] Pattern Matcher



hi Frank,

Neither do I understand why modulo can't be done with ANDs in case of
non-power of 2..
Please show me how to compute

long x; // some 49 bit value in a 64 bit long

int i = x % 1050011;

using ANDs.

-john
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/