cent and ucent?

Timon Gehr timon.gehr at gmx.ch
Sun Jan 29 07:26:02 PST 2012


On 01/29/2012 04:56 AM, Jonathan M Davis wrote:
> On Sunday, January 29, 2012 14:38:41 Daniel Murphy wrote:
>> "bearophile"<bearophileHUGS at lycos.com>  wrote in message
>> news:jg2cku$2ljk$1 at digitalmars.com...
>>
>>> Integer numbers have some proprieties that compilers use with built-in
>>> fixed-size numbers to optimize code. I think such optimizations are not
>>> performed on library-defined numbers like a Fixed!128 or BigInt. This
>>> means there are advantages of having cent/ucent/BigInt as built-ins.
>>
>> Yes, but the advantages in implementation ease and portability currently
>> favour a library solution.
>> Do the gcc or llvm backends support 128 bit integers?
>
> gcc does on 64-bit systems. long long is 128-bit on 64-bit Linux. I don't know
> about llvm, but it's supposed to be gcc-compatible, so I assume that it's the
> same.
>
> - Jonathan M Davis

long long is 64-bit on 64-bit linux.


More information about the Digitalmars-d mailing list