File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,13 @@ Synopsis
29
29
Description
30
30
-----------
31
31
32
- The :symbol: `bson_decimal128_t ` structure
33
- represents the IEEE-754 Decimal128 data type.
32
+ The :symbol: `bson_decimal128_t ` structure represents the IEEE-754 Decimal128
33
+ data type. The type ``bson_decimal128_t `` is an aggregate that contains two
34
+ ``uint64_t ``\ s, named ``high `` and ``low ``. The declaration and layout order
35
+ between them depends on the endian order of the target platform: ``low `` will
36
+ always correspond to the low-order bits of the Decimal128 object, while ``high ``
37
+ corresponds to the high-order bits. The ``bson_decimal128_t `` always has a size
38
+ of sixteen (``16 ``), and can be bit-cast to/from a ``_Decimal128 ``.
34
39
35
40
.. only :: html
36
41
Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ Synopsis
62
62
uint32_t len;
63
63
char *symbol;
64
64
} v_symbol;
65
+ bson_decimal128_t v_decimal128;
65
66
} value;
66
67
} bson_value_t;
67
68
You can’t perform that action at this time.
0 commit comments