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

Or, since the function expression is just JavaScript, singularities can also be avoided like this: x == 0 ? 1 : Math.sin(x) / x



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

Search: