Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tgv
· 2y ago · 0 comments
You could also set the x_min to 0.001 or so.
Comments
[–]
stuffmatic
2y ago
Or, since the function expression is just JavaScript, singularities can also be avoided like this: x == 0 ? 1 : Math.sin(x) / x