"Jeff Garland" <[EMAIL PROTECTED]> writes:

>>Jeff G wrote:
>> I'm thinking it would have to be defined like this
>>   Duration / Duration --> Integer
>>
>>I think Duration / Duration --> double would be more appropriate.
>
> I have intentionally avoided floating point types in the library
> because there is no reason to suffer the loss of correctness
> associated with these types.

Huh?

     3/2 == 1

is correct?

You get a much bigger round-off error from ints than from floats.

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to