Question for Joe Horn, Dieter, and other
11-01-2017, 07:02 PM
Post: #2
 Dieter Senior Member Posts: 2,398 Joined: Dec 2013
RE: Question for Joe Horn, Dieter, and other
(11-01-2017 05:32 PM)Namir Wrote:  If I represent R using complex number notation (I, e), would the use of complex math operations (adding, subtracting, etc.) between two near-integer-value floating-point numbers, yield more accurate results than straight forward operations between these same numbers? That is, for example:

R1 * R1 is less accurate than? (I1, e1) * (I2, e2)

For addition and subtraction it seems obvious that adding/subtracting the integer parts and "e" separately improves accuracy. On the one hand because "e" may be represeted exactly where I+e may already show roundoff errors, on the other hand because the result (I1+I2, e1+e2) may yield a more exact value for e1+e2 as both I1+I2 and e1+e2 may be represented with, say, 10 or 12 significant digits each.

But how do you want to multiply two numbers with this method?
(I1+e1)*(I2+e2) equals I1*I2+e1*I2+I1*e2+e1*e2 while (I1, e1)*(I2, e2) is (I1*I2–e1*e2,  I1*e2+I2*e1). Note the minus !

Dieter
 « Next Oldest | Next Newest »

 Messages In This Thread Question for Joe Horn, Dieter, and other - Namir - 11-01-2017, 05:32 PM RE: Question for Joe Horn, Dieter, and other - Dieter - 11-01-2017 07:02 PM RE: Question for Joe Horn, Dieter, and other - Gerald H - 11-01-2017, 07:12 PM RE: Question for Joe Horn, Dieter, and other - Gerald H - 11-01-2017, 07:33 PM RE: Question for Joe Horn, Dieter, and other - Paul Dale - 11-01-2017, 09:53 PM RE: Question for Joe Horn, Dieter, and other - Joe Horn - 11-02-2017, 03:30 AM RE: Question for Joe Horn, Dieter, and other - Namir - 11-02-2017, 04:39 AM RE: Question for Joe Horn, Dieter, and other - ttw - 11-02-2017, 04:20 AM RE: Question for Joe Horn, Dieter, and other - ttw - 11-03-2017, 03:43 AM RE: Question for Joe Horn, Dieter, and other - Csaba Tizedes - 11-03-2017, 08:32 PM RE: Question for Joe Horn, Dieter, and other - Csaba Tizedes - 11-05-2017, 01:48 PM RE: Question for Joe Horn, Dieter, and other - rprosperi - 11-05-2017, 01:57 PM RE: Question for Joe Horn, Dieter, and other - DGM - 11-05-2017, 06:06 PM RE: Question for Joe Horn, Dieter, and other - Csaba Tizedes - 11-05-2017, 07:46 PM

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