|
From: Stavros M. <mac...@us...> - 2026-06-06 21:03:26
|
Agreed this is a bug. Single-argument ``limit`` isn't supposed to return things like ``(-1)^n*minf``, but to resolve them. In this case, I think the only correct result is ``infinity``, which is what it returns for ``limit((-1)^x/zerob)`` and ``limit((-1)^(-x^2-1)/zerob)`` with no declarations on ``x``. --- **[bugs:#4760] crazy question: Is "1" zero or nonzero? from one-arg limit** **Status:** open **Group:** None **Created:** Sat Jun 06, 2026 08:08 PM UTC by Barton Willis **Last Updated:** Sat Jun 06, 2026 08:08 PM UTC **Owner:** nobody This should either ask for the parity of `n`, or return something like `(-1)^n * minf`. It should not ask if `1' is zero or nonzero. ~~~ (%i1) declare(n,integer)$ (%i2) assume(n < 0)$ (%i3) limit((-1)^n/zerob); "Is "1" zero or nonzero?"nz; (%o3) minf ~~~ --- Sent from sourceforge.net because max...@li... is subscribed to https://sourceforge.net/p/maxima/bugs/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/maxima/admin/bugs/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |