davidedc / Algebrite

Computer Algebra System in Javascript (Typescript)
http://algebrite.org
MIT License
955 stars 59 forks source link

power precedence in printlatex #143

Open csbenjamin opened 3 years ago

csbenjamin commented 3 years ago

Hi! First of all, this is an amazing library. Thanks for your work.

I'm here to report a possible issue. When I run printlatex((a*b)^(2/3)) I should get \sqrt[3]{a^2b^2} or \sqrt[3]{(ab)^2} but I get \sqrt[3]{ab^2}. Is this an issue or am I missing something?