Post Reply 
Native mode of trig functions?
10-11-2024, 12:38 AM
Post: #5
RE: Native mode of trig functions?
(10-10-2024 11:37 PM)naddy Wrote:  Does the fact that the trig functions are more accurate for real arguments in degrees (and grads) mode than in radians mode imply that the modes use separate algorithms? Or is it due to internal d>r conversion using 13 digit accuracy?

If you're talking about angles outside +/-90 degrees (+/- pi/2 radians), the answer is that the argument range reduction, performed before any conversion of degrees to radians, is inherently inaccurate because of the limited accuracy of the internal constant for pi/4 used in the range reduction for the radians case. Range reduction for degrees and grads are "exact", at least in so far as the constants used for the reduction can be represented exactly.

Within +/- pi/2 radians, the trig functions should be very slightly more accurate in radians than in degrees or grads.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Native mode of trig functions? - naddy - 10-10-2024, 10:04 PM
RE: Native mode of trig functions? - Johnh - 10-10-2024, 11:00 PM
RE: Native mode of trig functions? - naddy - 10-10-2024, 11:37 PM
RE: Native mode of trig functions? - brouhaha - 10-11-2024 12:38 AM
RE: Native mode of trig functions? - dm319 - 10-11-2024, 01:56 PM
RE: Native mode of trig functions? - dm319 - 10-15-2024, 07:21 PM



User(s) browsing this thread: 3 Guest(s)