use complex infinity for factorial of negative integers
note that the factorial change fixes #2703 on github