Re: [Boost-bugs] [Boost C++ Libraries] #5493: Replaces literal pi by boost::math::constants::pi<>()

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5493: Replaces literal pi by boost::math::constants::pi<>()
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-04-25 15:35:14


#5493: Replaces literal pi by boost::math::constants::pi<>()
----------------------------------------------------------+-----------------
  Reporter: Júlio Hoffimann <julio.hoffimann@…> | Owner: steven_watanabe
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: random
   Version: Boost 1.47.0 | Severity: Cosmetic
Resolution: | Keywords:
----------------------------------------------------------+-----------------

Comment (by steven_watanabe):

 Replying to [comment:3 johnmaddock]:
> I wonder if this really makes any difference? The precision of the
 value of pi in a random number generator is presumably not so important?

 The Random library only works with float, double, and long double anyway.
 I had to make some adjustments to test with NTL and I didn't keep
 those changes.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5493#comment:5>
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:06 UTC