[SERVER-10965] Would like Min/Max value constants for NumberInt() and NumberLong() Created: 30/Sep/13  Updated: 05/May/17  Resolved: 05/May/17

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 2.4.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Alvin Richards (Inactive) Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Won't Fix Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-8744 NumberInt overflow handling is differ... Closed
Participants:

 Description   

Problem:
Number in JavaScript defines

  • MIN_VALUE
  • MAX_VALUE

The implementation of NumberInt and NumberLong do not provide these values.



 Comments   
Comment by Justin Cohler [ 05/May/17 ]

We believe we've solved the associated SERVER ticket by doing bounds checks in our conversion code. We don't intend on additional js testing for this functionality. Closing this as Won't Fix.

Generated at Thu Feb 08 03:24:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.