Trying to serialize a floating point infinity or NaN value (like double.Infinity or Decimal128.qNaN) with an integral representaiton (like BsonType.Int64) will now throw an OverflowException.
Same when trying to deserialize an infinity or NaN value.
Trying to serialize a floating point infinity or NaN value (like double.Infinity or Decimal128.qNaN) with an integral representaiton (like BsonType.Int64) will now throw an OverflowException.
Same when trying to deserialize an infinity or NaN value.