Skip to content

Support more characters for initializing a BigInt from a string #52

Closed
@konsumlamm

Description

@konsumlamm

Analogous to - for negative numbers, we could also support a leading +, which would be ignored. Another thing that would be nice is supporting _ (which also get ignored), akin to normal int literals:

let a = initBigInt("+10_000_000_000")

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