Uploaded image for project: 'Drivers'
  1. Drivers
  2. DRIVERS-792

Reduce floating point precision required of extended json implementations

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 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 Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: