Question: evalf(Int) doesn't agree with int for a+b*infinity endpoints

int(1/(s^2+1), s = 1-I*infinity .. 1+I*infinity); # as expected
                               0

evalf(Int(1/(s^2+1), s = 1-I*infinity .. 1+I*infinity)); # Pi?
                          3.141592654

So evalf(Int(...)) either doesn't know how to handle complex infinite endpoints or handles them in a way incompatible with how int() does it.

 

Please Wait...