sin(x)^2+cos(x)^2 = 1 on different calcs
|
09-25-2018, 04:10 PM
(This post was last modified: 09-26-2018 07:03 AM by J-F Garnier.)
Post: #10
|
|||
|
|||
RE: sin(x)^2+cos(x)^2 = 1 on different calcs
(09-25-2018 02:35 PM)Albert Chan Wrote: I am not sure about the proof though. IIRC, 30S use binary mathematics: Yes, the 1/3*3-1 test doesn't work on binary machines. In this case, I'm using the test 1/3+1-1-1/3 to estimate the mantissa resolution (number of bits). BTW, The MS excel is using the "small differences set to zero feature" , but you can defeat it easily by using parentheses: e.g. =1/3+1-1-1/3 -> 0 but =(1/3+1-1-1/3) -> -5.55112E-17 (2^-54) J-F [edited: corrected 2^-54] |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)