"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. 


Reply via email to