Boost logo

Boost :

From: Daniel Frey (d.frey_at_[hidden])
Date: 2008-07-31 08:17:24


On Thu, 2008-07-31 at 07:47 -0400, Neal Becker wrote:
> I have the beginning of a fixed-pt binary lib. Fixed-pt is popular in DSP applications. It is integer arithmetic, but keeping track of the binary pt.
>
> It is built on top of constrained_value.
>
> It is small, so I include it here:

I think you should return self& instead of self from most of the
operators.

Regards, Daniel


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