44 template<
class MantissaType,
class ExponentType>
48 MantissaType mantissa_;
87 : mantissa_(other.mantissa_)
91#if defined(ONIXS_LSE_GTP_COMPILER_CXX_RVALUE_REFERENCES) && ONIXS_LSE_GTP_COMPILER_CXX_RVALUE_REFERENCES
95 : mantissa_(std::move(other.mantissa_))
101 FixedPointDecimal&& other)
107 mantissa_ = std::move(other.mantissa_);
131 mantissa_ = other.mantissa_;
138 template<
class Mantissa,
class Exponent>
147 template <
class Mantissa,
class Exponent>
156 template<
class Mantissa,
class Exponent>
165 template<
class Mantissa,
class Exponent>
174 template<
class Mantissa,
class Exponent>
183 template<
class Mantissa,
class Exponent>
196 template <
class Mantissa,
class Exponent>
203 template<
class Mantissa,
class Exponent>
214 template<
class Mantissa,
class Exponent>
217 return stream <<
toStr(number);
#define ONIXS_LSE_GTP_NOTHROW
FixedPointDecimal(const FixedPointDecimal &other) ONIXS_LSE_GTP_NOTHROW
Initializes instance as copy of the other one.
ExponentType Exponent
Aliases exponent component type.
FixedPointDecimal(Mantissa mantissa) ONIXS_LSE_GTP_NOTHROW
Explicitly initializes instance from its mantissa value.
Exponent exponent() const ONIXS_LSE_GTP_NOTHROW
Returns exponent of given decimal.
MantissaType Mantissa
Aliases mantissa component type.
Mantissa mantissa() const ONIXS_LSE_GTP_NOTHROW
FixedPointDecimal() ONIXS_LSE_GTP_NOTHROW
Default (zero) initialization.
bool operator==(const TimeSpan &left, const TimeSpan &right)
Compares with other instance for equality.
bool operator>=(const Timestamp &left, const Timestamp &right)
Establishes order between two instances.
bool operator>(const TimeSpan &left, const TimeSpan &right)
Checks whether left time interval greater than right one.
bool operator<=(const Timestamp &left, const Timestamp &right)
Establishes order between two instances.
ONIXS_LSE_GTP_API void decimalToStr(std::string &, Int64, Int32)
bool operator<(const TimeSpan &left, const TimeSpan &right)
Checks whether left time interval less than right one.
ONIXS_LSE_GTP_API std::ostream & operator<<(std::ostream &stream, const ServiceDescriptor &descriptor)
ONIXS_LSE_GTP_API void toStr(std::string &, EventCode::Enum)
Appends string presentation of object.
bool operator!=(const TimeSpan &left, const TimeSpan &right)
Compares with other instance for in-equality.