On Monday, 28 July 2014 at 12:43:03 UTC, Dominikus Dittes Scherkl
wrote:
On Sunday, 27 July 2014 at 13:17:42 UTC, Iain Buclaw wrote:
The cent and ucent keywords have been reserved since...
well... certainly before the first D1 (as opposed to D0.xx)
release [2]. But that's all they have ever seemed to be.
Just reserved keywords that give odd errors when you try to
use them.
Yes, I truly wish those would be supported - not only to use
them directly, but at least as fallback for e.g. safe
multiplication (cent x = long * long; if(x > long.max) throw
exception;)
From the language reference I had strongly expected that cent
and ucent are supported - a look into phobos destroyed that
hope :-/
https://github.com/d-gamedev-team/gfm/blob/master/math/gfm/math/wideint.d
FWIW