Skip to content

The double.json corpus element is not in uppercase #1778

@CLOVIS-AI

Description

@CLOVIS-AI

The BSON corpus specification says:

canonical_bson: an (uppercase) big-endian hex representation of a BSON byte string. Be sure to mangle the case as appropriate in any roundtrip tests.

However, the double.json example contains examples where the canonical BSON representation isn't in uppercase:

  • 1.2345678921232E+18 → 100000000164002a1bf5f41022b14300
  • -1.2345678921232E+18 → 100000000164002a1bf5f41022b1c300

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions