The domain of the function appears to be within the range of -128 to 128. However, the unexpected behavior is observed for inputs less than 0, where the function outputs negative infinity ("-inf").

