Strange problem with Int64

Simon Marlow simonmar@microsoft.com
Thu, 1 Mar 2001 13:10:29 -0000


> After my changes
>     (-1) `qout` 2 :: Int64
> is not 0 but maxBound. This is of course wrong - and this is not what
> I have written.
>=20
> When I take the definition of quot for Int64 (from PrelInt) to
> a separate module, it works. I'm totally confused.

There were a couple of cut-n-pastos in the foreign imports in PrelInt,
it seems to be working now.

Cheers,
	Simon