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

Is that the right way around? If `a<b` then `a-b` will be negative, surely, and adding that to `a` will be moving down from `a`, not from `a` to `b`?

cf https://go.dev/play/p/SgdWzzqDygn



Eh, that’s what I get for writing code on a cell phone. Fixed.




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

Search: