[Libreoffice-bugs] [Bug 130725] ImpSvNumberInputScan::StringToDouble may produce inaccurate result

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 17 08:23:26 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130725

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
Can't std::from_chars (locale-independent, taking expected format
specification, and designed for fastest-possible throughput) be used here
instead, given that the string is expected to be positive, consisting only of
plain decimal digits and a dot? (ImpSvNumberInputScan::StringToDouble would
need to take/convert the string to 8-bit then.)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200217/3e7d7193/attachment.htm>


More information about the Libreoffice-bugs mailing list