|
GnuCash c935c2f+
|
These are the standard mutating operators. More...
Modules | |
| Gnc_numeric_comparison | |
| Compare function. | |
Functions | |
| void | GncNumeric::operator+= (GncNumeric b) |
| void | GncNumeric::operator-= (GncNumeric b) |
| void | GncNumeric::operator*= (GncNumeric b) |
| void | GncNumeric::operator/= (GncNumeric b) |
Variables | |
| int64_t | GncNumeric::round_param::num |
| int64_t | GncNumeric::round_param::den |
| int64_t | GncNumeric::round_param::rem |
These are the standard mutating operators.
They use GncRational's operators and then call the GncRational constructor, which will silently round half-down.
| void GncNumeric::operator*= | ( | GncNumeric | b | ) |
Definition at line 595 of file gnc-numeric.cpp.
| void GncNumeric::operator+= | ( | GncNumeric | b | ) |
Definition at line 583 of file gnc-numeric.cpp.
| void GncNumeric::operator-= | ( | GncNumeric | b | ) |
Definition at line 589 of file gnc-numeric.cpp.
| void GncNumeric::operator/= | ( | GncNumeric | b | ) |
Definition at line 601 of file gnc-numeric.cpp.
| int64_t GncNumeric::round_param::den |
Definition at line 272 of file gnc-numeric.hpp.
| int64_t GncNumeric::round_param::num |
Definition at line 271 of file gnc-numeric.hpp.
| int64_t GncNumeric::round_param::rem |
Definition at line 273 of file gnc-numeric.hpp.