#include <decimal.hpp>
◆ decimal() [1/3]
| sw::universal::support::decimal::decimal |
( |
| ) |
|
|
inline |
◆ decimal() [2/3]
| sw::universal::support::decimal::decimal |
( |
const decimal & | | ) |
|
|
default |
◆ decimal() [3/3]
| sw::universal::support::decimal::decimal |
( |
decimal && | | ) |
|
|
default |
◆ isneg()
| bool sw::universal::support::decimal::isneg |
( |
| ) |
const |
|
inline |
◆ ispos()
| bool sw::universal::support::decimal::ispos |
( |
| ) |
const |
|
inline |
◆ iszero()
| bool sw::universal::support::decimal::iszero |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
| decimal & sw::universal::support::decimal::operator= |
( |
const decimal & | | ) |
|
|
default |
◆ operator=() [2/2]
◆ powerOf2()
| void sw::universal::support::decimal::powerOf2 |
( |
const size_t | exponent | ) |
|
|
inline |
◆ setdigit()
| void sw::universal::support::decimal::setdigit |
( |
const uint8_t | d, |
|
|
bool | negative = false ) |
|
inline |
◆ setneg()
| void sw::universal::support::decimal::setneg |
( |
| ) |
|
|
inline |
◆ setpos()
| void sw::universal::support::decimal::setpos |
( |
| ) |
|
|
inline |
◆ setsign()
| void sw::universal::support::decimal::setsign |
( |
bool | sign | ) |
|
|
inline |
◆ setvalue()
| void sw::universal::support::decimal::setvalue |
( |
long long | v | ) |
|
|
inline |
◆ setzero()
| void sw::universal::support::decimal::setzero |
( |
| ) |
|
|
inline |
◆ shiftLeft()
| void sw::universal::support::decimal::shiftLeft |
( |
size_t | orders | ) |
|
|
inline |
◆ shiftRight()
| void sw::universal::support::decimal::shiftRight |
( |
size_t | orders | ) |
|
|
inline |
◆ sign()
| bool sw::universal::support::decimal::sign |
( |
| ) |
const |
|
inline |
◆ unpad()
| void sw::universal::support::decimal::unpad |
( |
| ) |
|
|
inline |
◆ operator<<
| std::ostream & operator<< |
( |
std::ostream & | ostr, |
|
|
const decimal & | d ) |
|
friend |
The documentation for this class was generated from the following file:
- /home/runner/work/universal/universal/include/sw/universal/number/support/decimal.hpp