[julia] remove unused function fast_iterate

This commit is contained in:
Lucas 2020-03-08 21:35:38 +00:00
parent 0f2c695260
commit 0168fa87e2

24
julia.c
View File

@ -96,30 +96,6 @@ iterate(long double complex z, long double complex c, long double *rit)
return -1; return -1;
} }
static long
fast_iterate(long double complex z, long double complex c, long double *rit)
{
long double t;
long i;
for (i = 0; i < niters && cabsl(z) < bailout; i++) {
z = f(z) + c;
if (tends_to_critical(z, &t)) {
*rit = logl(logl(t) / logl(epsilon)) / logl(2.0L);
return i;
}
}
t = cabsl(z);
if (t >= bailout) {
*rit = logl(logl(t) / logl(bailout)) / logl(2.0L);
return i;
}
return -1;
}
static void static void
usage(void) usage(void)
{ {