Skip to content

Bitwise left-shift and right-shift operators#61

Open
harish-vnkt wants to merge 2 commits intofaheel:masterfrom
harish-vnkt:bitwise
Open

Bitwise left-shift and right-shift operators#61
harish-vnkt wants to merge 2 commits intofaheel:masterfrom
harish-vnkt:bitwise

Conversation

@harish-vnkt
Copy link

First open-source contribution here. 😃
I started on bitwise left-shift and right-shift operators as suggested in #60. Have tried to follow the code conventions from across the repository. Do let me know if I could make it better.

Note: I have implemented the shifting without explicitely converting BigInt to binary. Conversion cannot be avoided for other binary operators, though, so need to convert and store once during initialization and once after any binary operation.

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.

1 participant