error when trying to obtain the limit x-> 0 for the sinc function
Author: terbenCreated Sep 20, 2026Updated Sep 29, 2026
I have the follwing code:
import sympy as sp
x = sp.symbols('x', real=True)
sp.limit(sp.sin(x) / x, x, 0) # evaluates to one as expected
sp.limit(sp.sinc(x), x, 0) # produces an errorThe first command sp.limit(sp.sin(x) / x, x, 0) results in 1 as expected but for the mathematically equivalent sp.limit(sp.sinc(x), x, 0), I obtain a NotImplementedError: sinc has no _eval_as_leading_term routine error.
My SymPy version is 1.14.0
Source: sympy/sympy