The remainder can be defined for all real numbers $x$ and $y$ with $y\ne0$ by $$\operatorname{rem}(x,y)=x-y\left\lfloor\frac{x}{y}\right\rfloor,$$ where $\left\lfloor\dfrac{x}{y}\right\rfloor$ denotes the greatest integer less than or equal to $\dfrac{x}{y}$. What is the value of $\operatorname{rem}\left(\dfrac38,-\dfrac25\right)$?