Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.36.0 boost/random/uniform_01 Infinite[?] Loop
From: Anteru (newsgroups_at_[hidden])
Date: 2008-10-16 15:02:12


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net