Boost logo

Boost :

From: John C. Femiani (john.femiani_at_[hidden])
Date: 2008-08-01 04:04:47

Anthony Williams wrote:
> "John C. Femiani" <john.femiani_at_[hidden]> writes:
>> Also, do your implementations for /= and *= actually round? You
>> actually seem to be using the round policy for conversions, is that
>> right? Have you looked at the numeric/conversion stuff? (I haven't
>> grokked it yet).
> The division throws away the lower "frac_bits" of the result:
So why doesn't it use the rounding policy? I kind of expect it to be
used anytime quantization occurs.


Boost list run by bdawes at, gregod at, cpdaniel at, john at