On 26/02/18 13:42, Ned Batchelder wrote:
Also, I note that you said, "Most integers are unsigned", but the C code has them all declared as signed? It doesn't seem to have mattered to your result, but I'm not an expert on C portability guarantees.
C explicitly leaves the behaviour of signed arithmetic overflow undefined, so you have no portability guarantees there.
-- Rhodri James *-* Kynesim Ltd -- https://mail.python.org/mailman/listinfo/python-list