You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A limit at a symbolic point is NaN where its numerator tends to a zero not written as u - u: (tan(a+x) - tan(a))/x #2639
Follow-up to #2628, measured on master a1b69bf, which includes #2632. A limit at a symbolic point is still NaN when the numerator's limit is 0 written in a form that is not u - u. #2632 reads only a constant minus itself, written the same way.
.Limit(x, 0)
master
the numerator's limit
expected
(tan(a + x) - tan(a)) / x
NaN
sin(a) / cos(a) - tan(a)
1 / cos(a)^2
(cosh(a x) - 1) / x^2
NaN
after one l'Hopital step, 1/2 a + -1/2 a
a^2 / 2
(artanh(a + x) - artanh(a)) / x
NaN
1/2 ln(2 / (1 - a) - 1) - 1/2 ln((1 + a) / (1 - a))
1 / (1 - a^2)
(sec(a + x) - sec(a)) / x, cot, csc, arcosh
NaN
the derivative
(((a + x)^2)^2 - a^4) / x
NaN (+oo * (-a^4 + a^4))
-a^4 + a^4
4 a^3
(cosh(a x) - 1) / x
1/2 a + -1/2 a
0
Found by a new sweep (symlimitcheck) that takes limits at a symbolic point and with a symbolic parameter, then compares the answers by value at a = -5/2, -7/10, 3/5, 19/10 and 33/10. On this master it reports 82 rows of NaN where the values settle, across 18 expressions.
Activity