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. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)