Re: Eu vs PowerBasic

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu