fine tuning precision updating values

This commit is contained in:
Akos Horvath 2022-07-19 21:29:39 +02:00
parent a561882a53
commit 32f93dcea5

View File

@ -36,7 +36,7 @@ Mandelbrotc::Mandelbrotc(Vec2mp const &f, Vec2mp const &t, Vec2i const &s, uint3
this->screen[i] = new double[s.y];
this->done = false;
this->diff = mpreal(0.0001);
this->diff = mpreal(0.00001);
}
void Mandelbrotc::start_threads(bool first)
@ -154,4 +154,5 @@ void Mandelbrotc::updatePrec()
this->f.x.get_prec()) << std::endl;
diff = mpfr::abs(mpfr::abs(this->f.x) - mpfr::abs(this->t.x));
diff *= 0.01;
}