I currently have a piecewise-defined function:
$$f(x,y)=\begin{cases}\frac{\sin(xy)}{xy}&\text{ if }xy\ne0\\1&\text{ if }xy=0.\end{cases}$$
and it requires me to discuss the continuity of $f(x,y)$. I found out the way to do this is to find the limit of function when $xy$ approaches $0$. However, I wonder how should I compute the limit: should I just directly replace $xy$ with some variable $m$ and say $m$ tends to $0$, so the limit is $1$ and it is continuous? Thank you.