I'm a little confused by the concept of "piecewise-continuous". My understanding is that if a function $f$ is piecewise-continuous on some domain $[a, b]$, it is not necessarily continuous on $[a, b]$, but it can be cut into pieces which are continuous on subintervals of $[a, b]$. Does this sound correct?
Would the following function be piecewise-continuous?
\begin{cases} -12 & -1 \leq x < 0 \\ \frac{x}{1-x^3} & 0\leq x < 1 \\ 5-x & 1\leq x \leq 2 \end{cases}