| 
    MongoDB C++ Driver mongocxx-4.0.0
    
   | 
 
#include <bsoncxx/v_noabi/bsoncxx/decimal128.hpp>
Represents an IEEE 754-2008 BSON Decimal128 value in a platform-independent way.
Public Member Functions | |
| decimal128 ()=default | |
| Constructs a BSON Decimal128 value representing zero.   | |
| decimal128 (stdx::string_view str) | |
| Constructs a BSON Decimal128 from a string.   | |
| decimal128 (uint64_t high, uint64_t low) noexcept | |
| Constructs a BSON Decimal128 from high and low 64-bit big-endian parts.   | |
| uint64_t | high () const | 
| Accessor for high 64 bits.   | |
| uint64_t | low () const | 
| Accessor for low 64 bits.   | |
| std::string | to_string () const | 
| Converts this decimal128 value to a string representation.   | |
Related Symbols | |
(Note that these are not member symbols.)  | |
| bool | operator== (const decimal128 &lhs, const decimal128 &rhs) | 
| Relational operators for decimal128.   | |
| bool | operator!= (const decimal128 &lhs, const decimal128 &rhs) | 
| Relational operators for decimal128.   | |
      
  | 
  default | 
Constructs a BSON Decimal128 value representing zero.
      
  | 
  inlinenoexcept | 
Constructs a BSON Decimal128 from high and low 64-bit big-endian parts.
| high | The high 64-bits. | 
| low | The low 64-bits. | 
      
  | 
  explicit | 
Constructs a BSON Decimal128 from a string.
| str | A string representation of a decimal number. | 
| bsoncxx::v_noabi::exception | if the string isn't a valid BSON Decimal128 representation. | 
      
  | 
  inline | 
Accessor for high 64 bits.
      
  | 
  inline | 
Accessor for low 64 bits.
| std::string bsoncxx::v_noabi::decimal128::to_string | ( | ) | const | 
Converts this decimal128 value to a string representation.
      
  | 
  friend | 
Relational operators for decimal128.
      
  | 
  friend | 
Relational operators for decimal128.