Skip to content
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

Add auto-distribution #52

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

diluculo
Copy link
Contributor

This is applied only for -1 or minus. e.g. -(a + b) => -a - b
Please refer to the discussion in #44.

@diluculo diluculo changed the title Add Auto-distribution Add auto-distribution Nov 23, 2017
@diluculo
Copy link
Contributor Author

diluculo commented Nov 24, 2017

This PR can give us fully strange answers. e.g. -(a + b)**2 ==> "(-a - b)^2". Please see #53.

When in doubt, use parentheses. e.g. -((a + b)**2)

@FoggyFinder
Copy link
Contributor

It is really odd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants