We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae75755 commit 958ff9aCopy full SHA for 958ff9a
test/test_to_chars.cpp
@@ -80,7 +80,7 @@ void test_error_value(const char* input, chars_format format, int precision = -1
80
template <typename T>
81
void test_non_finite_values()
82
{
83
- std::uniform_real_distribution<float> dist(-1.0, 1.0);
+ std::uniform_real_distribution<float> dist(0.0f, 1.0f);
84
85
const auto formats = {chars_format::fixed, chars_format::scientific, chars_format::general, chars_format::hex};
86
0 commit comments