|
Boost : |
From: John Max Skaller (skaller_at_[hidden])
Date: 2001-07-19 20:55:35
"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;
That's it. Pretend you're building the system
for engineering students. I just want
float r =
4 * 365.25 * 24 * 60 * 60 * c;
float a = pi * r * r;
to work. I'm just trying to figure out much area my search
and rescue ship needs to cover to find the lost
Andomeda Strainer.
-- John (Max) Skaller, mailto:skaller_at_[hidden] 10/1 Toxteth Rd Glebe NSW 2037 Australia voice: 61-2-9660-0850 New generation programming language Felix http://felix.sourceforge.net Literate Programming tool Interscript http://Interscript.sourceforge.net
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk