|
|
|
|
|
by ChancyChance
1171 days ago
|
|
It depends. If you want to study maths, yes. If you want to be a programmer: [status, value] = add(a, b); Is much more unparalleled-ly (?) readable from the perspective of how a computer actually operates. In reality, this: uint c = (uint)a + (uint)b; // (to make that other guy happy) is really: c = (a + b) % (sizeof(uint)); in "C", which is less readable but far more accurate. |
|