Yeah, trigonometric functions are often costly in general due to being calculated via a series approximation involving a number of operations.