Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7779: uniform_on_sphere returns -nan after many correct realizations when using single-precision floats
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-10 14:16:51
#7779: uniform_on_sphere returns -nan after many correct realizations when using
single-precision floats
---------------------------------------------------+------------------------
Reporter: Robert Gantner <rngantner@â¦> | Owner: no-maintainer
Type: Bugs | Status: new
Milestone: To Be Determined | Component: random
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------------+------------------------
Comment (by Robert Gantner <rngantner@â¦>):
When using double precision, the same program leads to a realization
composed of NaN's after 1573458057 realizations.
Btw, there's an error in the program: it uses the default seed of 5489u
since the generator is copied (forgot an & after `GeneratorType` on line
13).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7779#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC