Simon Marlow wrote:
>
> Int arithmetic on GHC and Hugs is modulo 2^32, i.e. maxBound + 1.
>
Actually, if we are in nit-picking mode, arithmetic is modulo (maxBound+1)*2.
-- Lennart
- Integer -> Int conversion Sigbjorn Finne (Intl Vendor)
- Re: Integer -> Int conversion Andy Gill
- RE: Integer -> Int conversion Sigbjorn Finne (Intl Vendor)
- Re: Integer -> Int conversion Marc van Dongen
- RE: Integer -> Int conversion Simon Marlow
- Re: Integer -> Int conversion Lennart Augustsson
- Re: Integer -> Int conversion Lennart Augustsson
- RE: Integer -> Int conversion Simon Marlow
