Skip to content

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

Closed
@huonw

Description

@huonw

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions