4#define FC_REAL128_PRECISION (uint64_t(1000000) * uint64_t(1000000) * uint64_t(1000000))
18 explicit real128(
const std::string& str );
19 operator std::string()
const;
39 void to_variant(
const real128& var, variant& vo );
44 template<
typename Stream>
45 inline void pack(
Stream&
s,
const real128& value_to_pack ) {
s.write( (
char*)&value_to_pack,
sizeof(value_to_pack) ); }
46 template<
typename Stream>
47 inline void unpack(
Stream&
s,
real128& value_to_unpack ) {
s.read( (
char*)&value_to_unpack,
sizeof(value_to_unpack) ); }
real128(uint64_t integer=0)
friend real128 operator/(real128 a, const real128 &b)
real128 & operator*=(const real128 &o)
real128 & operator+=(const real128 &o)
friend real128 operator-(real128 a, const real128 &b)
real128 & operator-=(const real128 &o)
real128 & operator/=(const real128 &o)
static real128 from_fixed(const uint128 &fixed)
friend real128 operator+(real128 a, const real128 &b)
uint64_t to_uint64() const
friend real128 operator*(real128 a, const real128 &b)
an implementation of 128 bit unsigned integer
Concept for reading and writing characters.
void unpack(Stream &s, std::deque< T > &value)
void pack(Stream &s, const std::deque< T > &value)
void from_variant(const fc::variant &v, sysio::chain::chain_id_type &cid)
void to_variant(const sysio::chain::shared_public_key &var, fc::variant &vo)
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
unsigned __int64 uint64_t