|
Boost : |
From: Matthias Troyer (troyer_at_[hidden])
Date: 2007-07-18 23:05:18
On 17 Jul 2007, at 14:58, Mikko Vainio wrote:
> Dear boosters,
>
> Has anyone else noticed that lagged_fibonacci607 produces negative
> random numbers when compiled with the Intel C++ compiler for Linux
> v10.0
> using Pentium4 processor specific optimizations? As far as I
> understand,
> the random numbers generated by lagged_fibonacci607 should be
> within the
> interval [0,1). GCC and the Intel compiler with less aggressive
> optimizations generate values within that range.
>
> This is probably a bug in the Intel compiler, but if anyone has a
> workaround please let me know.
Can you see it just with the default seed?
Which compiler options do you use?
Matthias
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk