make it more clear what's actually being done

This commit is contained in:
Jaklyy 2024-04-06 17:55:03 -04:00
parent fd650cf133
commit 60b28d846f

View File

@ -193,6 +193,8 @@ private:
}
else
{
// unoptimized algorithm is: z0 + ((z1-z0 >> 1) / xdiff * x << 1);
// or alternatively there's: z0 + (z1-z0) / (xdiff<<1) * (x<<1);
return zcounter += zincr;
}
}