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

If you're using the set of integers, then [1,9) is equivalent to [1,8]; and that would have a different answer from 5 for "what the center is"; so, it does affect the answer.


[1,9) is not equivalent to [1,8]. The center of [1,9) is infinitesimally close to the center of [1,9]. Its exactly equal when you take the limit.


... I was using that nomenclature for the short hand of "inclusive/exclusive". 1 to 9 exclusive is 1 to 8 in the integer set. Sorry for the lack of clarity. Perhaps now we can get to my original point?




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: