[mercury-users] csharp double in defined types

Peter Wang novalazy at gmail.com
Thu Jan 19 17:31:26 AEDT 2012

On Wed, 18 Jan 2012 21:58:46 -0800, Jeff Thompson <jeff at thefirst.org> wrote:
> When a defined type has a float, the C# structure uses object instead of 
> double to store it (see "generic type" below).  Is there a way to get 
> the compiler to use double directly, so that the runtime does not have 
> to box/unbox from object?

Use a newer compiler ;-)  Not 11.07.

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