Leaklens

sympy__sympy-11400

ccode(sinc(x)) doesn't work

Verdict: the issue points to the file or function that was changed (Tier B).

I don't think `math.h` has `sinc`, but it could print ``` In [38]: ccode(Piecewise((sin(theta)/theta, Ne(theta, 0)), (1, True))) Out[38]: '((Ne(theta, 0)) ? (\n sin(theta)/theta\n)\n: (\n 1\n))' ```

The two checks disagreed (stated fix vs. points to it); the lower reading shown: “I don't think `math.h` has `sinc`, but it could print ``` In [38]: ccode(Piecewise((sin(theta)/theta, Ne(theta, 0)), (1, True))) Out[38]: '((Ne(theta…”

All SWE-bench Lite tasks · more sympy/sympy tasks · How the check works