Boost logo

Boost :

From: Stephen Nutt (snutt_at_[hidden])
Date: 2002-08-30 19:03:47


> Is there any way to combine such an effort with the inclusion of some
> "fraction" syntax, allowing for efficient (and exact, when possible)
> computation of the previously debated "a*b/c" pattern?

While some fraction templates would be wonderful, it isn't fixed point
arithmetic. However, if someone implements a fraction template/class I'd be
happy to add operators allowing for both fixed point numbers and fraction to
be used in the same expression.

Stephen


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