Incompatible string conversion of floating point numbers in between different Windows builds

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.3.12
    • Component/s: None
    • None
    • ALL
    • Sharding 2016-10-10
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It looks like 40000/12 when converted to string in v3.2 results to "3333.333333333334" while in master results to "3333.333333333333". This causes some issues in sharding because the _id of config.chunks contains the string representation of the min value of that chunk.

        1. fp_error.js
          0.9 kB
          Randolph Tan

            Assignee:
            Randolph Tan
            Reporter:
            Randolph Tan
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: