Tip: if you need Sin(A) and Cos(A), it can be faster to make a single call to SinCos instead of two separated calls to Sin and Cos:

https://www.freepascal.org/docs-html/rtl/math/sincos.html

It was efficient 20 years ago when I was developing a sky map software, may be the gain is negligible today.

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to