Skip to content

Possible issue with the nthRoot() function #490

Description

@sonnyk22

After passing the expressions below to the MathJS.eval() function, I get the exception shown below thrown back.

nthRoot(e ^ -2, e ^ -4):
calc2

nthRoot(-2, 3)
calc3

However, on other calculators such as Microsoft, I do get results back.
calc1
calc4
calc6

Is the expression that I am passing in to the MathJS.eval() function incorrect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions