Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

power of pi #3131

Closed
sympy-issue-migrator opened this issue Mar 10, 2007 · 7 comments
Closed

power of pi #3131

sympy-issue-migrator opened this issue Mar 10, 2007 · 7 comments

Comments

@sympy-issue-migrator
Copy link

Bug of power:

In [1]: x = pi**-1

In [2]: x.evalf()

In [3]: a = x.evalf()

In [4]: a

In [5]: type(a)
Out[5]: <type 'NoneType'>

Original issue for #3131: http://code.google.com/p/sympy/issues/detail?id=32

Original author: https://code.google.com/u/103948515893177094863/

Original owner: https://code.google.com/u/103948515893177094863/

@sympy-issue-migrator
Copy link
Author

must be a bug in power, for example: 

a = Pow(Real(2), Real(4))

also returns a NoneType

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c1

Original author: https://code.google.com/u/103948515893177094863/

@sympy-issue-migrator
Copy link
Author

solved. It was a recursion issue.

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c2

Original author: https://code.google.com/u/103948515893177094863/

@sympy-issue-migrator
Copy link
Author

no, it is not solved

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c3

Original author: https://code.google.com/u/103948515893177094863/

@sympy-issue-migrator
Copy link
Author

**Status:** Started  

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c4

Original author: https://code.google.com/u/103948515893177094863/

@certik
Copy link
Member

certik commented Mar 9, 2007

Right. The Real class is not very much tested. There are probably more bugs like
this. If you need some help, just ask.

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c5

Original author: https://code.google.com/u/104039945248245758823/

@certik
Copy link
Member

certik commented Mar 9, 2007

Just be sure to write a test for each bug you discover, so that when we fix it, it
won't ever happen again.

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c6

Original author: https://code.google.com/u/104039945248245758823/

@sympy-issue-migrator
Copy link
Author

fixed in svn

**Status:** Fixed  

Original comment: http://code.google.com/p/sympy/issues/detail?id=32#c7

Original author: https://code.google.com/u/103948515893177094863/

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@certik @sympy-issue-migrator and others