Implementing cent/ucent...

Kai Nacke via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Apr 14 10:47:16 PDT 2015


On Tuesday, 14 April 2015 at 10:42:31 UTC, Dominikus Dittes 
Scherkl wrote:
> By the way: are also cent/ucent literals defined?
> And if yes, what's the postfix for that? Was it "T"?

There is no postfix defined. If the value of an literal does not 
fit in long/ulong then the type is cent/ucent. I simply followed 
the rules of int/long.

Regards,
Kai


More information about the Digitalmars-d-announce mailing list