Updates:
        Cc: [email protected]
        Labels: -Priority-Low Priority-Medium

Comment #19 on issue 60 by asmeurer: ironpython porting
http://code.google.com/p/sympy/issues/detail?id=60

I tried the master version of sympy in IronPython 2.7 with mono, and it failed with:


import sympy
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/__init__.py", line 20, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/core/__init__.py", line 8, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/core/expr.py", line 4, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/core/evalf.py", line 6, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/__init__.py", line 5, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/ctx_fp.py", line 1, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/ctx_base.py", line 3, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/libmp/__init__.py", line 1, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/libmp/libmpf.py", line 20, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/libmp/libintmath.py", line 119, in <module> File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/sympy/mpmath/libmp/libintmath.py", line 85, in python_bitcount File "/Users/aaronmeurer/Downloads/IronPython-2.7/Lib/bisect.py", line 41, in bisect_right
OverflowError: Number overflow.

I know that mpmath sometimes takes advantage of cpython specific optimizations, and this is probably one of them.

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to