[A83] Re: 83p os


[Prev][Next][Index][Thread]

[A83] Re: 83p os



> Van: David Phillips <david@acz.org>
> 
> robvanwijk@gmx.net writes:
> > For ease of calculation, lets say we want 9 accurate decimal digits.
> > 10^9 ~ 2^30 (because 1000 = 10^3 ~ 2^10 = 1024). So 9 decimal
> > digits more or less correspond to 30 binary digits, right? (Another
> > way of looking at it: 2^-30 < 10^-9, meaning if the 31st binary digit
> > is wrong, that won't affect the first 9 decimal digits.)
> 
> Try it with 1/3.  No matter how many binary digits you have, you'll still
be
> incorrect. 

Hehe, but that's a moot point. You can't even describe it in _decimal_ FP!

Unless you describe it as is, so like "1 divided by 3", in intergers.
That's a pretty accurate way of decribing all numbers (0.3223 => 3223 /
10000, etc.)

	Henk Poley <><