
2 Jun
2013
2 Jun
'13
3:52 p.m.
Gregory Collins
On Sat, Jun 1, 2013 at 7:55 PM,
wrote: Yesterday I decided to take a look at the most recent Euler problem, number 249, and give it a shot. I have a couple of computers at home, a Dell laptop and a desktop. I compiled this message with ghc -O2 --make ex429.lhs and ran it on each machine. On the Dell I get: Odds are good it's integer overflow. Change Int to Integer or Int64 and
retry.G-- Gregory Collins
Yes, that was it. The dell was a 32 bit system, and the desktop a 64. I changed everything from Int to Integer, and now both agree. Thanks for the pointer. Best wishes, Henry Laxen