Wire Sysio Wire Sysion 1.0.0
|
#include <real128.hpp>
Public Member Functions | |
real128 (uint64_t integer=0) | |
real128 (const std::string &str) | |
operator std::string () const | |
real128 & | operator+= (const real128 &o) |
real128 & | operator-= (const real128 &o) |
real128 & | operator/= (const real128 &o) |
real128 & | operator*= (const real128 &o) |
uint64_t | to_uint64 () const |
Static Public Member Functions | |
static real128 | from_fixed (const uint128 &fixed) |
Friends | |
real128 | operator* (real128 a, const real128 &b) |
real128 | operator/ (real128 a, const real128 &b) |
real128 | operator+ (real128 a, const real128 &b) |
real128 | operator- (real128 a, const real128 &b) |
Provides fixed point math operations based on decimal fractions with 18 places. Delegates to fc::bigint for multiplication and division.
Definition at line 14 of file real128.hpp.
fc::real128::real128 | ( | uint64_t | integer = 0 | ) |
Definition at line 14 of file real128.cpp.
|
explicit |
Definition at line 53 of file real128.cpp.
Definition at line 114 of file real128.cpp.
fc::real128::operator std::string | ( | ) | const |
Definition at line 100 of file real128.cpp.
Definition at line 42 of file real128.cpp.
Definition at line 18 of file real128.cpp.
Definition at line 23 of file real128.cpp.
Definition at line 29 of file real128.cpp.
uint64_t fc::real128::to_uint64 | ( | ) | const |
Definition at line 9 of file real128.cpp.
Definition at line 21 of file real128.hpp.
Definition at line 23 of file real128.hpp.
Definition at line 24 of file real128.hpp.
Definition at line 22 of file real128.hpp.