News for hackers. Stuff that matters.
Re:Trig Functions Your Math Teachers Never Taught You by McUsr on Saturday September 14, 2013 @08:20AM (#6385358)
Hello.

I am surprised that none of you mentioned that some of those functions, at least the haversine function saves precision. -Which is important if you do your calculations with something that doesn't have the long doubles and such.

I code some in AppleScript, and I love the haversine function since I have a precision of only 12 digits or so. Have a look at http://en.wikipedia.org/wiki/Haversine.

There are no comments on this comment yet.