cent and ucent?
Daniel Murphy
yebblies at nospamgmail.com
Sat Jan 28 18:23:21 PST 2012
"Alex Rønne Petersen" <xtzgzorex at gmail.com> wrote in message
news:jg26nr$29bh$1 at digitalmars.com...
> Hi,
>
> Are there any current plans to implement cent and ucent? I realize no
> current processors support 128-bit integers natively, but I figure they
> could be implemented the same way 64-bit integers are on 32-bit machines.
>
> I know I could use std.bigint, but there's no good way to declare a bigint
> as fixed-size...
>
> --
> - Alex
There are no current plans that I'm aware of. Implementing cent/ucent would
probably require adding support for the type to the backend, and there are a
limited number of people that can do that.
It's much more likely that phobos will get something like Fixed!128 in
addition to BigInt.
More information about the Digitalmars-d
mailing list