Skip to content

minus a negative number isn't interpreted correctly in scientific mode #294

@TimLovellSmith

Description

@TimLovellSmith

Describe the bug
Calculator computes sums such as (4 - -4) incorrectly in scientific mode [where I expect it to understand complex sums properly]

Steps To Reproduce

  1. Set scientific mode
  2. Type (4 - -4) into notepad copy-paste it into calculator.

Expected behavior
Calculator shows that it parsed (4 - -4) as (4 + 4) or other equivalent e.g. (4 - (-4)), (4 - (0 - 4))` etc.

Actual behavior
Calculator shows that it parsed (4 - -4) as (4 - 4) which we all know is not mathematically the same!

Device and Application Information (please complete the following information):

  • OS Build: 18342.8
  • Architecture: x64
  • Application Version: 10.1812.10048.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: User ExperienceIssue primarily affects end user experience and are not covered by other areasPri: 2fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions