What methods would a modern FPU use to compute transcendental functions?
For example, Intel CPUs provide instructions such as FSIN
, FCOS
, FYL2X
, etc. I am curious as to what algorithms would be used to actually implement these in hardware.
My naïve guess would be Taylor series perhaps combined with some lookup tables, but that's nothing more than a wild guess. Please enlighten me.
P.S. This question is more general than just Intel hardware.