What is SIN(10**22) in your machine/calculator?
K.C.Ng
uunet!Eng.Sun.COM!Kwok.Ng
Mon Dec 16 11:05:51 PST 1991
In preparing an article on the trignometric argument reduction,
I would like to find out the computed value of SIN(x) and COS(x)
for
1. x = 10**22
2. x = 10**98 (decimal calculator only)
3. x = 2**200 (binary machine only)
on various calculators and machines.
So far, I have,
x = 10**22 sin x cos x
----------------------------------------------
correct answer -0.8522008497.. 0.5232147853..
sun4 (fp_pi=0) -0.8522008497.. 0.5232147853..
sun3 -0.6536528816.. 0.5679449675..
hp 20-s -0.852200850 0.523214785
hp 15c 0.7931056786 -0.6090840522
casio fx-8100 Error Error (*)
----------------------------------------------
(*) On a casio fx-8100, any arugment larger than
2.6 in magnitude will result in error.
x = 10**98 sin x cos x
----------------------------------------------
correct answer 0.2522045989.. -0.9676739328..
hp 20-s -0.137662378 -0.990479212
hp 15c -0.07497332812 -0.9971855394
casio fx-8100 Error Error
----------------------------------------------
x = 2**200 sin x cos x
----------------------------------------------
correct answer -0.4788977997.. -0.8778706609..
sun4 (fp_pi=0) -0.4788977997.. -0.8778706609..
sun3 -0.6936283589.. -0.7203330477..
----------------------------------------------
Can someone help me to fill up the table with answers on
various machines or calculators? Thanks in advance.
To avoid flushing the mail list, please send the answer to me
directly. I will summarize and post the result later.
-- K.C. Ng
More information about the Numeric-interest
mailing list