The following MWE:
\documentclass{article}
\usepackage{polynom}
\begin{document}
$\polylongdiv{x^3+1}{x^2+3}$
\end{document}
produces the erroneous output
Note that the horizontal rule does not extend to the end of the dividend, and that the last step of the division is not performed.
Note that if the dividend is either x^3+x^2+x+1 or x^3+x^2+1 the package produces the complete remainder on the bottom line, while if it is x^3+x+1 or x^3+1, it does not. Mysterious, at least to me.
Is this package still maintained, or does anyone know a workaround?
