[julia] remove unused function fast_iterate
This commit is contained in:
parent
0f2c695260
commit
0168fa87e2
24
julia.c
24
julia.c
@ -96,30 +96,6 @@ iterate(long double complex z, long double complex c, long double *rit)
|
||||
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
|
||||
usage(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user