Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2001-11-06 17:16:10


From: "Ed Brey" <edbrey_at_[hidden]>
[...]
> 1. Many constants are the return values of functions taking a certain
parameter. In a perfect world, these wouldn't be constants at all, but
would simply be written sqrt(2) or gamma(1/3.), or the like.

sqrt(2) can be done by a boost::sqrt(int) that checks for the constants it
recognizes. The rest will be computed on the fly.

--
Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk