Skip to content

compareNatural does not support bigint #3631

@gwhitney

Description

@gwhitney

Describe the bug
compareNatural purports to accept all types that mathjs supports, but it does not handle bigints

To Reproduce
math.compareNatural(3n, 10n) throws 'TypeError: Unsupported type of value "bigint"'

Metadata

Metadata

Assignees

No one assigned

    Labels

    buggood first issueRelatively localized/straightforward changes that would provide a good introduction to mathjs codehelp wanted

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions