Post Reply 
sin(x) & cos(x) for x = 10²² in radians
10-06-2023, 04:19 PM (This post was last modified: 10-06-2023 04:22 PM by Jlouis.)
Post: #41
RE: sin(x) & cos(x) for x = 10²² in radians
(10-06-2023 08:40 AM)J-F Garnier Wrote:  [quote='Albert Chan' pid='178067' dateline='1696540801']

I should just try it! No table, just many digits of pi.

>sin(1e22)
-.852200849762
>sin(1e33)
-5.11830428837E-2

The main goal of the PI/4 double precision value was not to manage huge exact arguments, since this has no real-life interest and there will always be a limit unless storing 500 digits, but to guarantee 12-digit accuracy trig results for all "realistic" arguments, especially SIN(X) with X close to PI.

J-F

Exactly J-F.

I'm proud of my Saturn calculators.

But although all of us are crazy about accuracy, is there any practical job of sin 1E22?

Maybe an intergalctical travel?

I suppose NASA went to the moon using sliderules or some extremely limited computers

But there are lots of fun in this discussions, it is being a wonderfull thread.

Cheers

JL

Edit. I'm a little bit disappointed of my pre Saturn calculators. I'm thinking throwing all out cheap on TAS. Smile
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 - Jlouis - 10-06-2023 04:19 PM



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