$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [boost] Fixed point integer proposal
From: Scott McMurray (me22.ca+boost_at_[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...