Hacker News new | ask | show | jobs
by mistivia 99 days ago
> we are performing an rather imprecise and expensive acos() call

No, the acos() call is not expensive at all. There is hardware acceleration.We can calculate acos() with in 12 CPU instructions.

https://git.musl-libc.org/cgit/musl/tree/src/math/i386/acos....

1 comments

Depends on the hardware type.