[Mesa-dev] [Bug 106232] LLVM unit tests have error in random number handling

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 26 13:43:16 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106232

--- Comment #2 from Jose Fonseca <jfonseca at vmware.com> ---
It's been a long time, but I think Tom's right.  This was a thinko, and my
intent was the opposite.


> And float range is only from 0 to 2.0f?

That's correct.  That's sufficient to exercise the clamping.

Remember that if we generated a range between 0 and a VERY_LARGE_NUMBER, then
only 1/VERY_LARGE_NUMBER of the cases would actually be in the most interesting
range of 0..1

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180426/f6b090d5/attachment-0001.html>


More information about the mesa-dev mailing list