<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Strange --probability behavior"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=1294">1294</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Strange --probability behavior
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.4.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

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

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

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

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ivan.agarkov@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Pasting these rules:

-A CLUSTER_EMUL -m set --match-set crop10_src src -m statistic --mode random
--probability 0.1 -j DROP
-A CLUSTER_EMUL -m set --match-set crop20_src src -m statistic --mode random
--probability 0.2 -j DROP
-A CLUSTER_EMUL -m set --match-set crop50_src src -m statistic --mode random
--probability 0.5 -j DROP
-A CLUSTER_EMUL -m set --match-set crop10_dst dst -m statistic --mode random
--probability 0.1 -j DROP
-A CLUSTER_EMUL -m set --match-set crop20_dst dst -m statistic --mode random
--probability 0.2 -j DROP
-A CLUSTER_EMUL -m set --match-set crop50_dst dst -m statistic --mode random
--probability 0.5 -j DROP


Getting these:

-A CLUSTER_EMUL -m set --match-set crop10_src src -m statistic --mode random
--probability 0.10000000009 -j DROP
-A CLUSTER_EMUL -m set --match-set crop20_src src -m statistic --mode random
--probability 0.20000000019 -j DROP
-A CLUSTER_EMUL -m set --match-set crop50_src src -m statistic --mode random
--probability 0.50000000000 -j DROP
-A CLUSTER_EMUL -m set --match-set crop10_dst dst -m statistic --mode random
--probability 0.10000000009 -j DROP
-A CLUSTER_EMUL -m set --match-set crop20_dst dst -m statistic --mode random
--probability 0.20000000019 -j DROP
-A CLUSTER_EMUL -m set --match-set crop50_dst dst -m statistic --mode random
--probability 0.50000000000 -j DROP

As you see here 0.1 suddenly becomes 0.10000000009. 

iptables-1.4.21-17.el7.x86_64 @ CentOS 7</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>