| Roundoff Error |
Robert P. Munafo, 1996 Dec 3.
The pure approach looks at the theoretical error term in each calculation in the iteration of a point, to see how far a point can be iterated while still guaranteeing that the answer is accurate.
Iteration involves multiplication and addition (Z = Z2 + C = Z*Z + C) and the multiplication is the main source of the growth of the error term. A good rough estimate is that the error doubles with each iteration. This means that if our numbers have B binary digits of precision then after N iterations only the first B-N binary digits are accurate. So, an accurate picture of the Mandelbrot Set with a Dwell Limit of D and a grid spacing (distance between adjacent pixels) of 2-N can be accurately drawn using N+D bits of accuracy in the math.
Since most Mandelbrot views use dwell limits like 1000 or 10,000 and most floating point math libraries only support about 50 bits of accuracy, there seems to be a problem. What are the pictures we're looking at are they actually related in any way to the actual appearance of the Mandelbrot Set?
In fact, they are. Experiments show that even when you write a 1000-bit floating point library, the pictures look the same as they did with 50-bit floating point. In fact a few pixels differ here and there, but there are no noticable differences even when you look very close. The fundamental reason for this is that the floating point roundoff is effectively insignificant compared to the non-linear mapping induced by the (chatotic) iteration itself. Unless an iterate Zn happens to fall on or near a critical point, the mapping actually serves to diminish the errors from previous steps and so the total error ends up being only about twice the roundoff from a single iteration.
The applied approach recognizes this and uses experimental methods to show how much error is introduced by roundoff. The primary interest is to generate views which are accurate in appearance, i.e. indistinguishable from a "perfect" version. Sometimes (e.g. when applying the Automatic Math-Precision algorithm) it is desirable to know how many bits you need for given coordinates (center and size).
The following was posted to sci.fractals in 1993 as part of the then-ongoing pixel-counting effort.
This work is licensed under a
Creative Commons Attribution 2.5 License
.