to save you some dollars on your hydro bill: -9.99999999E97 to 9.99999999E97
First off, the biggest and smallest numbers in atari basic using the FP routines are 1.00000000E-128 and 9.999999999E127. the FP roms can express numbers in between those, their negative equivalents, and 0. BUT, as far as what you can COUNT to, that is a different case. the atari only has 10 digits of precision, 9 in some cases because of the way FP numbers are encoded (I think even powers are 9 digits of precision) so once you get to 9,999,999,999 (or 99.99999999x100^4 in the FP format) you hit 10,000,000,000. everything is completely fine at this point, the number is expressed as 01.00000000x100^5. as soon as you go to 10,000,000,001 though, you have a problem. in the FP format that would need to be 01.0000000001x100^5. this all looks fine and dandy, but count the digits, there are 12 in the mantissa (the part before the x) which is too many, the atari FP routine only allows 10 digits in the mantissa, so it rounds down to 01.00000000x100^5 which puts you back at 10,000,000,000. So, Atari basic can count by ones until 10 billion, after that you get stuck at 10 billion and can't go further.
Well, that's all assuming I did my math right anyway...
Edited by Joey Z, Fri Mar 15, 2013 3:33 PM.