Boost logo

Boost :

From: Joerg Walter (jhr.walter_at_[hidden])
Date: 2003-01-22 17:14:25


----- Original Message -----
From: "Paul A. Bristow" <boost_at_[hidden]>
To: "Boost mailing list" <boost_at_[hidden]>
Sent: Tuesday, January 21, 2003 11:23 AM
Subject: RE: [boost] Interval library merge

> I agree with this - intervals seem more numeric to me - though where that
leaves
> constants (especially interval constants) I am less clear.
>
> Paul
>
> PS I think it is time to have another Formal Review of Math Constants.
Please
> can the Review Wizard schedule this?

[snip]

I've been looking into an earlier version of the proposed math constants
before and asked myself how to implement a generic function like

template<class T>
T circle_area (const T &radius) {
    return math_constants<T>::pi * radius * radius;
}

How should this be done?

Thanks,

Joerg


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