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

Define constants for special strings returned by bson_decimal128_to_string()

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.5.0
    • Affects Version/s: 1.4.0
    • Component/s: libbson

      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.

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

              Created:
              Updated:
              Resolved: