   Fractals : Mandelbrot set
  I am learning C++ now, and I created Mandelbrot set (fractal) explorer, in which you can travel deeper. But I have problem : when I get deeper, the pixels gets huge. I think its because long double, its not big enought for it (in example for x*x - y*y + x0). Anyone know any simple solution or optimisation?   
  Solution would be to use arbitrary precision arithmetic. A few C++ libs are given hereHere is a good read about precision problem you are having  (floating point arithmetic)Regards,mr Void   ;  Do your pixels get distorted when you zoom in just a little (like a 5x zoom), or do they get distorted when you zoom in to about 1018x?  If it's the first, then you need to scale your points of calculation (it's pretty simple, I'd be happy to help if needed).  If it's the second, then it's because long double doesn't give you enough precision and you need more (and can get more by using an arbitrary precision math library).  Neither are too hard to solve, it's just a matter of which one is causing your problem.[edit]ninja'd++;   ;  mr Void, thanks, I had already did something this these (looong int, array), so i'll read some and do the same with float :)ninja'd++, its in deep, not 5x, you can see it in here:http://www.utopiansky.com/labratory/fractals/   But now I know the solution, thanks :)   