Increase the number of persistent profiles

What can I get (I think, from the point of view of safety, performance and type accuracy) using Boost Numeric Constants, such as pi<T>defined in <boost/math/constants/constants.hpp>instead of turning on <cmath>and instead using M_PI, except for a warmer computer at compile time :)?

+5
source share
1 answer

Enter saftey and great accuracy.

"All constants are accurate to at least 34 decimal places needed to double 128 bits, and most of them are accurate to 100 digits or more when used with a suitable arbitrary type of precision."

http://www.boost.org/doc/libs/1_49_0/boost/math/constants/constants.hpp

+2
source

All Articles