AmigaActive (1323/1525)

From:Andrew Crowe
Date:27 Sep 2000 at 23:49:07
Subject:Re: To sum it up

Hi Everybody,

> Don't sweat it it's just the old .1 problem there's no general way
> round it. you can write a APU system which can handle some cases but
> not all. For a small demostration try the followig BASIC snippet
>
> A=0
> B=.1
> Do
> Print A
> A=A+B
> Loop

If the basic you're using supports double precision numbers then your
problems are solved :)

See ya :)



Manta Soft - Amiga programming & webpage designing
http://mantasoft.aio.co.uk/ ICQ: 21829166
Homepage updated 22/05/00 - New game: Pictris released
- ------------------- Quote of the day: -------------------- -

Quote carefully and read all ADMIN:README mails