nicolewhite / algebra.js

Build, display, and solve algebraic equations.
http://algebra.js.org
MIT License
1.34k stars 111 forks source link

Support for negative exponent of fractions #79

Closed Benjadahl closed 7 years ago

Benjadahl commented 7 years ago

Using the rule that: (1/2)^(-2) = (2^2)/(1^2) We are able to calculate negative exponents of fractions.

No issue has mentioned this, however I thought the change was so small, that it did not need one.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 98.345% when pulling d07c7003ec97ceef17f6c5ae127ec0cac44c4913 on Benjadahl:fractionsNegativeExponents into cc0f735f990ea9928d850785c040ad72b6defda0 on nicolewhite:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 98.345% when pulling f4e46e269d00613dc6b7eb8b1cc9febaa7c4fe47 on Benjadahl:fractionsNegativeExponents into cc0f735f990ea9928d850785c040ad72b6defda0 on nicolewhite:master.

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.01%) to 98.079% when pulling fc943d6f29a9335a8aedffb4366794afa5f60993 on Benjadahl:fractionsNegativeExponents into 40c1de6a7b99ba0ea807177a3dc520073c7a215f on nicolewhite:master.

nicolewhite commented 7 years ago

Thank you!!!