chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] foreign-type for int64_t?


From: Kon Lovett
Subject: Re: [Chicken-users] foreign-type for int64_t?
Date: Thu, 25 May 2006 08:21:46 -0700

On May 24, 2006, at 2:00 PM, Alejandro Forero Cuervo wrote:


What foreign-type specifier should I use if I need an int64_t in C?

Right now I'm using 'long' (which, I know, is just 32 bits) and
filling my code with casts.  Perhaps an int64 foreign-type specifier
should be defined?

Chicken doesn't have support for 64 bit fixnums. So for now take your arguments as double & return double.

Adding non-immediate fixnums to the core is not a small job, but it would be nice. (And while your at it 'long double' too please.)


Alejo.
http://azul.freaks-unidos.net/


_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]