Skip to content

Documentation of BigInt constructors doesn't mention digits are interpreted in base 2^32 #14639

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

Closed
huonw opened this issue Jun 4, 2014 · 0 comments · Fixed by #14668
Closed

Comments

@huonw
Copy link
Member

huonw commented Jun 4, 2014

E.g. BigInt::new(Plus, vec![1, 2, 3, 4]) gives 316912650112397582603894390785, not 1234 as one might expect on first thought.

bors added a commit that referenced this issue Jun 6, 2014
mcpherrinm pushed a commit to mcpherrinm/rust that referenced this issue Jun 10, 2014
bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
Fix some typos in `StructFlags`

And a question: what is the benefit of storing things like `IS_BOX` in struct flags over using `lang_attr`?
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 a pull request may close this issue.

1 participant