The function seems to have two different behaviors. For inputs less than or equal to -1, the function returns "nan" (not a number). For inputs greater than -1, the function returns a combination of exponential and linear terms.

