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

TP Baptiste SABY #34

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

TP Baptiste SABY #34

wants to merge 16 commits into from

Conversation

Awwatts
Copy link

@Awwatts Awwatts commented Sep 28, 2022

No description provided.

rgt-yncrea and others added 16 commits September 19, 2022 14:19
Function that convert a positive decimal int to
binary, represented as list of 0s and 1s
Function that converts a array of 0s and 1s to an int
Uses bitshift that are faster to compute than powers / divisions
Adds documentation to the conversion functions
raise an Exception if the input is negative for decimal to bin
conversion
Check bin to dec converter inputs. Raise error if some entries are not 0
or 1s
Check if inputs is made of bits only in a separate function
Decimal binary converter merge to dev
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.

2 participants