Will we have a powerful and quick enough simplifier to avoid equating small numbers to 0?

Open
#1,376 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Active
Tech stack
csharp
Domain
tooling

Research direction

Start by reproducing eval "2 + 2^(-100) = 2" and reading the numerical evaluation and simplification paths. Done means the expression reports false without losing the runtime benefits of numerical evaluation or changing the handling of real numbers unexpectedly.

Written by the indexing model from the issue text.

Description

Proposal

eval "2 + 2^(-100) = 2" being True is just not correct. However, numerical evaluation gets us runtime speed at the expense of accuracy. Will we have a powerful and quick enough simplifier to report false correctly for numbers this close? Will this affect how we process real numbers?

Dominant language
C#
Stars
832
Forks
79
Avg merge
3h 11m
Merged PRs (30d)
357

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from asc-community/AngouriMath

All issues in asc-community/AngouriMath

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.