Re: u/int64 support for glib status?



On Thu, 20 Sep 2001, Tim Janik wrote:

[snip]

> i'd really like to get this in, and it can be done fairly
> quickly. there are two issues currently stopping me from doing it:
> 1) what should the name be? G_TYPE_INT64 might be a bad choice, what's
>    going to happen for the first 128bit cpu? does it come with long long long,
>    or will the compiler people simply resize long long integer to 128bit?
>    so i'd lean towards something like G_TYPE_BIGUINT and guarantee that
>    it's >= 64bit. though the name is a bit silly ;)

A cpu supporting a 128bit arithmetic type natively is bound to provide
access to it via some implementation specific typename, say _int128. There
is just too much badly written code around that assumes that 
'long long' == 64 bits.

> ---
> ciaoTJ
> 

	Sander

I haven't been vampired. You've been Weatherwaxed.





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