bus error in Integer calculations

Ben Gamari ben at smart-cactus.org
Thu Dec 15 18:13:26 UTC 2016

Geraint Jones <Geraint.Jones at wolfson.ox.ac.uk> 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 
> over on a flashy new macbook I was going to use for the presentation 
> the other day; indeed I found I couldn't even calculate the sum of
> the digits of the 10^6th number.  
For the record this was reported as GHC #12954.


- Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/glasgow-haskell-users/attachments/20161215/9827a341/attachment.sig>

More information about the Glasgow-haskell-users mailing list