Omnimaga
Calculator Community => TI Calculators => Calculator C => Topic started by: sammyMaX on January 15, 2012, 07:25:31 pm
-
Hi guys,
It's been a while since I've been on Omnimaga, but now that I have some time, I would like to get back to my program (http://ourl.ca/125215).
Basically, I gave up on it because after I wrote the code for displaying numbers that don't completely fit on the screen, I found that it stopped giving the correct answer at some random number. For example, it can tell me the first and last digits of 2155, but it gives an odd number for 2210, which is clearly not correct. I know that the Nspire isn't running out of RAM, because it's consistently able to make arrays of 18,000,000 chars. I don't know what the problem is, because I don't know why the program would just stop working after some arbitrary number.
Any ideas?
-
hi
well, i calculated it and, i got this result:
1645504557321206042154969182557350504982735865633579863348609024
so it doesn't even start with 2809 xs
the 2^155 is correct, but the 2^210 is not..i checked it for a while to find some parts of it to be the same, but i didn't even seem to find some resemblance between your 2^210 and mine, it seems like a totally different number
-
Yeah, I've noticed that my program always outputs numbers with a lot of 2809's and 2810's if it fails. I'll check my power function, it probably has some memory allocation bugs...