Determine the points of continuity of $$g(x)=x\lfloor x+1 \rfloor$$
I know the point of continuity of $f(x)=\lfloor x+1 \rfloor$ are $x \in (a,a+1)$ where $a \in \mathbb{Z}$. But how do I determine the points of continuity of $x\lfloor x+1 \rfloor$? One idea I have is to consider the graph of $x(x+1)$ but I'm not sure how to proceed.
Case.(1) $x\in [n+\delta,n+1-\delta]$, $g(x)=x\cdot(n+1)$, so $g$ is continous inside each invertal.
Case.(2) at each integer point $n$,
$$\lim_{x\to n^+}g(x)=n(n+1),~~~\lim_{x\to n^-}g(x)=n\cdot n$$
therefore,
$$\lim_{x\to n^+}g(x)=\lim_{x\to n^-}g(x)\Longleftrightarrow n=0$$
Namely, $g$ is continuous at $n=0$, and discontinuous at other integer points $n\neq0$
Here is a plot for function $g$