It looks like you got the x's and y's mixed up; it is y = f(x) that is approaching -1, and not x. Also, it is x that is approaching 0, and not f(x).