$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Math] Best Way to Produce Pi
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2010-10-08 07:19:01
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