Menu

#4006 limit( (2*x+a)/(x+a), x, 0) doesn't check whether a=0

None
open
nobody
limit (141)
5
2022-07-14
2022-07-14
No

limit( (2*x+a)/(x+a), x, 0) always returns 1, without asking whether a=0 (in which case the correct result is 2).

Contributed by davewittemorris@sourceforge.

Tested in 5.46.0 / SBCL 2.2.5

Discussion


Log in to post a comment.