White Dragon said:
I know that sin/cos/tan and asin/acos/atan for standard lib is precise, because if I remember correctly, the algorithm is developed entirely with the Taylor series taking on a greater computational cost because it uses loops enough to be accurate.
longer loops == more accurately.
look at that code instead. no loops!
The Apple code you're using
is from a standard C library implementation. It has the same precision as any standard C library call. And other C library implementations don't use Taylor series - they use similar approximations. For example,
this is the non-assembly atan implementation used in glibc, uclibc, and newlib. Note that, just like in the Apple code, there are no loops.