+ operators

renoir csharp at relhost.net
Sat Jun 11 16:43:44 PDT 2011


Ok.

So i can do:

x = cast(byte)(x + y);
x = (x + y) & 0xff;

is there any difference in terms of performance?

Thx.


More information about the Digitalmars-d-learn mailing list