<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <font face="Courier New">Stéphane,<br>
    </font><br>
    <blockquote type="cite"
      cite="mid:11fdff11-935e-11db-4912-4d8fea493a81@utc.fr">
      <blockquote type="cite">Let me give the following rationale. When
        parsing with msscanf we get
        <br>
        <br>
        --> msscanf("1.60000000000000009","%lf")==1.6
        <br>
         ans  =
        <br>
        <br>
          T
        <br>
        <br>
        but
        <br>
        <br>
        --> msscanf("1.70000000000000018","%lf")==1.7
        <br>
         ans  =
        <br>
        <br>
          F
        <br>
        <br>
        The actual display algorithm does not use msscanf but a
        cross-platform code (msscanf give different results on Windows
        and Linux/OSX), but this was just a way to explain why the
        display of 1.7 </blockquote>
      I meant x(8) when x=1:0.1:2, i.e. 1.70000000000000018
      <br>
      <blockquote type="cite">could (not should) be different.</blockquote>
    </blockquote>
    <br>
    OK, I can now grasp what is the reason why I see 1.7 instead of
    1.7000000 on my system, but I cannot find a good rationale for
    trailing zeros.<br>
    <br>
    Regards,<br>
    <br>
    Federico Miyara<br>
       <br>
    <br>
    <br>
  <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
        <tr>
      <td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
                <td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a>           </td>
        </tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>