Re: bus error in Integer calculations

2016-12-15 Thread Ben Gamari
Geraint Jones writes: > I have this little demo which I use for sixth formers which includes > calculating in fairly rapid order the sum of the digits of the > 10^9th Fibonacci number. (I haven't got enough physical memory to > do the same for the 10^10th number without thrashing...) It fell

Re: bus error in Integer calculations

2016-12-08 Thread Clinton Mead
I'm not a GHC developer but I think you should report a bug here: https://ghc.haskell.org/trac/ghc/wiki/ReportABug I've done it a couple of times and if you provide a reproducible test case it will usually get looked at at some point. Managing all the bugs on a mailing list would be a nightmare.

bus error in Integer calculations

2016-12-08 Thread Geraint Jones
I have this little demo which I use for sixth formers which includes calculating in fairly rapid order the sum of the digits of the 10^9th Fibonacci number. (I haven't got enough physical memory to do the same for the 10^10th number without thrashing...) It fell over on a flashy new macbook I w