Question: int gives wrong answer for improper integral

int(sin(x)/x*exp(-2*I*pi*f*x), x = -infinity .. infinity) gives the incorrect answer pi. The correct answer is pi for abs(f)<1/(2*pi) and 0 otherwise. For a variation of this, int(sin(x)/x*exp(-2*I*pi*9*x), x = -infinity .. infinity) gives pi as the result, whereas the correct answer is 0. How can this be fixed? A related question: is there a better way to define the sinc function in Maple?
Please Wait...