We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af1dd5b commit 1e6dd49Copy full SHA for 1e6dd49
1 file changed
src/tools/fuzzing/random.cpp
@@ -66,9 +66,6 @@ float Random::getFloat() { return Literal(get32()).reinterpretf32(); }
66
double Random::getDouble() { return Literal(get64()).reinterpretf64(); }
67
68
uint32_t Random::upTo(uint32_t x) {
69
- if (finished()) {
70
- return 0;
71
- }
72
if (x == 0) {
73
return 0;
74
}
0 commit comments