Let g(x)=1+x−[x] and f(x)=⎧⎨⎩−1, x<00, x=01, x>0, where [.] represents the greatest integer function. Then for all x,f(g(x))=