-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
Area: User ExperienceIssue primarily affects end user experience and are not covered by other areasIssue primarily affects end user experience and are not covered by other areasBugIssue is a bugIssue is a bugPri: 2triage approvedIssue has been approved by Calculator team memberIssue has been approved by Calculator team member
Description
Describe the bug
√(2.25) is 1.5 and the result shown is correct. However, subtracting 1.5 from that shows an incorrect result such as -2.1115953280960553738983525708397e-38.
This bug happens in all equivalent cases, e.g. with √(0.81) or any other square root that is a terminating decimal.
Steps To Reproduce
- Use standard or scientific mode
- Enter 2.25
- Press √
- Subtract 1.5
- Result is wrong
Expected behavior
Result is 0
Device and Application Information (please complete the following information):
- OS Build: 10 0 17763 0
- Architecture: X64
- Application Version: 10.1812.10048.0
Additional info
Until recently, it also used to be that "√(4) - 2" didn't result in 0. It was fixed in the UWP app, but is a bug in calc.exe in older versions of Windows.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: User ExperienceIssue primarily affects end user experience and are not covered by other areasIssue primarily affects end user experience and are not covered by other areasBugIssue is a bugIssue is a bugPri: 2triage approvedIssue has been approved by Calculator team memberIssue has been approved by Calculator team member