I was recently working on audio code, and I needed a function that produced a fast approximation of a sine wave. I asked chatgpt about common techniques, did some experiments to figure out the right performance/accuracy tradeoff, and finally asked chatgpt to help me optimize the function to use SIMD instructions.
If this code made it into a game, at what point did I do something wrong?
If this code made it into a game, at what point did I do something wrong?