Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: