Skip to content

Imaginary numbers aren't handled correctly #3

Description

@programmerlexi

The expression e ^ (i * pi) + 2 evaluates to one.
Mathjs provides a round off error alongside of the result (i don't know why).
The bot evaluates the expression to 0.

Even things as simple as i^4, which evaluates to 1 for both my brain and mathjs, don't evaluate correctly for the bot.

Disclaimer: Most information i collected about this bug was collected without proper code analysis and is purely behavior analysis.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions