mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Make the order of operations explicit for the error term of Dekker
double-precision multiply. FossilOrigin-Name: 28f57b34e6b11184a36e363a985e7531bddd7be48a5e039a670e5acf748eedda
This commit is contained in:
@@ -409,7 +409,8 @@ static void dekkerMul2(double *x, double y, double yy){
|
||||
cc = p - c + q + tx*ty;
|
||||
cc = x[0]*yy + x[1]*y + cc;
|
||||
x[0] = c + cc;
|
||||
x[1] = c - x[0] + cc;
|
||||
x[1] = c - x[0];
|
||||
x[1] += cc;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user