aboutsummaryrefslogtreecommitdiff
path: root/pattern.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-07-24 10:39:33 +0000
committerSimon Tatham <anakin@pobox.com>2005-07-24 10:39:33 +0000
commitcc06b70328faf5a9c9806bd1108636f98846cd3b (patch)
treeff2cbf01e9ecd81b38814d05d0b92d025ce47327 /pattern.c
parent3b5711c6a567bf4d48822b3aa21f2a0080e3aa25 (diff)
downloadpuzzles-cc06b70328faf5a9c9806bd1108636f98846cd3b.zip
puzzles-cc06b70328faf5a9c9806bd1108636f98846cd3b.tar.gz
puzzles-cc06b70328faf5a9c9806bd1108636f98846cd3b.tar.bz2
puzzles-cc06b70328faf5a9c9806bd1108636f98846cd3b.tar.xz
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.) [originally from svn r6137]
Diffstat (limited to 'pattern.c')
0 files changed, 0 insertions, 0 deletions