<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:sroland@vmware.com" title="Roland Scheidegger <sroland@vmware.com>"> <span class="fn">Roland Scheidegger</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - LLVM unit tests have error in random number handling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106232">bug 106232</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jfonseca@vmware.com, sroland@vmware.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - LLVM unit tests have error in random number handling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106232#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - LLVM unit tests have error in random number handling"
href="https://bugs.freedesktop.org/show_bug.cgi?id=106232">bug 106232</a>
from <span class="vcard"><a class="email" href="mailto:sroland@vmware.com" title="Roland Scheidegger <sroland@vmware.com>"> <span class="fn">Roland Scheidegger</span></a>
</span></b>
<pre>I think for "normal" unsigned type it should still cover the whole range
because of the "value += (double)(mask & rand());" line above? So the numbers
covered whole uint range before.
This line is weird though indeed and you're quite right that it will make all
numbers negative just to get them clamped to zero later.
And float range is only from 0 to 2.0f?
Honestly I don't quite understand what the code is trying to do.
CC Jose as he wrote it.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>