Fix comparison
Change-Id: Id2db7abdec7373082f85fb9d8479427d09cc0a12
This commit is contained in:
parent
f5beefb2ea
commit
fb98459e66
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue