BigInt icon indicating copy to clipboard operation
BigInt copied to clipboard

Bitwise left-shift and right-shift operators

Open harish-vnkt opened this issue 5 years ago • 0 comments

First open-source contribution here. :smiley: 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.

harish-vnkt avatar Nov 20 '20 07:11 harish-vnkt