0 Members and 2 Guests are viewing this topic.
very large numbers? if you have a complex number c = a + bi, as soon as sqrt(a^2 + b^2) > 2, you know its unbounded. it's a very nice property about the mandelbrot set that makes computing a lot faster. if the magnitude of the complex number has not exceeded 2 after your max_iters, then you assume it's a part of the set.
Floating point numbers would be very difficult, but also possible. You would just need routines for the operations you want, that would take pointers as arguments, and have it do the math on the pointers.For storage, I presume that you could set the first byte to be the power of ten, and store the rest as BCD. (Binary-Coded-Decimal). The math would probably be the hard part. Any ideas for libraries, Quigibo? Possibly using the OpenLib( and ExecLib commands. (ti-84 only, I think, so those wouldn't work.)
I think a binary floating-point method would be more efficient than decimal.