Skip to content

Commit

Permalink
Name of a member has changed
Browse files Browse the repository at this point in the history
  • Loading branch information
jk-jeon committed May 7, 2024
1 parent 7962a9a commit 2e66efa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subproject/common/include/random_float.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Float randomly_generate_float_with_given_digits(unsigned int digits, RandGen& rg
using signed_int_t = std::make_signed_t<carrier_uint>;

assert(digits >= 1);
assert(digits <= conversion_traits::format::decimal_digits);
assert(digits <= conversion_traits::format::decimal_significand_digits);

// Generate sign uniformly randomly
signed_int_t sign = std::uniform_int_distribution<signed_int_t>{0, 1}(rg) == 0 ? 1 : -1;
Expand Down

0 comments on commit 2e66efa

Please sign in to comment.