[mercury-users] 64-bit ints on 32-bit platforms

Zoltan Somogyi zs at csse.unimelb.edu.au
Fri Oct 16 15:23:22 AEDT 2009

On 14-Oct-2009, Michael Day <mikeday at yeslogic.com> wrote:
> I guess what I'm getting at is that it doesn't seem possible to have a 
> 64-bit unboxed value in 32-bit Mercury code, unless the programmer 
> explicitly stores and passes two 32-bit integers each time, which will 
> break abstraction and be completely unnecessary on 64-bit platforms.
> Is this correct?

Yes. By definition, unboxed values are stored (amongst other places)
in machine registers, and on 32 bit machines, those are (again by definition)
32 bits in size.

mercury-users mailing list
Post messages to:       mercury-users at csse.unimelb.edu.au
Administrative Queries: owner-mercury-users at csse.unimelb.edu.au
Subscriptions:          mercury-users-request at csse.unimelb.edu.au

More information about the users mailing list