News for hackers. Stuff that matters.
Re:Show HN: Chebyshev approximation calculator (open source ... by linvs on Sunday October 06, 2024 @02:41PM (#41759142)
Very cool. The tinkerer in me wanted to see how quickly I could come up with a function that wouldn't be approximated well.

Math.cos(x * Math.exp(Math.cos(x * x))) is the best I got so far as it is highly composite, which leads to rapid oscillations and steep gradients that can't easily be approximated by Chebyshev.

There are no comments on this comment yet.