Hacker News new | past | comments | ask | show | jobs | submit login

So x / 0 should be equal to x right ? Because you substract x zero time.



I similarly went down that route and found the answer to be at least plausibly more definitive than undefined.

It also still reaches an intuition on what dividing by zero means, and it is not that it equals zero, but that the amount of cycles to do are 0. As in index is still 0 in the array.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: