Reduce floating point precision required of extended json implementations

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Component/s: None
    • None

      BSON corpus contains a test which attempts to round-trip the value 1.23456789012345677E+18. This value contains more precision than Ruby and Python interpreters support:

      irb(main):001:0> 1.23456789012345677E+18
      => 1.2345678901234568e+18
      
      >>> 1.23456789012345677E+18
      1.2345678901234568e+18
      

      As a result, Python and Ruby bson implementation need to change this test to use the less precise value.

      shane.harvey

              Assignee:
              Unassigned
              Reporter:
              Oleg Pudeyev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: