Closed Bug 1954066 Opened 1 year ago Closed 1 year ago

Addition and subtraction calculations are incorrect when dealing with long numbers

Categories

(Firefox :: Address Bar, defect, P1)

Firefox 137
Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox136 --- unaffected
firefox137 + verified
firefox138 --- verified

People

(Reporter: dlucaci, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sng])

Attachments

(1 file)

Found in

  • Beta 137.0b5

Affected versions

  • Nightly 138.0a1
  • Beta 137.0b5

Affected platforms

  • Windows 10
  • macOS 14
  • Ubuntu 22

Preconditions

  • browser.urlbar.suggest.calculator is set to true

Steps to reproduce

  1. Type in "1000000000 + 2" into url bar.
  2. Observe the calculator result in the dropdown.

Expected result

  • Calculator result is "1000000002"

Actual result

  • Calculator result is "1000000000"

Regression range

  • Not a regression.
Severity: -- → S3
Priority: -- → P1
Whiteboard: [sng]

The bug is marked as tracked for firefox137 (beta). We have limited time to fix this, the soft freeze is in 9 days. However, the bug still isn't assigned and has low severity.

:cbellini, could you please find an assignee and increase the severity for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.

For more information, please visit BugBot documentation.

Flags: needinfo?(cbellini)

Tracking for 137, I don't think we should ship the feature with this bug.

1953073 is to be uplifted to 137 beta, which will fix this issue

As per Comment 7, the issue related to incorrect addition and subtraction calculations with long numbers has been resolved by the fix in Bug 1953073.

I have verified this fix and confirmed that the calculations are now correct. Therefore, I am closing this bug as Verified Fixed.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Flags: needinfo?(cbellini)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: