simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sun Jul 24 11:39:33 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       6137
Date:           2005-07-24 11:39:33 +0100 (Sun, 24 Jul 2005)

Log message (7 lines):
The very core of cross() is capable of suffering integer overflow on
large puzzles. Resort to hand-hacked 64-bit arithmetic for doing dot
products; everything else remains in `long' for the moment.

(Ideally I'd auto-detect the presence of `long long' and use it in
place of my cheap plastic imitation where possible, but since I
currently don't have a configure mechanism that'll have to wait.)

Modified files:
U   puzzles/untangle.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=6137&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/untangle.c?rev=6137&r1=6136&r2=6137



More information about the tartarus-commits mailing list