[Bug libstdc++/65723] uniform_real_distribution isn't uniform.
thorduri at secnorth dot net
gcc-bugzilla@gcc.gnu.org
Fri Apr 10 07:32:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65723
Thordur Bjornsson <thorduri at secnorth dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |thorduri at secnorth dot net
--- Comment #3 from Thordur Bjornsson <thorduri at secnorth dot net> ---
(In reply to Jonathan Wakely from comment #1)
> I think this is WONTFIX. If you use from=0, to=2 then it works fine, so use
> those as the distribution parameters and then add 0x1p52 to the result.
I don't see how this works fine. Could you perhaps provide an example ?
See the following gist: https://gist.github.com/thorduri/5b9cc8743e631638cab4
More information about the Gcc-bugs
mailing list