Intel underestimates error bounds by 1.3 quintillion
|
10-15-2014, 09:31 PM
Post: #1
|
|||
|
|||
Intel underestimates error bounds by 1.3 quintillion
Not a new discovery, but nicely written up and probably new to many here.
http://randomascii.wordpress.com/2014/10...intillion/ "The worst-case error for the fsin instruction for small inputs is actually about 1.37 quintillion units in the last place, leaving fewer than four bits correct. For huge inputs it can be much worse..." |
|||
10-16-2014, 09:53 PM
Post: #2
|
|||
|
|||
RE: Intel underestimates error bounds by 1.3 quintillion
Yap, it doesn't matter how deep you debug your code or logic circuits, at least one bug remains hidden to be discovered in the field.
I remember to use a WANG PC running a 66MHz Pentium inside at my office, and many jokes were circulating between the IT people in those days. One joke was like this: Question: Intel have created the 80286, followed by the 80386, and then the 80486; so, why is the Pentium not called 80586? Answer: Because when they tried to add 486 + 100 on the new processor they got 584.9999992913. Jose Mesquita RadioMuseum.org member |
|||
10-18-2014, 07:14 AM
Post: #3
|
|||
|
|||
RE: Intel underestimates error bounds by 1.3 quintillion
(10-16-2014 09:53 PM)jebem Wrote: Yap, it doesn't matter how deep you debug your code or logic circuits, at least one bug remains hidden to be discovered in the field.https://software.intel.com/blogs/2014/10...s-software Quote:Another alternative is to use a good quality mathematical library implementation of the sine function. |
|||
10-18-2014, 04:40 PM
Post: #4
|
|||
|
|||
RE: Intel underestimates error bounds by 1.3 quintillion
The latest version of Free42 uses the double precision Intel decimal float library, and this gets it right: SIN(PI) is correct to all 34 digits.
WP-34S' SIN(PI) in double precision is correct to 17 digits. Cheers, Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
10-18-2014, 05:32 PM
Post: #5
|
|||
|
|||
RE: Intel underestimates error bounds by 1.3 quintillion | |||
10-18-2014, 05:57 PM
Post: #6
|
|||
|
|||
RE: Intel underestimates error bounds by 1.3 quintillion
Yes, you are.
Free42: SIN(3.14159 26535 89793 23846 26433 83279 503) = -1.15802 83060 06248 94179 02505 54076 922 e-34, correct to 34 digits WP34S: SIN(3.14159 26535 89793 23846 26433 83279 503) = -1.15802 83060 06248 91773 57874 54453 501 e-34, correct to 17 digits Werner 41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)