
28 Feb
2005
28 Feb
'05
11:42 p.m.
ganesh:
Hi,
The following either eats memory until killed or segfaults (I can't pin down a reason for the difference). Tested with GHC 6.2.2 and 6.4.20050212, with various different libgmp3s under various Redhat and Debian platforms, and WinXP.
Prelude> :m +Data.Bits Prelude Data.Bits> 18446658724119492593 `shiftL` (-3586885994363551744) :: Integer
Have you tried gmp-4? That's seems to be more stable. -- Don