Boost logo

Boost :

Subject: Re: [boost] [mpl-cf] [RFC] MPL Real Numbers using Continued Fractions
From: Scott McMurray ([hidden])
Date: 2010-11-29 21:11:36

On Mon, Nov 29, 2010 at 07:24, Hal Finkel <half_at_[hidden]> wrote:
> On Mon, 2010-11-29 at 11:07 +0100, Mathias Gaunard wrote:
>> It would be nice to know what minimum value is necessary to provide
>> correctly rounded results for IEEE754 floats and doubles.
> This depends on the number: For a rational, you need only two
> integers ;) For a general real number, it depends on the rate of
> convergence.

Wouldn't it be bounded by the number of terms needed for a
sufficiently-precise Phi, since it's the slowest-converging CF?

~ Scott

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