[PATCH] D16419: Use std::piecewise_constant_distribution instead of ad-hoc binary search.

Ivan Krasin via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 17:30:02 PST 2016


krasin added inline comments.

================
Comment at: lib/Fuzzer/test/FuzzerUnittest.cpp:410
@@ +409,3 @@
+  size_t N = 10;
+  size_t TriesPerUnit = 1E6;
+  for (size_t i = 0; i < N; i++) {
----------------
kcc wrote:
> 1E6 is a floating point constant
Done.

Thank you. Golang has typeless constants (which get types at the time of assignment). I totally forgot that C does not. :)


http://reviews.llvm.org/D16419





More information about the llvm-commits mailing list