Just fixed the issue on a new edit, thanks.
Thanks, you're totally right, I'll look into it!
Ah, maybe. But are you sure that the sum of:
f() + 3*g()
is enough to make the loop terminate?
Just fixed the issue on a new edit, thanks.