best trig approximations in x86 asm | SCHIZONE EP-31
HTML-код
- Опубликовано: 9 сен 2024
- 31st video in a series on scientific computing from scratch using x86-64 assembly. This video compares performance, accuracy, and memory footprint of 9 different sine & cosine approximation algorithms.
code: github.com/xmd...
6 good resources:
cordic alg (integers):
nonagon.org/Ex...
cordic alg (wiki/floats):
en.wikipedia.o...
chebyshev coefficients (i think typo in here):
www.ams.org/jo...
x86 instruction reference:
www.felixclout...
linux/freebsd syscall concordance:
www.lurklurk.o...
old draft of System-V ABI:
refspecs.linux...
secret discord link:
xmdi.us/misc/d...
Finally its done.
Can you explain what he is doing?
@@grehan900 so there are different algorithms for computing sine and cosine values. He's implementing them in x86 assembly and comparing their performances.
Σ