The domain of the function is all real numbers, but it seems to behave unexpectedly for negative values of x. Specifically, for x < 0, the function returns a non-integer value.

