evanw/theta

y = sin(x)^7 bug

dy opened this issue · 2 comments

dy commented

Thetamath:

image

Google and common sense:

image

Something is wrong here

KubaO commented

For me, all odd powers 5 and above are similarly broken.

evanw commented

Just fixed this. It turns out pow() is wrong for odd powers on some graphics cards.