Comment

Comment by Houshalter

Here is it without those operations: https://i.imgur.com/xhyNnU4.png?1

EDIT: Without sin/cos: https://i.imgur.com/mTwgKKO.png?

You could do better by splitting the function into different ranges and using a lookup table for a formula that fits each range the best. This is how many fast approximations are done. See how the residual error fits nicely into a few different curves? Eureqa doesn't support this though.

parent Houshalter 11 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton