[SERVER-66784] numberDecimalsAlmostEqual doesn't work for negative numbers Created: 26/May/22 Updated: 29/Oct/23 Resolved: 26/May/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc8, 6.1.0-rc0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Hana Pearlman | Assignee: | Davis Haupt (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v6.0
|
||||||||||||||||
| Sprint: | QO 2022-05-30 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 155 | ||||||||||||||||
| Description |
|
NumberDecimal("-104735446372966662851.0135276410897") and NumberDecimal("-104735446372966750508.0426966190306") should be "almost equal", but they are not. |
| Comments |
| Comment by Githook User [ 26/May/22 ] |
|
Author: {'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}Message: |
| Comment by Githook User [ 26/May/22 ] |
|
Author: {'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}Message: |
| Comment by Davis Haupt (Inactive) [ 26/May/22 ] |
|
Requesting 6.0 backport because fuzzer failures were happening on the 6.0 branch |