20 #include <bsoncxx/stdx/string_view.hpp>
22 #include <bsoncxx/config/prelude.hpp>
25 BSONCXX_INLINE_NAMESPACE_BEGIN
45 decimal128(uint64_t high, uint64_t low) noexcept : _high(high), _low(low) {
64 std::string to_string()
const;
82 BSONCXX_INLINE uint64_t
high()
const {
89 BSONCXX_INLINE uint64_t
low()
const {
98 BSONCXX_INLINE_NAMESPACE_END
101 #include <bsoncxx/config/postlude.hpp>
Represents an IEEE 754-2008 BSON Decimal128 value in a platform-independent way.
Definition: decimal128.hpp:30
uint64_t high() const
Accessor for high 64 bits.
Definition: decimal128.hpp:82
decimal128(uint64_t high, uint64_t low) noexcept
Constructs a BSON Decimal128 from high and low 64-bit big-endian parts.
Definition: decimal128.hpp:45
Definition: element.hpp:24
uint64_t low() const
Accessor for low 64 bits.
Definition: decimal128.hpp:89