Symbolics.jl icon indicating copy to clipboard operation
Symbolics.jl copied to clipboard

a/2 reducing to 0.5a is surprising

Open dlfivefifty opened this issue 6 years ago • 1 comments

I would expect it to symbolically represent rationals.

dlfivefifty avatar Jul 18 '19 12:07 dlfivefifty

Hmm. That’s a good point. One thing I was thinking is that if one wants rationals they can just use // but that is a bit uglier syntactically and I’d have to make a new Rational type that works with SymExprs anyways, so maybe it’s best to just default to a symbolic rational.

As you can see, I haven’t worked on this package in many moons, but I’m planning to dive back in soon with some major overhauls, so I’ll add this to my list.

MasonProtter avatar Jul 18 '19 15:07 MasonProtter