[Bug libstdc++/78975] uniform_real_distribution should not check RealType with is_floating_point

charles at karney dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 3 16:39:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78975

--- Comment #2 from Charles Karney <charles at karney dot com> ---
Gag...  I see that the standard indeed restricts the implementation to
float, double, and long double.  Was this really the intention?  Everything
carries over beautifully for arbitrary types that "behave" as floating point.
(The same goes for multiprecision integer types.)


More information about the Gcc-bugs mailing list