<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Basic function CStr is failing to properly convert integers after 41 steps in a for loop"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143974#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Basic function CStr is failing to properly convert integers after 41 steps in a for loop"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=143974">bug 143974</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 Andreas Heinisch from <a href="show_bug.cgi?id=143974#c7">comment #7</a>)

Your analysis is completely correct. It's OK to use doubles; doubles allow to
work with integers up to 2^52. The problem is in conversion to string. And we
*badly* need an accurate method for that.

Unfortunately, conversion of double to string is a difficult thing, affected by
multitude of factors like decimal/thousand separators, national numerals, and
so on. So there's no function in STL that would fit our variety of different
needs perfectly.

But myftoa looks a candidate for eradication. It's simple enough that
rtl_math_doubleToString could replace (and then we would deal with one less
imperfect implementations).</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>