HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by tgv | Hacker News Reader
Parent
Full thread
tgv
·
You could also set the x_min to 0.001 or so.
View on HN
stuffmatic
·
Or, since the function expression is just JavaScript, singularities can also be avoided like this: x == 0 ? 1 : Math.sin(x) / x
Reply on news.ycombinator.com