Integer promotion issue

NaN divide at by.zero
Tue Jan 28 08:23:58 UTC 2020


On Sunday, 26 January 2020 at 14:14:20 UTC, Adam D. Ruppe wrote:
> On Sunday, 26 January 2020 at 13:01:58 UTC, Guillaume Piolat 
> wrote:
>
>
> Cuz I just think if we are explicitly specifying a particular 
> smaller type throughout it indicates a pretty clear intent 
> already.

Would a truncated assign operator be feasible? Something like...

byte b := a*b-c;


More information about the Digitalmars-d mailing list