MongoDB C++ Driver
mongocxx-3.7.0
|
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) {}
81 BSONCXX_INLINE uint64_t
high()
const {
88 BSONCXX_INLINE uint64_t
low()
const {
97 BSONCXX_INLINE_NAMESPACE_END
100 #include <bsoncxx/config/postlude.hpp>
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
uint64_t high() const
Accessor for high 64 bits.
Definition: decimal128.hpp:81
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
uint64_t low() const
Accessor for low 64 bits.
Definition: decimal128.hpp:88
Represents an IEEE 754-2008 BSON Decimal128 value in a platform-independent way.
Definition: decimal128.hpp:30
std::string to_string(type rhs)
Returns a stringification of the given type.