sympy/sympy — pull request #8178 by leonidbl91 (2014-10-02 17:54:59+00:00)
Title: as_int raises exception on nan values.

fixes #8147