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

operator* and operator*= #23

Open
huyuguang opened this issue Dec 13, 2017 · 2 comments
Open

operator* and operator*= #23

huyuguang opened this issue Dec 13, 2017 · 2 comments

Comments

@huyuguang
Copy link

the current code is:

    //Multiplication
    Bigint operator*(Bigint const &);
    Bigint &operator*=(Bigint const &);
    Bigint operator*(long long const &);
    Bigint &operator*=(int const &);

why not be "Bigint &operator*=(long long const &);" ?

@kasparsklavins
Copy link
Owner

Should be safe to change to long long.

@g19fanatic
Copy link

@kasparsklavins do you want pull requests with these types of changes or will you eventually add them yourself?

g19fanatic pushed a commit to g19fanatic/bigint that referenced this issue Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants