torc-master
|
#include <Value.hpp>
Public Member Functions | |
Number () | |
Number (int32_t inMantissa, int32_t inExponent) | |
~Number () throw () | |
Number (const Number &inSource) | |
Number & | operator= (const Number &inSource) |
bool | operator< (const Number &inRhs) const |
bool | operator== (const Number &inRhs) const |
bool | operator> (const Number &inRhs) const |
bool | operator>= (const Number &inRhs) const |
bool | operator<= (const Number &inRhs) const |
bool | operator!= (const Number &inRhs) const |
const int32_t | getMantissa () const |
void | setMantissa (const int32_t &inSource) |
const int32_t | getExponent () const |
void | setExponent (const int32_t &inSource) |
double | eval () const |
Private Attributes | |
int32_t | mMantissa |
int32_t | mExponent |
Represents a decimal number. This is used to represent decimal floating point numbers in EDIF. This has a exponent and mantissa part.
torc::generic::Value::Number::Number | ( | int32_t | inMantissa, |
int32_t | inExponent | ||
) |
torc::generic::Value::Number::Number | ( | const Number & | inSource | ) |
double torc::generic::Value::Number::eval | ( | ) | const |
|
inline |
|
inline |
bool torc::generic::Value::Number::operator!= | ( | const Number & | inRhs | ) | const |
Definition at line 130 of file Value.cpp.
bool torc::generic::Value::Number::operator< | ( | const Number & | inRhs | ) | const |
bool torc::generic::Value::Number::operator<= | ( | const Number & | inRhs | ) | const |
Value::Number & torc::generic::Value::Number::operator= | ( | const Number & | inSource | ) |
bool torc::generic::Value::Number::operator== | ( | const Number & | inRhs | ) | const |
bool torc::generic::Value::Number::operator> | ( | const Number & | inRhs | ) | const |
bool torc::generic::Value::Number::operator>= | ( | const Number & | inRhs | ) | const |
void torc::generic::Value::Number::setExponent | ( | const int32_t & | inSource | ) |
void torc::generic::Value::Number::setMantissa | ( | const int32_t & | inSource | ) |