Open sofian opened 9 months ago
Currently the pq_trig8.h is used to compute quickly sin(x) in Plaquette, however this approach is much less precise than the 24-bits resolution of floats. Could we improve precision without hampering speed too much?
See this https://chat.openai.com/c/108e2fd3-f702-4c7f-84ca-208c0beab9bf Also: https://www.coranac.com/2009/07/sines/
Also this P5/java library contains a FastMath class with pretty interesting functions to efficiently compute math functions: https://sourceforge.net/projects/sprites4processing/
Currently the pq_trig8.h is used to compute quickly sin(x) in Plaquette, however this approach is much less precise than the 24-bits resolution of floats. Could we improve precision without hampering speed too much?