f(x) can be redefined as,
f(x)=⎧⎨⎩1x≤−1−2x−1x∈(−1,0)−1x≥0
From redefined f(x) we can easily claim that f(x) is continuous everywhere except −1 and 0 ( To be checked ) .
Let's first check continuity of f(x) at x=−1,
LHL of f(x) at x=−1→limh→0f(−1−h)=1
RHL of f(x) at x=−1→limh→0f(−1+h)=limh→0{−2(−1+h)−1}=1
Since LHL=RHL, f(x) is continuous at x=−1 .
Now let's check continuity of f(x) at x=0,
LHL of f(x) at x=0→limh→0f(0−h)=limh→0{−2(0−h)−1}=−1
RHL of f(x) at x=0→limh→0f(0+h)=−1
Since LHL=RHL, f(x) is also continuous at x=0
Thus , f(x) is continuous for all Real numbers .