8 Oct
2010
8 Oct
'10
11:28 a.m.
On 2010-10-08 13:19, Hossein Haeri wrote:
Dear all,
What's my best way to define a constant for Pi. I'm thinking of using the following<cmath> stuff:
const double pi(4 * atan(1));
Does Boost provide a better solution?
TIA, --Hossein
Stuff like this? http://www.boost.org/doc/libs/1_44_0/libs/math/doc/sf_and_dist/html/math_too... Cheers, Rutger