AMQP decimal types. More...
#include "./byte_array.hpp"
#include "./internal/export.hpp"
#include "./internal/comparable.hpp"
#include <iosfwd>
Go to the source code of this file.
Classes | |
class | decimal32 |
A 32-bit decimal floating-point value. More... | |
class | decimal64 |
A 64-bit decimal floating-point value. More... | |
class | decimal128 |
A 128-bit decimal floating-point value. More... | |
Namespaces | |
proton | |
The main Proton namespace. | |
Functions | |
std::ostream & | operator<< (std::ostream &, const decimal32 &) |
Print a 32-bit decimal value. | |
std::ostream & | operator<< (std::ostream &, const decimal64 &) |
Print a 64-bit decimal value. | |
std::ostream & | operator<< (std::ostream &, const decimal128 &) |
Print a 128-bit decimal value. | |
AMQP decimal types.
AMQP uses the standard IEEE 754-2008 encoding for decimal types.
This library does not provide support for decimal arithmetic, but it does provide access to the byte representation of decimal values. You can pass these values uninterpreted via AMQP, or you can use a library that supports IEEE 754-2008 and make a byte-wise copy between the real decimal values and proton::decimal
values.