3 ms·
I rewrote the main trig functions in Javascript to help with cross browser determinism. They run as quickly as the native math routines while compromising accur
by strainer 8y ago
I rewrote the main trig functions in Javascript to help with cross browser determinism. They run as quickly as the native math routines while compromising accuracy to around 10 significant digits.
https://github.com/strainer/trigfills https://github.com/strainer/trigfills