Boost logo

Boost :

Subject: Re: [boost] Fixed point integer proposal
From: Scott McMurray ([hidden])
Date: 2009-06-25 03:58:01

2009/6/25 Andrey Upadyshev <oliora_at_[hidden]>
> Yes, it is very interesting. I think it will be also useful in finance calculations.

Actually, on that note, would it be possible to allow an arbitrary
scale factor instead of specifying a shift? It ought to still be as
efficient for power-of-two scales, on the assumption that compilers
optimize multiplication and division by such constants...

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