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

53 create operation modules #75

Merged
merged 47 commits into from
Jul 15, 2022
Merged

53 create operation modules #75

merged 47 commits into from
Jul 15, 2022

Conversation

LovetheFrogs
Copy link
Owner

No description provided.

Implemented class as a child class of adder, as it has the same functionality, with the difference of having the B input negated
Calculate output is now protected so subtractor class can use it
set_B method overriden so that input b will be not(value)
Subtractor is now its own class, used only for pure-binary, unless input converted to two's complement.
TEST TO BE EXECUTED!!
Fixed __calculate_output method

- Shifter can now shift left or right
- User can choose the number of positions to shift
Added dir atribute, used to select the direction the shhifter will shift it's contents
@LovetheFrogs LovetheFrogs added enhancement New feature or request test This issue is related to tests of a library module exceptions This issue is related to exxceptions of a package labels Jul 15, 2022
@LovetheFrogs LovetheFrogs added this to the Operators milestone Jul 15, 2022
@LovetheFrogs LovetheFrogs self-assigned this Jul 15, 2022
@LovetheFrogs LovetheFrogs linked an issue Jul 15, 2022 that may be closed by this pull request
6 tasks
@LovetheFrogs LovetheFrogs merged commit 3b2fe99 into main Jul 15, 2022
@LovetheFrogs LovetheFrogs deleted the 53-create-operation-modules branch July 17, 2022 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request exceptions This issue is related to exxceptions of a package test This issue is related to tests of a library module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create operation modules
1 participant