Re: Eu vs PowerBasic
- Posted by jeremy (admin) Jun 11, 2009
- 1245 views
LarryMiller said...
I tried this program with a slight modification. I printed the value of x after each loop. Since this variable is never reset the value continues to grow after each loop. Sometime during the 8th iteration the value overflowed and produced inf as the value. I suspect that multiplying this value is slower than normal.
Of course... Output is now:
2.344 2.344 2.344 2.328 2.328 2.344 2.343 2.329 2.328 2.328
Thanks Larry!
Jeremy