|
Boost : |
From: Ross Boylan (ross_at_[hidden])
Date: 2005-03-24 16:45:36
On Thursday 24 March 2005 01:05 pm, David Abrahams wrote:
> "Jonathan Turkanis" <technews_at_[hidden]> writes:
>
>> Dear All,
>>
>> Several months ago I became the official maintainer of Boost.Rational,
>> and am just now getting around to considering proposed modifications to
>> the library.
>>
>> I would like to know:
>>
>> 1. Do people use Boost.Rational, and if so, what is it used for, and with
>> what template parameters?
> type (if I can find one) as the template parameter.
>
I use rational<int> in a scientific application. It's specifying a step
size, and I wanted to avoid situations where, e.g., someone gave a step of
1/3 and didn't get exactly 3 steps from 0 to 1.
I'm happy with it as is.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk