[SERVER-64226] Add shell helper to check equality up to a specified number of digits for NumberDecimal Created: 04/Mar/22 Updated: 29/Oct/23 Resolved: 14/Mar/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.0.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Davis Haupt (Inactive) | 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 | ||||||||||||
| Sprint: | QO 2022-03-21 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
NumberDecimals are almost completely opaque in the shell. In order to silence fuzzer errors due to rounding errors like we do for floating points, we should expose a helper function numberDecimalAlmostEqual that can be used by the fuzzer when comparing query results. |
| Comments |
| Comment by Githook User [ 14/Mar/22 ] |
|
Author: {'name': 'Davis Haupt', 'email': 'davis.haupt@mongodb.com', 'username': 'davish'}Message: |