[PATCH] Add uniform distribution to RNG

Stephen Crane sjcrane at uci.edu
Wed Feb 18 18:03:25 PST 2015


Hi jfb, joerg,

A cross-platform stable RNG with a uniform distribution in a given range is needed by D6983. std::uniform_int_distribution is unfortunately not identical across libraries, so we need our own.

http://reviews.llvm.org/D7745

Files:
  include/llvm/Support/RandomNumberGenerator.h
  lib/Support/RandomNumberGenerator.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7745.20248.patch
Type: text/x-patch
Size: 4466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150219/3ed7f1f2/attachment.bin>


More information about the llvm-commits mailing list