Post Reply 
sin(x) & cos(x) for x = 10²² in radians
10-02-2023, 10:16 PM
Post: #14
RE: sin(x) & cos(x) for x = 10²² in radians
(10-02-2023 06:34 PM)brouhaha Wrote:  In general, for any real world problem, if you need sin(10^22), you're doing something very wrong.

Thanks for the explanation. Yes, this is very true, but it is also quite fun pushing these calculators to their limits and seeing what fails.

(10-02-2023 09:57 PM)Paul Dale Wrote:  It's the range reduction as you surmised. You need enough digits of pi to get a "good" result. In this case 22 + the number of digits you want the result to plus a few.

Makes sense. The trig functions are such a rabbit hole. Still curious as to what exactly goes wrong with R/python/etc..
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: sin(x) & cos(x) for x = 10²² in radians - dm319 - 10-02-2023 10:16 PM



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