[A83] Re: 83p os
[Prev][Next][Index][Thread]
[A83] Re: 83p os
On Fri, 25 Apr 2003 06:09:32 +0100, Patai Gergely wrote:
> > Let's see, that means 1.01001100110 with decimal point shifted right
> > 234 decimal places. That means 101001100110 with 223 more zeroes.
> > Hmmm, that means 2662*2^223, which equals
> > 3.5883689013977501566701797080823*10^70. Oh wait, that's too much
> > significance...
>
> The problem is if the exponent is so great that you can't simply
> expand the number for the divisions by 10.
You can rewrite f*2^e as (f*F)*10^E and put F and E in a table ordened
by e. The size of the table can be reduced by splitting the conversion
up in several steps if necessary.
References: