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

`Mod(zoo, 0)` causes RunTime Error #9545

Closed
gxyd opened this Issue Jun 18, 2015 · 1 comment

Comments

Projects
None yet
1 participant
@gxyd
Copy link
Member

gxyd commented Jun 18, 2015

>>> Mod(zoo, 0)
Run-TimeError
>>> Mod(zoo, 5)
Mod(zoo, 5)      # Returned as it is instead of nan
>>> Mod(oo, oo)
0                      # instead of nan

gxyd pushed a commit to gxyd/sympy that referenced this issue Jun 19, 2015

gxyd pushed a commit to gxyd/sympy that referenced this issue Jun 20, 2015

Gaurav Dhingra
Mod(zoo, 0) now returns `nan` and fixed one typo
Mod(n, 5) returns `nan` for all infinite `n` fixes issue sympy#9545

Changes made

richardotis added a commit to richardotis/sympy that referenced this issue Jul 12, 2015

Mod(zoo, 0) now returns `nan` and fixed one typo
Mod(n, 5) returns `nan` for all infinite `n` fixes issue sympy#9545

Changes made
@gxyd

This comment has been minimized.

Copy link
Member

gxyd commented Jul 17, 2015

Fixed by #9546

@gxyd gxyd closed this Jul 17, 2015

skirpichev added a commit to diofant/diofant that referenced this issue Sep 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment