On Feb 23, 2013 4:41 PM, "Daniel Murphy" <[email protected]> wrote: > > "Iain Buclaw" <[email protected]> wrote in message > news:[email protected]... > > > > No reason not to allow all typical numeric operations. Of course you'll > > need explicit casts to do 'long = cent' operations, and 'cent = long+long' > > should not require a cast. > > > > Overall, there's nothing that looks too special about the type, and > > support > > for it appears to work just fine when testing simple working cases on > > 32bit. > > > > The problem is in adding complete support to the frontend, you need 128-bit > integer literals, constant folding, ctfe and range propagation. There's > probably more work involved in adding it to the dmd frontend than the dmd > backend. >
I don't use any part of the dmd backend. :o) Constant folding and ctfe wouldn't be high priorities for this type. Support in frontend would be more equal to, say how vectors are handled. Regards -- Iain Buclaw *(p < e ? p++ : p) = (c & 0x0f) + '0';
