Giter VIP home page Giter VIP logo

Comments (12)

aniketh-varma avatar aniketh-varma commented on July 16, 2024 1

Is the issue still relevant ? @faheel

from bigint.

faheel avatar faheel commented on July 16, 2024

Sure! It would be nice to have bitwise operators.

from bigint.

muytingc avatar muytingc commented on July 16, 2024

I'd be interested in working on working on this issue. This would be my first contribution to an open-sourced project, so I'm not sure if there's a formal way to get assigned to it (the contribution guidelines seemed like just to leaving a note in the issue was enough), but I didn't see anyone else assigned to it so I thought I'd throw my hat in the ring.

from bigint.

faheel avatar faheel commented on July 16, 2024

@muytingc Sure, you can work on it! There's no need to be assigned to an issue - if you don't find an open pull request (PR) for an issue then you can submit a PR with your code (the PR doesn't even need to have all of the functionality in the beginning). Then in the PR comments and code review you can clear your doubts, if any, and we can iron out the finer details of the implementation.

from bigint.

harish-vnkt avatar harish-vnkt commented on July 16, 2024

Hi @faheel, first-time contributor here. I have implemented the left-shift and right-shift operations so far. Can I open a pull request for them or will it conflict with @muytingc's work?

from bigint.

faheel avatar faheel commented on July 16, 2024

@harish-vnkt Since there's no PR currently for this issue you can feel free to create one.

from bigint.

arenbecl avatar arenbecl commented on July 16, 2024

@faheel When implementing bitwise NOT, would it be more useful to assume that the binary representation of the BigInt stops at the highest 1 bit, or add additional 0 bits up to the nearest power of 2?

from bigint.

Priyanshi-Chauhan avatar Priyanshi-Chauhan commented on July 16, 2024

Can I make my first contribution in bitwise. I am new to open source!!

from bigint.

cristian-5 avatar cristian-5 commented on July 16, 2024

we need bitwise operations

from bigint.

faheel avatar faheel commented on July 16, 2024

Sorry for the late reply. #63 is a high-quality PR by @arenbecl that adds almost all bitwise operators, but is missing test cases. If anyone is interested in contributing they can add test cases by creating a fork of https://github.com/arenbecl/BigInt/tree/bitwise-assignment-operators and sending another PR.

from bigint.

GNL10 avatar GNL10 commented on July 16, 2024

Hi, @faheel I created a PR with the tests for this issue. There is something which must be discussed, though, please see the comments in the PR.

from bigint.

ZuoFuhong avatar ZuoFuhong commented on July 16, 2024

I recommend using the gmp library as it is more mature.

from bigint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.