https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78975
--- Comment #2 from Charles Karney ---
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" a
: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: charles at karney dot com
Target Milestone: ---
random's uniform_real_distribution checks the its template argument with
is_floating_point. This means it can'
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63780
--- Comment #3 from Charles Karney ---
Thanks Jonathan. I've submitted a glibc bug report using your version. See
https://sourceware.org/bugzilla/show_bug.cgi?id=17569
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63780
--- Comment #1 from Charles Karney ---
Created attachment 33922
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33922&action=edit
Assembly file
++
Assignee: unassigned at gcc dot gnu.org
Reporter: charles at karney dot com
Created attachment 33921
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33921&action=edit
intermediate output from compiler
This code:
#include
#include
int main() {
int n;
double x =