GnuCash  5.6-133-gc519490283+
Gnc_rational_arithmetic_operators

Normal arithmetic operators. More...

Normal arithmetic operators.

The class arithmetic operators are implemented in terms of these operators.

These operators can throw std::overflow_error, std::underflow_error, or std::invalid argument as indicated in the class documentation.

Parameters
aThe right-side operand
bThe left-side operand
Returns
A GncRational computed from the operation.