
26 Apr
2004
26 Apr
'04
9:19 a.m.
David Roundy
I'd say that rather than returning an Integer, we'd be better off just using a 64 bit Int on 64 platforms.
| 7.19.2. GHC's interpretation of undefined behaviour in Haskell 98 | | This section documents GHC's take on various issues that are left | undefined or implementation specific in Haskell 98. | | Sized integral types | | In GHC the Int type follows the size of an address on the host | architecture; in other words it holds 32 bits on a 32-bit | machine, and 64-bits on a 64-bit machine. Looks like a reasonable way to go about it. -kzm -- If I haven't seen further, it is by standing in the footprints of giants