slow_sin without function pointer