$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [Math] Best Way to Produce Pi
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2010-10-08 07:28:35
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?
Cheers,
Rutger