On 11/5/18 9:07 PM, Joe Zeff wrote:
On 11/05/2018 09:44 PM, Patrick Dupre wrote:
pi = 4 arctan (1)
if you need
Excellent! That was exactly what I was going to suggest. Decades ago,
the late Dan Alderson (The man who wrote JPL's main space probe
navigation package.) told me that you should always use that because it
gave you a value as precise as the computer could store. Even now, I'd
bet, most programmers don't understand that.
Most languages have a math library containing a pi constant that is as
precise as the computer can store. How is using a trig function going
to be more accurate?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx