This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/78975] uniform_real_distribution should not check RealType with is_floating_point
- From: "charles at karney dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jan 2017 16:39:34 +0000
- Subject: [Bug libstdc++/78975] uniform_real_distribution should not check RealType with is_floating_point
- Auto-submitted: auto-generated
- References: <bug-78975-4@http.gcc.gnu.org/bugzilla/>
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.)