Closed danieka closed 2 months ago
This is interesting. Could you provide the version of the MongoDB? The only different is, that the sign bit is set to 1.
Thank you!
@zookzook We use MongoDB 7.3.3 Enterprise, but this could also be related to the library we use for writing to Mongo, but I don't know what we use there.
When running against our Mongo instance we got the following error:
Turns out that, at least for our Mongo installation, this case is used for NaN. I have validated that the value is NaN in Mongo Compass and adding this case results in the document being deserialised to the same values as in Compass.