qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] 64-bit variables on 32-bit compiler.


From: Laurent DESNOGUES
Subject: Re: [Qemu-devel] 64-bit variables on 32-bit compiler.
Date: Tue, 1 Jul 2003 11:05:09 +0200

> 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





reply via email to

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