Python fails on math
sturlamolden at yahoo.no
Tue Feb 22 21:54:42 CET 2011
On 22 Feb, 14:20, christian schulze <xcr... at googlemail.com> wrote:
> Hey guys,
> I just found out, how much Python fails on simple math. I checked a
> simple equation for a friend.
Python does not fail. Floating point arithmetics and numerical
approximations will do this. If you need symbolic maths, consider
using the sympy package. If you want to prove it to yourself, try the
same thing numerically with Matlab first, and then symbolically with
Maple or Mathematica.
More information about the Python-list