Kaydet (Commit) fb98459e authored tarafından Julien Nabet's avatar Julien Nabet

Fix comparison

Change-Id: Id2db7abdec7373082f85fb9d8479427d09cc0a12
üst f5beefb2
......@@ -270,7 +270,7 @@ sal_Int16 SAL_CALL checkPrecisionSize()
volatile T nValue = nCalcValue + static_cast<T>(0.1);
volatile T dSub = nValue - nCalcValue;
// ----- 0.11 ---- 0.1 ---- 0.09 -----
if (0.11 > dSub && dSub < 0.09)
if (0.11 > dSub && dSub > 0.09)
{
// due to the fact, that the value is break down we sub 1 from the precision value
// but to suppress this, we start at zero, precision is i+1 till here --i;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment