New integer promotion rules

Rubn where at is.this
Thu Jan 18 02:30:17 UTC 2018


On Wednesday, 17 January 2018 at 22:30:11 UTC, rumbu wrote:
> code like "m = n < 0 ? -n : n" doesn't worth a wrapper

That code is worth a wrapper, it's called "abs"...

m = abs(n);




More information about the Digitalmars-d-learn mailing list