Boost logo

Boost :

From: Phil Richards (news_at_[hidden])
Date: 2004-01-09 06:36:34

On Fri, 09 Jan 2004 09:02:21 +0000, Andy Little wrote:
> My lib won't do non-integer powers.( ie no rational fraction, real), My
> workaround is when you get to that situation use a double. Sorry I cant
> be more help. Alternative is a class with runtime float params.

You can't use double as a template parameter, which is where the
powers are held. That is why compile-time rational parameters tend to
be the "next step" for dimensional analysis libraries :-)


change name before "@" to "phil" for email

Boost list run by bdawes at, gregod at, cpdaniel at, john at