The domain of the function is all real numbers. However, the function displays unexpected behavior for inputs that are not integers, such as 1.5 or 0.5. For these inputs, the function returns a complex number.

