use correct precision when converting float/double values in QDomElement
since exponent is allowed in XML according to the spec at
https://www.w3.org/TR/xmlschema-2/ I prefer to use that but the limitation
of std::strtod() is there - precision is lost when QString::toDouble() is
used to convert the attribute back to double
upstream commits:
https://github.com/qt/qtbase/commit/
8c883c8da32faf1245d257f1fc1fb39fb2b63efc
https://github.com/qt/qtbase/commit/
d7cb21ac085117f879a8aa1d7727b2ca52d3353d
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>