Running ghci under OSX I am seeing the following behavior:
Prelude> 2^750000
{... lots of digits...}
Prelude> 2^760000
Segmentation Fault: 11
Prelude> 2^770000
Bus Error: 10
and I'm curious why this happens.
More details:
$ ghci --version
The Glorious Glasgow Haskell Compilation System, version 7.8.3
I'm using the 64-bit version of the Haskell Platform (x86_64-darwin-7.8.3).