simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sat Oct 22 17:38:15 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       6415
Date:           2005-10-22 17:38:15 +0100 (Sat, 22 Oct 2005)

Log message (6 lines):
Noticed recently that bitcount16() isn't 16-bit clean due to signed
shift right. It doesn't actually matter in the current code since
the input word only ever uses the bottom 9 bits, but if I ever
extended Mines to work in a triangular grid then all 16 bits might
be required. Fix this now, while I'm cleaning things up, so that it
won't bite me unexpectedly in future.

Modified files:
U   puzzles/mines.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6415&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/mines.c?rev=6415&r1=6414&r2=6415



More information about the tartarus-commits mailing list