Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1336

Define constants for special strings returned by bson_decimal128_to_string()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • libbson

    Description

      bson_decimal128_to_string() may return the special strings "Infinity" or "NaN". These values should be exposed as constants so have a known value to compare. Likewise, drivers using libbson can depend on these constants for exposing their own constants.

      Attachments

        Issue Links

          Activity

            People

              bjori Hannes Magnusson
              jmikola@mongodb.com Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: