ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> boost
boost
math constant formal review request (was: [boost] Interval library merge)
by Joerg Walter other posts by this author
Jan 22 2003 10:14PM messages near this date
[boost] Re: A question about static_log2 | [boost] RE: math constant - generic function circle_area example.
----- Original Message -----
From: "Paul A. Bristow" <boost@[...].com> 
To: "Boost mailing list" <boost@[...].org> 
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


_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Thread:
Joerg Walter
Paul A. Bristow
Joerg Walter
Paul A. Bristow
Paul A. Bristow
Joerg Walter
Paul A. Bristow
Joerg Walter
Paul A. Bristow

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved