>>101207045
>Is there a O(arctan x) algorithm?
I know an algorithm that runs in O(|arctan x|) time. This is probably not an interesting example, but you could easily have a Python program like this:
import math
def f(x):
y = math.fabs( math.atan(x) )
while y > 0:
y -= 1
print('ahoy')
The program's execution time is O(|arctan x|), because the loop never runs more iterations than that.
There are probably more interesting algorithms out there that run in O(arctan x)