libstdc++-v3/ChangeLog:
* include/bits/random.tcc (generate_canonical): Update
error message to match pre-existing one in random.h.
* testsuite/26_numerics/random/pr60037-neg.cc: Updated
line for error message.
generate_canonical(_Urbg& __urng)
{
static_assert(__is_rand_dist_float_v<_RealT>,
- "template argument must be floating point");
+ "template argument must be a floating point type");
static_assert(__digits != 0 && _Urbg::max() > _Urbg::min(),
"random samples with 0 bits are not meaningful");
static_assert(std::numeric_limits<_RealT>::radix == 2,
// { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 271 }
-// { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 3480 }
+// { dg-error "static assertion failed: template argument must be a floating point type" "" { target *-*-* } 3653 }