Hacker News new | ask | show | jobs
by tgv 624 days ago
You could also set the x_min to 0.001 or so.
1 comments

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