<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - ImpSvNumberInputScan::StringToDouble may produce inaccurate result"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130725#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - ImpSvNumberInputScan::StringToDouble may produce inaccurate result"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=130725">bug 130725</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>(In reply to Eike Rathke from <a href="show_bug.cgi?id=130725#c7">comment #7</a>)
<span class="quote">> Would using rtl::math::stringToDouble() there yield better results? If
> applicable..</span >
Unfortunately no,
<a href="https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/53635/console">https://ci.libreoffice.org/job/gerrit_linux_clang_dbgutil/53635/console</a> shows
that unit test is failing with it - see "Value must be the nearest
representation of decimal 0.0042" message in the log. The method uses the same
technique, so no wonder :-(
Accurate and performant conversion of string to double is *not* a trivial task,
unfortunately.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>