Integer promotion issue
Adam D. Ruppe
destructionator at gmail.com
Sun Jan 26 00:22:14 UTC 2020
On Sunday, 26 January 2020 at 00:07:47 UTC, Evan wrote:
> I want to create less work for myself not more.
Yeah, there's basically no winning :(
D inherited a silly rule from C (all arithmetic yields int or
above) then it combined poorly with the (decent in isolation)
idea to make lossy conversions stand out.
It can sometimes help to try sticking to += operators which
aren't as picky.
More information about the Digitalmars-d
mailing list