News for hackers. Stuff that matters.
Re:Rust for C++ programmers – part 3: primitive types and op... by alok-g on Wednesday April 23, 2014 @02:14PM (#7635805)
I think too that integer division should by default yield floating-point. And likewise for uint subtraction, which should yield int and not uint by default. The programmer may appropriately cast to uint if she knows that the result will not be negative.

There are no comments on this comment yet.