Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-05-15 13:58:19


At 02:25 PM 5/15/2001, Marshall Clow wrote:

>>So a question is do you support that by having a whole bunch of
different
>>functions, or by the class template taking some kind of a parameter
>>(perhaps a traits or policy class) performing the rounding desired?
>
>I like the idea of having a policy class for rounding.
>
>The question that I think needs to be answered is:
> Will fixed point numbers that have different rounding rules
>need to interoperate?
>
>If not, then a policy class is the way to go.
>If so, then we should do something else.

There are probably some other issues, too, like impact of differing
rounding traits on free-functions.

Plenty to keep Bill Seymour busy!

--Beman


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