There are some cases where SBE produces results that don't agree with the classic engine when performing comparisons between 64-bit integers and doubles.
Here is an example of a query that produces different results under SBE vs. the classic engine:
> db.c.insert({a: 9007199254740992}) > db.c.find({a: NumberLong("9007199254740993")})
Under SBE, (assuming there is no index on field "a") the query above will return 1 document. Under the classic engine the query above will return 0 documents.
The goal of this task is to fix this inconsistency so that SBE and classic engine produce the same results when performing comparisons between 64-bit integers and doubles.