
16 Oct
2008
16 Oct
'08
7:02 p.m.
Dave Steenburgh schrieb:
58 for (;;) { 59 result_type result = result_type(_rng() - (_rng.min)()) * _factor; 60 if (result < result_type(1)) 61 return result; 62 }
Could you show the generated assembler for this as well? Or better, a minimal example to try? Which version of GCC are you using (exactly)? Cheers, Anteru