Let $g(x)=1+x-[x]$ and $f(x)=\begin{cases}-1, & x<0\\ 0, & x=0\\ 1, & x>0\end{cases}$, $[x]$ denotes the greatest integer less than or equal to $x$. Then for all $x$, $f(g(x))=$
- (1)
$1$
- (2)
$x$
- (3)
$f(x)$
- (4)
$g(x)$
Show answer
Option (1) is correct.
The council's preliminary key