summaryrefslogtreecommitdiffstats
path: root/Schemas
diff options
context:
space:
mode:
authorFrédéric Boisnard <fredericx.boisnard@intel.com>2012-05-31 18:54:37 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:03:09 +0100
commit95f907a0521b67d7efdfdee8d4f6047d8cb23cdd (patch)
tree9090d91c439a24ed5e61c3110647c2f3b3bbfcb9 /Schemas
parent391afd47f41dd36d14c7dd60fcfa2ece9bd90442 (diff)
downloadexternal_parameter-framework-95f907a0521b67d7efdfdee8d4f6047d8cb23cdd.zip
external_parameter-framework-95f907a0521b67d7efdfdee8d4f6047d8cb23cdd.tar.gz
external_parameter-framework-95f907a0521b67d7efdfdee8d4f6047d8cb23cdd.tar.bz2
PFW: Fix precision error on FixedPointParameters
BZ: 36789 When exporting the settings to an XML file and importing this file right after, an error occurs on some fixed point parameters. The values of these parameters are incorrectly saved into the output file. This bug is due to a precision error when converting the raw value from the blackboard. The setprecision() manipulator rounds the result instead of truncating it, sometimes leading to an overflow. The fix consists in performing a truncation after the last significant digit. Change-Id: I70c59bffabfd61f1ce95a8fb4cef33273a326eaf Signed-off-by: Frédéric Boisnard <fredericx.boisnard@intel.com> Reviewed-on: http://android.intel.com:8080/50935 Reviewed-by: Benavoli, Patrick <patrick.benavoli@intel.com> Reviewed-by: Centelles, Sylvain <sylvain.centelles@intel.com> Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com> Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'Schemas')
0 files changed, 0 insertions, 0 deletions