This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]