Skip to content

Error parsing string with useNativeBigInt mode #88

@hdoan741

Description

@hdoan741

It seems the parser is incorrect when parsing fractional number:

> jsbi({useNativeBigInt: true}).parse('-0.3333333333333333')
Uncaught SyntaxError: Cannot convert -0.3333333333333333 to a BigInt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions