The domain of the function is all real numbers, but it only works correctly for positive inputs. There is an interval of negative inputs where the function behaves differently and returns the opposite of the input.

