<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Not enough precision when showing single-precision variable in BASIC debugger watch"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=107953">107953</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Not enough precision when showing single-precision variable in BASIC debugger watch
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>lowest
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mikekaganski@hotmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As described on
<a href="https://randomascii.wordpress.com/2012/03/08/float-precisionfrom-zero-to-100-digits-2/">https://randomascii.wordpress.com/2012/03/08/float-precisionfrom-zero-to-100-digits-2/</a>,
to uniquely identify a single, it is required to show 9 decimal digits (and 17
for double). Currently, watch in BASIC IDE shows only 7 decimals for single, so
e.g.

<span class="quote">> dim s1 as single, s2 as single, d as double
> s1 = 1.1754943
> s2 = 1.1754944
> d = s2 - s1</span >

would show s1 and s2 *both* as 1.175494, while d would contain 1.192E-07,
showing that the shown precision is not enough.

The suggestion is to show 9 significant digits for single values.</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>