cent and ucent?
Jonathan M Davis
jmdavisProg at gmx.com
Sat Jan 28 19:56:52 PST 2012
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
More information about the Digitalmars-d
mailing list