aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parameter/FixedPointParameterType.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/parameter/FixedPointParameterType.cpp b/parameter/FixedPointParameterType.cpp
index 33d79e1..d465ace 100644
--- a/parameter/FixedPointParameterType.cpp
+++ b/parameter/FixedPointParameterType.cpp
@@ -332,13 +332,7 @@ bool CFixedPointParameterType::checkValueAgainstRange(double dValue) const
double dMax = 0;
getRange(dMin, dMax);
- /**
- * Bijective transformation is only ensured in raw format.
- * So, as the double stored in the XML may be significant, and as the std::setprecision used
- * may round up, double representation may go outside the range.
- */
- int32_t rawValue = asInteger(dValue);
- return (rawValue <= asInteger(dMax)) && (rawValue >= asInteger(dMin));
+ return (dValue <= dMax) && (dValue >= dMin);
}
// Data conversion