JuliaPy / SymPy.jl

Julia interface to SymPy via PyCall
http://juliapy.github.io/SymPy.jl/
MIT License
269 stars 61 forks source link

balance between divrem, div, rem, and StepRange #430

Closed jverzani closed 3 years ago

jverzani commented 3 years ago

divrem was falling back to div and rem. However, div and rem are kinda odd, as they are defined as to make Sym(-2):Sym(2):Sym(2) type constructs work. So this breaks the contract (ugh) and defines divrem through sympy.div and leaves the definitions for div and rem.