Research floating-point parsing and formatting improvements in .NET Core 3.0

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      We need to research rounding changes in `NET Core 3.0` described in this article: https://devblogs.microsoft.com/dotnet/floating-point-parsing-and-formatting-improvements-in-net-core-3-0/

      These changes led to failed tests like here https://github.com/mongodb/mongo-csharp-driver/blob/master/tests/MongoDB.Bson.Tests/Serialization/Serializers/NetPrimitiveSerializerTests.cs#L1135 (that are currently disabled for NET Core 3.0)

            Assignee:
            Boris Dogadov
            Reporter:
            Dmitry Lukyanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: