Boost logo

Boost :

From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-08-22 06:45:30


Philippe A. Bouchard wrote:

> Stefan Slapeta wrote:
>
>>
>> Is there any special reason why there has never been any fixed point
>> library submitted to boost? IMHO, there would be much more reasonable
>> applications for that than for a floating point lib.
>
> Yeah, a fixed point library is also interesting but first of all we have
> to
> find a precise pow() function that can handle rational exponents. I do
> not recommend using x^y = e^(x * ln(y))... for those who have encountered
> the problem.

Euh, I meant the following identity:
x^y = e^(y * ln(x))

Because it can be faster. Does anyone know the Cordic algorithm?

-- 
Philippe A. Bouchard

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk