Skip to content

Integer overflow when parsing atom count in molecular formula #733

@oatkachenko

Description

@oatkachenko

If molecular formula has huge amount of atoms then parser calculates it improperly.

Molecular formula: H4294967296
AR: 0 atoms
ER: 1 atom

Molecular formula: H4294967298
AR: 2 atoms
ER: 1 atom

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