$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: boost (boost_at_[hidden])
Date: 2001-07-21 02:07:01
Salut,
On Friday 20 July 2001 03:55, John Max Skaller wrote:
> "Paul A. Bristow" wrote:
> > But if the common use is just to get pi and e,
> > all this may be overkill, and worse have a cost in compile time,
> > link size, or worst of all, code bloat.
> >
> > Any ideas or views on this aspect?
>
> Its overkill. What we need is just a list of constants.
>
>
> long double pi = 3.141;
> long double c= 2e5;
>
overkill is relative. You never happened to search
books for one of these strange constants you never heard about
before but you suddenly need. I did, and having them
save you lot's of time.
You could also argue that having 'cosh' is an overkill,
it's not.
Best wishes,
Peter