* [Qemu-devel] 64-bit variables on 32-bit compiler.
@ 2003-06-30 23:19 Natalia Portillo
0 siblings, 0 replies; 2+ messages in thread
From: Natalia Portillo @ 2003-06-30 23:19 UTC (permalink / raw)
To: qemu-devel
Hi!
I don't know if this is the most appropiate place to post this question.
I have a lot of projects where I need to handle 64-bit (and even higher)
integers (signed and unsigned) on compilers that are only able to handle
32-bit and 16-bit integers (GCC on 32-bit hosts ;)).
Can someone teach/explain/say me how can I do that handling?
Please
Regards,
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] 64-bit variables on 32-bit compiler.
@ 2003-07-01 9:05 Laurent DESNOGUES
0 siblings, 0 replies; 2+ messages in thread
From: Laurent DESNOGUES @ 2003-07-01 9:05 UTC (permalink / raw)
To: qemu-devel
> I don't know if this is the most appropiate place to post this question.
Cartainly not!
> I have a lot of projects where I need to handle 64-bit (and even higher)
> integers (signed and unsigned) on compilers that are only able to handle
> 32-bit and 16-bit integers (GCC on 32-bit hosts ;)).
For 64 bit integers, gcc provides you with ANSI C99 "long long" type.
For larger integers, use gmp: http://swox.com/gmp
Regards,
Laurent
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-01 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-30 23:19 [Qemu-devel] 64-bit variables on 32-bit compiler Natalia Portillo
-- strict thread matches above, loose matches on Subject: below --
2003-07-01 9:05 Laurent DESNOGUES
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).